WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

List messages in a chat

GET/api/linkedin/gateway/chats/{chat_id}/messages

Returns the messages in a chat, newest-related metadata included — sender, timestamp, read/edit/delete state, reactions, and any attachments.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
chat_id *stringThe chat to list messages from.

Query parameters

FieldTypeDescription
account_id *stringThe connected account this chat belongs to.
limitintegerItems per page, 1–250. Defaults to a moderate page size.
cursorstringPass the previous response's cursor to page forward.
beforestringISO 8601 datetime — only messages sent before this.
afterstringISO 8601 datetime — only messages sent after this.
sender_idstringOnly messages sent by this attendee.

Response fields

FieldTypeDescription
items[].message_idstringUnique id of the message.
items[].sender_idstringThe sending attendee's id.
items[].textstring | nullThe message body, or null for attachment-only / event messages.
items[].timestampstringISO 8601 send time.
items[].attachmentsarrayImages, files, links and other rich content attached to the message.
cursorstring | nullPass to the next call's cursor param to keep paging.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. The account_id doesn't belong to this key.·404 Not Found. No chat with that id belongs to this account.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl "https://api.warmably.com/api/linkedin/gateway/chats/9c5e1a2b-.../messages?account_id=459993d2-b0e7-4b19-baf9-45252ca324cf&limit=50" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "MessageList",
  "items": [
    {
      "object": "Message",
      "message_id": "d4a1...-...",
      "sender_id": "ACoAAA...",
      "text": "Sounds good, talk soon!",
      "timestamp": "2026-04-28T15:27:08.000Z",
      "is_sender": 1,
      "attachments": []
    }
  ],
  "cursor": null
}
No key yet? Create one from Dashboard → API Keys.