Appcues Segments API

The Segments API from Appcues — 5 operation(s) for segments.

Operations 8

GET /v2/accounts/{account_id}/segments List segments
POST /v2/accounts/{account_id}/segments Create a segment
GET /v2/accounts/{account_id}/segments/{segment_id} Get a segment
PATCH /v2/accounts/{account_id}/segments/{segment_id} Update a segment
DELETE /v2/accounts/{account_id}/segments/{segment_id} Delete a segment
POST /v2/accounts/{account_id}/segments/{segment_id}/add_user_ids Add users to a segment
POST /v2/accounts/{account_id}/segments/{segment_id}/remove_user_ids Remove users from a segment
POST /v2/accounts/{account_id}/segments/{segment_id}/segment_membership_export Export segment membership

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/appcues-segments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

appcues-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Appcues Public Banners Segments API
  version: '2.0'
  description: 'The Appcues Public API exposes programmatic access to Appcues flows,

    mobile experiences, pins, launchpads, banners, checklists, embeds, NPS,

    segments, users, groups, events, and offline jobs. US and EU regions are

    supported. Authentication uses HTTP Basic with an API key as the username

    and API secret as the password.

    '
  contact:
    name: Appcues Developers
    url: https://docs.appcues.com/dev-overview/
servers:
- url: https://api.appcues.com
  description: US region
- url: https://api.eu.appcues.com
  description: EU region
security:
- BasicAuth: []
tags:
- name: Segments
paths:
  /v2/accounts/{account_id}/segments:
    get:
      tags:
      - Segments
      summary: List segments
      parameters:
      - $ref: '#/components/parameters/AccountId'
      responses:
        '200':
          description: OK
    post:
      tags:
      - Segments
      summary: Create a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      responses:
        '201':
          description: Created
  /v2/accounts/{account_id}/segments/{segment_id}:
    get:
      tags:
      - Segments
      summary: Get a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
    patch:
      tags:
      - Segments
      summary: Update a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
    delete:
      tags:
      - Segments
      summary: Delete a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Deleted
  /v2/accounts/{account_id}/segments/{segment_id}/add_user_ids:
    post:
      tags:
      - Segments
      summary: Add users to a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
  /v2/accounts/{account_id}/segments/{segment_id}/remove_user_ids:
    post:
      tags:
      - Segments
      summary: Remove users from a segment
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
  /v2/accounts/{account_id}/segments/{segment_id}/segment_membership_export:
    post:
      tags:
      - Segments
      summary: Export segment membership
      parameters:
      - $ref: '#/components/parameters/AccountId'
      - name: segment_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Accepted
components:
  parameters:
    AccountId:
      name: account_id
      in: path
      required: true
      description: Appcues account identifier
      schema:
        type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using API_KEY as username and API_SECRET as password.