v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Messaging

List all messages for a given attendee

Returns a list of messages where a given attendee is involved.

get/api/v1/chat_attendees/{sender_id}/messages

Path parameters

sender_idstring required

The Unipile ID OR provider_id of the attendee.

Query parameters

cursorstring

A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.

beforestring

A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).

Example:2025-12-31T23:59:59.999Z
afterstring

A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).

Example:2025-12-31T23:59:59.999Z
limitinteger

A limit for the number of items returned in the response. The value can be set between 1 and 250.

Example:100
account_idstring

An Unipile account id or a list of Unipile account ids separated by commas.

A filter to target items related to a certain account. Can be a comma-separated list of ids.

Response

OK. Request succeeded.

object'MessageList' required