Skip to main content
Export messages for a specific account with cursor-based pagination support. Response includes messageType (string), source, and subType fields. The channel parameter is optional - if not provided, all non-email message types will be returned including activity messages (opportunity updates, appointments, etc.).

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Query parameters

string
required
Account ID to filter messages by
number
Number of messages to return per page
string
Cursor for pagination. Pass the nextCursor from previous response to get next page.
string
Field to sort by
string
Sort order
string
Filter messages by conversation ID
string
Filter messages by contact ID
string
Filter by message channel. If not provided, all non-email message types will be returned including activity messages (opportunity updates, appointments, etc.)
string
Start date to filter messages by
string
End date to filter messages by

Respuestas

object[]
required
Array of messages
string
Cursor for fetching next page. Null if no more results.
number
default:"1234"
required
Total number of messages matching the query

Ejemplo