List chats
GET/v1/chats
Lists your brand’s chats, newest first, one page at a time.
Behavior
- Scoped to your API key’s brand by construction: no parameter names a brand, and another brand’s chats are invisible rather than forbidden.
- Page with
cursor: pass the previous response’snext_cursorback verbatim, and stop when it comes back empty.
Query Parameters
assigned_operator: optional string
Filter by the operator holding the chat; absent means every row, assigned or not.
cursor: optional string
The previous page’s next_cursor, verbatim; absent starts from the first page. Not a cursor this API issued returns HTTP 400 code 1013.
limit: optional number
Page size; absent (or non-numeric) reads as 25, above 100 reads as 100.
formatint32
List chats
curl https://messages.api.linqapp.com/v1/chats \
-H "Authorization: Bearer $LINQ_AMB_API_KEY"{
"data": [
{
"chat_id": "chat_4f81b2",
"state": "open",
"owner": "human_pending",
"customer_handle": "urn:mbid:AQAAY7c1",
"handle_kind": "opaque",
"origin": "customer",
"capabilities": [
"TEXT",
"LIST",
"TIME",
"QUICK"
],
"owner_since": "2026-08-06T14:02:11Z",
"last_inbound_at": "2026-08-06T14:01:58Z",
"updated_at": "2026-08-06T14:02:11Z",
"last_message": {
"actor": "customer",
"at": "2026-08-06T14:01:58Z",
"kind": "text",
"has_attachment": false,
"preview": "I need a human agent"
}
}
],
"next_cursor": "MjAyNi0wOC0wNlQxNDowMTo1OFogY2hhdF80ZjgxYjI"
}Returns Examples
{
"data": [
{
"chat_id": "chat_4f81b2",
"state": "open",
"owner": "human_pending",
"customer_handle": "urn:mbid:AQAAY7c1",
"handle_kind": "opaque",
"origin": "customer",
"capabilities": [
"TEXT",
"LIST",
"TIME",
"QUICK"
],
"owner_since": "2026-08-06T14:02:11Z",
"last_inbound_at": "2026-08-06T14:01:58Z",
"updated_at": "2026-08-06T14:02:11Z",
"last_message": {
"actor": "customer",
"at": "2026-08-06T14:01:58Z",
"kind": "text",
"has_attachment": false,
"preview": "I need a human agent"
}
}
],
"next_cursor": "MjAyNi0wOC0wNlQxNDowMTo1OFogY2hhdF80ZjgxYjI"
}