Skip to main content
Get messages by conversation id.

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.

Path parameters

string
default:"tDtDnQdgm2LXpyiqYvZ6"
required
Conversation ID as string

Query parameters

string
default:"tDtDnQdgm2LXpyiqYvZ6"
Message ID of the last message in the list as a string
number
default:"20"
Number of messages to be fetched from the conversation. Default limit is 20
string
default:"TYPE_SMS,TYPE_CALL"
Types of message to fetched separated with comma

Respuestas

string
default:"p1mRSHeLDhAms5q0LMr4"
required
Id of the last message in the messages array
boolean
default:"True"
required
Next page value true indicates only 20 message is in the response. Rest of the messages are in the next page. Please use the lastMessageId value in the query to get the next page messages
object[]
required
Array of messages

Ejemplo