DevelopersAPI referenceChats
List chats
The account's chats, the most recently discovered first; `fresh=true` reads the list first. A section whose Read is off in the account's Settings answers `fresh=true` with 409 `read_off` (`section`, `settings_url`, no `retry_after`); `GET /v1/accounts/{account_id}` lists such sections in `reads_off`. Without `fresh`, a page whose chats Read is off says `meta.freshness.list_state: "read_off"`.
Path Parameters
account_id*Account Id
Length
length <= 64Query Parameters
limit?Limit
Range
1 <= value <= 1000Default
200cursor?|null
fresh?Fresh
Default
falsewait?|null
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/accounts/string/chats"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}