> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open.cx/llms.txt
> Use this file to discover all available pages before exploring further.

> List the most recent replies to a sequence, newest first, with the inbox session each one started. Previews require a key that may read conversations.

# List the most recent replies to a sequence



## OpenAPI

````yaml get /sequences/{sequenceId}/replies
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: http://localhost:8080
    description: Development
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /sequences/{sequenceId}/replies:
    get:
      summary: List the most recent replies to a sequence
      description: >-
        Who answered, newest first, with the inbox session each reply started.
        Each reply carries a short preview of what the contact said — but only
        for a key that may read conversations (chat-sessions:read); without it
        the preview is null.
      operationId: listSequenceReplies
      parameters:
        - schema:
            default: 5
            type: integer
            minimum: 1
            maximum: 50
          in: query
          name: limit
          required: false
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: sequenceId
          required: true
          description: The unique identifier of the sequence
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SequenceRepliesDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    SequenceRepliesDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SequenceRepliesDto'
      type: object
      properties:
        replies:
          type: array
          items:
            type: object
            properties:
              session_id:
                type: string
                description: The inbox session this reply started.
              ticket_number:
                type: number
                description: What the inbox routes on.
              contact_id:
                anyOf:
                  - type: string
                  - type: 'null'
              contact_name:
                anyOf:
                  - type: string
                  - type: 'null'
                description: Null when the contact row is gone or simply unnamed.
              contact_avatar_url:
                anyOf:
                  - type: string
                  - type: 'null'
              step_index:
                anyOf:
                  - type: number
                  - type: 'null'
                description: >-
                  Which step they answered; null when the stamp carried no
                  usable one.
              preview:
                anyOf:
                  - type: string
                  - type: 'null'
                description: >-
                  The opening line of what they said, truncated. Null when the
                  caller may not read transcripts (needs the sessions capability
                  / chat-sessions scope), or when the reply carried no text at
                  all.
              at:
                type: string
                description: When they answered (ISO 8601).
            required:
              - session_id
              - ticket_number
              - contact_id
              - contact_name
              - contact_avatar_url
              - step_index
              - preview
              - at
            additionalProperties: false
      required:
        - replies
      additionalProperties: false
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````