Pendo.io Segment API

The Segment API from Pendo.io — 10 operation(s) for segment.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/segment List all shared segments · Get All Shared (Everyone) Segments #
Ask an LLM
“Which segments are shared with everyone in my account?”
“Can I see every shared segment at once?”
Tell an agent
List all shared segments.
Show every segment shared with everyone.
GET /api/v1/segment/{id} Get a segment by ID · Get Segment by segmentId #
Ask an LLM
“How do I look up one segment by its ID?”
“What does a specific segment contain?”
Tell an agent
Get segment {id}.
Show the details of segment {id}.
POST /api/v1/segment/{segmentId}/visitors Start a segment visitor export · Start export of segment visitors #
Ask an LLM
“How do I export the visitors in a segment?”
“Can I download segment members as a file?”
Tell an agent
Start a visitor export for segment {segmentId}.
Export the visitors in segment {segmentId}.
GET /api/v1/segment/{segmentId}/visitors/{jobId}/status Check a segment export job · Check segment export status #
Ask an LLM
“Has my segment visitor export finished?”
“What status is a segment export job in?”
Tell an agent
Check the status of export job {jobId} for segment {segmentId}.
Tell me whether segment {segmentId} export job {jobId} is done.
GET /api/v1/segment/{segmentId}/visitors/{jobId}/results/{contentType} Download segment export results · Retrieve segment export results #
Ask an LLM
“Where do I download the exported segment visitors?”
“Can I get a segment export as CSV or JSON?”
Tell an agent
Download segment {segmentId} export {jobId} as {contentType}.
Get the {contentType} results of export {jobId} for segment {segmentId}.
POST /api/v1/segment/upload Create a segment · Create a segment #
Ask an LLM
“How do I create a new segment?”
“Can I upload segment criteria to make a segment?”
Tell an agent
Create a segment from my uploaded criteria.
Make a new segment with the segment upload.
GET /api/v1/segment/{segmentId}/status Check a segment's status · Get segment status #
Ask an LLM
“Is my segment ready to use?”
“What status is a segment in?”
Tell an agent
Get the status of segment {segmentId}.
Tell me whether segment {segmentId} is ready.
PUT /api/v1/segment/{segmentId} Update a segment · Update a segment #
Ask an LLM
“How do I change an existing segment?”
“Can I edit a segment's definition?”
Tell an agent
Update segment {segmentId}.
Edit the definition of segment {segmentId}.
DELETE /api/v1/segment/{segmentId} Delete a segment · Delete a segment #
Ask an LLM
“How do I delete a segment?”
“Can I remove a segment I no longer need?”
Tell an agent destructive · confirm first
Delete segment {segmentId}.
Remove segment {segmentId} from my account.
PUT /api/v1/segment/{segmentId}/visitor/{visitorId} Add a visitor to a segment · Add a visitor to a segment #
Ask an LLM
“How do I add a single visitor to a segment?”
“Can I include one user in a segment?”
Tell an agent
Add visitor {visitorId} to segment {segmentId}.
Include user {visitorId} in segment {segmentId}.
DELETE /api/v1/segment/{segmentId}/visitor/{visitorId} Remove a visitor from a segment · Remove a visitor from a segment #
Ask an LLM
“How do I take a visitor out of a segment?”
“Can I exclude one user from a segment?”
Tell an agent destructive · confirm first
Remove visitor {visitorId} from segment {segmentId}.
Exclude user {visitorId} from segment {segmentId}.
PATCH /api/v1/segment/{segmentId}/visitor Add or remove many visitors from a segment · Add/remove small batches of visitors to a segment #
Ask an LLM
“How do I add or remove several visitors from a segment at once?”
“Can I bulk update segment membership?”
Tell an agent
Bulk add or remove visitors from segment {segmentId}.
Update many segment members in segment {segmentId} in one request.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pendoio:pendoio-segment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pendoio-segment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pendo Engage Segment API
  description: Pendo's Engage API provides programmatic access to product analytics and in-app guide data collected by the Pendo agent. It includes resource endpoints for pages, features, track events, guides, visitors, accounts, segments, reports, and metadata, plus a powerful Aggregation API that runs MongoDB-like structured queries over collected events. Authentication uses a per-subscription integration key passed in the x-pendo-integration-key header.
  version: v1
  contact:
    name: Pendo Developers
    url: https://developers.pendo.io/
  x-source: https://engageapi.pendo.io/ (public Postman collection 16265887/Tzm6jvKG)
servers:
- url: https://app.pendo.io
  description: US (default)
- url: https://us1.app.pendo.io
  description: US1
- url: https://app.eu.pendo.io
  description: EU
- url: https://app.au.pendo.io
  description: AU/APAC
- url: https://app.jpn.pendo.io
  description: Japan
security:
- IntegrationKey: []
tags:
- name: Segment
paths:
  /api/v1/segment:
    get:
      operationId: getAllSharedEveryoneSegments
      summary: Get All Shared (Everyone) Segments
      tags:
      - Segment
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{id}:
    get:
      operationId: getSegmentBySegmentid
      summary: Get Segment by segmentId
      tags:
      - Segment
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/visitors:
    post:
      operationId: startExportOfSegmentVisitors
      summary: Start export of segment visitors
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/visitors/{jobId}/status:
    get:
      operationId: checkSegmentExportStatus
      summary: Check segment export status
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/visitors/{jobId}/results/{contentType}:
    get:
      operationId: retrieveSegmentExportResults
      summary: Retrieve segment export results
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      - name: contentType
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/upload:
    post:
      operationId: createASegment
      summary: Create a segment
      tags:
      - Segment
      requestBody:
        content:
          application/json:
            example:
              name: EnterYourSegmentName
              visitors:
              - visitor1
              - visitor2
              - visitor3
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/status:
    get:
      operationId: getSegmentStatus
      summary: Get segment status
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}:
    put:
      operationId: updateASegment
      summary: Update a segment
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              name: EnterYourSegmentName
              visitors:
              - visitor1
              - visitor2
              - visitor3
      responses:
        '200':
          description: Successful response
    delete:
      operationId: deleteASegment
      summary: Delete a segment
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/visitor/{visitorId}:
    put:
      operationId: addAVisitorToASegment
      summary: Add a visitor to a segment
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      - name: visitorId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
    delete:
      operationId: removeAVisitorFromASegment
      summary: Remove a visitor from a segment
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      - name: visitorId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /api/v1/segment/{segmentId}/visitor:
    patch:
      operationId: addRemoveSmallBatchesOfVisitorsToASegment
      summary: Add/remove small batches of visitors to a segment
      tags:
      - Segment
      parameters:
      - name: segmentId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              patch:
              - op: add
                path: /visitors
                value:
                - visitor3
                - visitor4
              - op: remove
                path: /visitors
                value:
                - visitor1
                - visitor2
      responses:
        '200':
          description: Successful response
components:
  securitySchemes:
    IntegrationKey:
      type: apiKey
      in: header
      name: x-pendo-integration-key
      description: Pendo integration key, created at https://app.pendo.io/admin/integrationkeys