Get a chat
GET/v1/chats/{chat}
Retrieves a chat, including the customer’s per-category consent and whether a send would currently be refused.
Get a chat
curl https://messages.api.linqapp.com/v1/chats/$CHAT \
-H "Authorization: Bearer $LINQ_AMB_API_KEY"{
"id": "chat_4f81b2",
"state": "open",
"owner": "partner",
"capabilities": [
"TEXT",
"LIST",
"TIME",
"QUICK",
"FORM"
],
"customer_handle": "urn:mbid:AQAAY7c1",
"handle_kind": "opaque",
"origin": "customer",
"owner_since": "2026-08-06T14:02:11Z",
"last_inbound_at": "2026-08-06T14:01:58Z",
"updated_at": "2026-08-06T14:02:11Z",
"capabilities_announced_at": "2026-08-06T14:01:58Z",
"consent": {
"marketing": {
"state": "granted"
},
"account_notification": {
"state": "granted"
}
},
"brand": {
"id": "biz_9f2c1a",
"display_name": "CurbFare"
},
"send_blocked": {
"blocked": false,
"code": 0,
"message": ""
}
}Returns Examples
{
"id": "chat_4f81b2",
"state": "open",
"owner": "partner",
"capabilities": [
"TEXT",
"LIST",
"TIME",
"QUICK",
"FORM"
],
"customer_handle": "urn:mbid:AQAAY7c1",
"handle_kind": "opaque",
"origin": "customer",
"owner_since": "2026-08-06T14:02:11Z",
"last_inbound_at": "2026-08-06T14:01:58Z",
"updated_at": "2026-08-06T14:02:11Z",
"capabilities_announced_at": "2026-08-06T14:01:58Z",
"consent": {
"marketing": {
"state": "granted"
},
"account_notification": {
"state": "granted"
}
},
"brand": {
"id": "biz_9f2c1a",
"display_name": "CurbFare"
},
"send_blocked": {
"blocked": false,
"code": 0,
"message": ""
}
}