Get all messages for a specific chat

Changed on
get/api/v1beta/chats/{chat_id}/messages

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Path parameters

chat_idstring required

The ID of the chat to get messages for

Query parameters

limitinteger

Maximum number of messages to return per page. Defaults to 100 if not provided. Larger values may impact performance.

offsetinteger

Number of messages to skip for pagination. Defaults to 0 if not provided.

Response

Successfully retrieved messages with pagination metadata

Changes

    • info

      added the optional property // to the response with the status

    • breaking

      added subschema #1 to the /// response property oneOf list for the response status