Inbox
GET
/inbox/chats

Ordered by most recent activity. With replied=true, ordered by the lead's most recent reply instead; threads stored before reply tracking have no recorded reply time and sort last.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings → API & Webhooks.

In: header

Query Parameters

limit?integer

Page size, 1–100.

Range1 <= value <= 100
Default50
offset?integer

Number of records to skip.

Range0 <= value
Default0
replied?string

true returns only threads where the lead has sent at least one message, false only those still awaiting a first reply. Omit for all.

Value in

  • "true"
  • "false"

Response Body

application/json

application/json

curl -X GET "https://example.com/inbox/chats"
{  "data": [    {      "id": "string",      "accountId": "string",      "attendee": {},      "leadId": "string",      "lastMessage": {},      "lastMessageAt": "2019-08-24T14:15:22Z",      "lastReplyAt": "2019-08-24T14:15:22Z",      "unreadCount": 0,      "favorite": true,      "archived": true,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "paging": {    "limit": 0,    "offset": 0  }}