Appsamurai Segment API

Segment management endpoints

Operations 3

GET /external/segment List segments #
POST /external/segment Create segment #
DELETE /external/segment Delete segment #

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/appsamurai-segment-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 email required.

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

OpenAPI Specification

appsamurai-segment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Storyly External Segment API
  version: 1.0.0
  contact: {}
  description: The Storyly External API manages apps, instances, story groups, stories, audiences and segments for Storyly, App Samurai's in-app content experience product. Harvested verbatim from the Storyly ReadMe documentation hub (docs.storyly.io/.well-known/api-catalog -> docs.storyly.io/openapi/68f9ff1ab2a841f03a72b06b).
  x-apievangelist-source: https://docs.storyly.io/openapi/68f9ff1ab2a841f03a72b06b
  x-apievangelist-method: searched
servers:
- url: https://api.storyly.io
tags:
- name: segment
  description: Segment management endpoints
paths:
  /external/segment:
    get:
      tags:
      - segment
      summary: List segments
      description: List all segments for the authenticated account.
      operationId: listSegments
      security:
      - bearerAuth: []
      parameters:
      - name: limit
        in: query
        schema:
          type: string
          example: '1'
        description: required=False, min_value=1, max_value=100
      - name: offset
        in: query
        schema:
          type: string
          example: '0'
        description: required=False, min_value=0
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        account_id:
                          type: number
                          example: 9434
                        is_used:
                          type: boolean
                          example: false
                        label:
                          type: string
                          example: ffdg
                    example:
                    - account_id: 9434
                      is_used: false
                      label: ffdg
                  message:
                    type: string
                    example: Segments successfully listed
                  status:
                    type: string
                    example: ok
              examples:
                '200':
                  value:
                    data:
                    - account_id: 9434
                      is_used: false
                      label: ffdg
                    message: Segments successfully listed
                    status: ok
    post:
      tags:
      - segment
      summary: Create segment
      description: Create a new segment.
      operationId: createSegment
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  example: label_name
            examples:
              Create segment:
                value:
                  label: label_name
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Segments successfully created
                  status:
                    type: string
                    example: ok
              examples:
                '200':
                  value:
                    message: Segments successfully created
                    status: ok
    delete:
      tags:
      - segment
      summary: Delete segment
      description: Delete a segment by label.
      operationId: deleteSegment
      security:
      - bearerAuth: []
      parameters:
      - name: label
        in: query
        schema:
          type: string
          example: label_name
        description: required=True, empty=False
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Segments successfully deleted
                  status:
                    type: string
                    example: ok
              examples:
                '200':
                  value:
                    message: Segments successfully deleted
                    status: ok
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token for API authentication
x-readme:
  explorer-enabled: true
  proxy-enabled: true