Skip to main content
GET
List chats

Authorizations

Authorization
string
header
default:YOUR_API_TOKEN
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

after_id
string

Cursor for pagination. Use this to fetch chats after a specific chat ID.

Pattern: ^\d+$
limit
integer

Maximum number of chats to return. Defaults to 20 if not specified.

Required range: 1 <= x <= 100
order
enum<string>

Sort order for the chats. 'asc' for oldest first, 'desc' for newest first. Defaults to 'desc'.

Available options:
asc,
desc

Response

Success

object
enum<string>
required
Available options:
list
data
object[]
required