List messages from a chat

Returns a page of messages from the given chat, ordered from newest to oldest. Pages backwards through history: pass the returned page's next_cursor back via the cursor query parameter to fetch the messages sent before the last one on this page.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Globally unique identifier for a chat; a c- prefixed string.

Query Params
int32
1 to 150
Defaults to 50

The number of items to return per page, between 1 and 150.

string

Pagination cursor token. Pass the next_cursor from a previous page to fetch the next one.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json