API Reference/Endpoints
List an attendee's messages
GET/api/linkedin/gateway/chat_attendees/{sender_id}/messages
Lists every message a given attendee has sent, across all of their chats — a way to pull one person's side of the conversation without walking each chat individually.
Authentication
Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.
Path parameters
FieldTypeDescription
sender_id *stringThe attendee's id, or their id on the underlying provider.
Query parameters
FieldTypeDescription
account_id *stringThe connected account this attendee belongs to. Must belong to the calling key.
beforestringOnly return messages sent before this ISO 8601 datetime.
afterstringOnly return messages sent after this ISO 8601 datetime.
limitintegerPage size, from 1 to 250. Defaults to 100.
cursorstringPass back the cursor from a previous response to fetch the next page.
Response fields
FieldTypeDescription
itemsarrayThe page of messages sent by this attendee, most recent first.
items[].chat_idstringWhich chat the message was sent in.
items[].textstring | nullThe message body.
items[].message_typestringOne of MESSAGE, INVITATION, an INMAIL variant, STORY_MENTION, CONTACT.
cursorstring | nullPass as the cursor query parameter to fetch the next page. Null once there are no more.
Errors
·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. account_id doesn't belong to this key.·404 Not Found. No attendee exists with that id on that account.