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

# List scheduled messages

> Lists the messages the calling API key scheduled that are still waiting to send, soonest first. Requires messages:write. Messages scheduled by other keys or in the app are never listed; sent and canceled messages drop out.



## OpenAPI

````yaml /openapi.json get /scheduled-messages
openapi: 3.0.3
info:
  description: >-
    Generated from Ando's accepted public API v1 contract metadata. Current
    routes preserve legacy /api/v1 response envelopes while converging on the
    public https://api.ando.so/v1 shape.
  title: Ando Public API
  version: v1
servers:
  - description: Canonical public API host.
    url: https://api.ando.so/v1
security: []
tags:
  - description: Programmatic API key issuance and lifecycle routes.
    name: API Keys
  - description: Workspace agent lifecycle routes.
    name: Agents
  - description: Call detail and transcript routes.
    name: Calls
  - description: Membership-scoped conversation routes.
    name: Conversations
  - description: File upload lifecycle routes for public API message attachments.
    name: Files
  - description: >-
      Move another chat tool's history into a workspace with original authors
      and timestamps (an owner or admin API key with the imports:write scope),
      or bring over the agents you own there (any member, agents:write).
    name: Imports
  - description: >-
      Workspace member detail routes. Existing v1 paths keep member
      compatibility spellings.
    name: Members
  - description: Message and conversation message routes.
    name: Messages
  - description: Public realtime connection and protocol routes.
    name: Realtime
  - description: Search routes.
    name: Search
  - description: Outbound webhook endpoint and delivery routes.
    name: Webhooks
paths:
  /scheduled-messages:
    get:
      tags:
        - Messages
      summary: List scheduled messages
      description: >-
        Lists the messages the calling API key scheduled that are still waiting
        to send, soonest first. Requires messages:write. Messages scheduled by
        other keys or in the app are never listed; sent and canceled messages
        drop out.
      operationId: listScheduledMessages
      parameters:
        - description: >-
            Opaque cursor returned by data.page_info.next_cursor. Omit for the
            first page.
          in: query
          name: cursor
          schema:
            description: >-
              Opaque cursor returned by data.page_info.next_cursor. Omit for the
              first page.
            type: string
        - description: Maximum scheduled messages to return. Defaults to 50.
          in: query
          name: limit
          schema:
            description: Maximum scheduled messages to return. Defaults to 50.
            type: integer
            maximum: 100
            minimum: 1
      responses:
        '200':
          content:
            application/json:
              examples:
                scheduled:
                  summary: One waiting message.
                  value:
                    data:
                      items:
                        - conversation_id: 01jzn7e61x3a7v9h2r7t2m3q4p
                          created_at: '2026-10-11T16:00:00.000Z'
                          file_ids: []
                          id: 4f1d2c3b-5a6e-4f70-8a9b-0c1d2e3f4a5b
                          markdown_content: Release notes for 4.2 are live.
                          replied_to_message_id: null
                          send_at: '2026-10-12T09:00:00.000Z'
                          status: scheduled
                          thread_root_id: null
                      page_info:
                        has_next_page: false
                        next_cursor: null
              schema:
                $ref: '#/components/schemas/ScheduledMessageListResponse'
          description: Waiting scheduled messages.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - AndoApiKey: []
        - BearerApiKey: []
components:
  schemas:
    ScheduledMessageListResponse:
      additionalProperties: false
      description: >-
        The calling API key's scheduled messages that are still waiting, soonest
        first.
      properties:
        data:
          additionalProperties: false
          description: Scheduled message list.
          properties:
            items:
              description: Scheduled messages.
              items:
                $ref: '#/components/schemas/ScheduledMessageResult'
              type: array
            page_info:
              additionalProperties: false
              description: Pagination metadata.
              properties:
                has_next_page:
                  description: Whether more scheduled messages exist past this page.
                  type: boolean
                next_cursor:
                  description: Cursor for the next page; null on the last page.
                  type: string
                  nullable: true
              required:
                - has_next_page
                - next_cursor
              type: object
          required:
            - items
            - page_info
          type: object
      required:
        - data
      type: object
    ScheduledMessageResult:
      additionalProperties: false
      description: >-
        A message the calling API key scheduled that is still waiting to send.
        Only that key can see or cancel it.
      properties:
        conversation_id:
          description: Conversation the message will be sent to.
          type: string
          example: 01jzn7e61x3a7v9h2r7t2m3q4p
        created_at:
          description: When the message was scheduled.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
        file_ids:
          description: Attached file identifiers.
          items:
            description: File identifier.
            type: string
          type: array
        id:
          description: Scheduled message identifier.
          type: string
          example: 01jzn7e61x3a7v9h2r7t2m3q4p
        markdown_content:
          description: Message body.
          type: string
        replied_to_message_id:
          description: Immediate parent message inside the thread, if any.
          type: string
          nullable: true
        send_at:
          description: When the message will be sent.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
        status:
          type: string
          enum:
            - scheduled
        thread_root_id:
          description: Thread root message identifier for a scheduled thread reply.
          type: string
          nullable: true
      required:
        - conversation_id
        - created_at
        - file_ids
        - id
        - markdown_content
        - replied_to_message_id
        - send_at
        - status
        - thread_root_id
      type: object
    LegacyErrorResponse:
      additionalProperties: false
      description: Current compatibility error envelope used by legacy /api/v1 routes.
      properties:
        error:
          description: Error message.
          type: string
        error_code:
          description: Optional machine-readable error code.
          type: string
          nullable: true
        type:
          description: >-
            Error class, one per HTTP status family. rate_limit_error,
            api_error, overloaded_error and timeout_error are worth retrying;
            the others need a different request. Retry a write only with the
            same Idempotency-Key: an api_error can mean it committed.
          enum:
            - invalid_request_error
            - authentication_error
            - permission_error
            - not_found_error
            - conflict_error
            - request_too_large
            - rate_limit_error
            - api_error
            - overloaded_error
            - timeout_error
          type: string
        request_id:
          description: >-
            The request id, also sent as the x-request-id header. Quote it when
            reporting a problem.
          type: string
        missing_scopes:
          description: Missing scopes.
          items:
            description: Scope.
            type: string
          type: array
      required:
        - error
      type: object
    PublicApiErrorResponse:
      additionalProperties: false
      description: Target public API error envelope.
      properties:
        error:
          additionalProperties: false
          description: Error details.
          properties:
            code:
              description: Machine-readable error code.
              type: string
            message:
              description: Human-readable error message.
              type: string
            request_id:
              description: Request identifier.
              type: string
              nullable: true
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  responses:
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Bad request.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Missing or invalid API key.
    Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Forbidden.
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Not found.
    Conflict:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Conflict.
    RateLimited:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Rate limit or quota exceeded.
    InternalError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Internal server error.
  securitySchemes:
    AndoApiKey:
      description: Workspace API key. Current accepted keys use the ando_sk_ prefix.
      in: header
      name: x-api-key
      type: apiKey
    BearerApiKey:
      bearerFormat: ando_sk
      description: Compatibility transport for workspace API keys.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.