Skip to main content
POST

Authorizations

token
string
header
required

Body

application/json
id
string

Specific message ID for exact search

Example:

"user123:r3EB0538"

chatid
string

Chat ID in international format

Example:

"5511999999999@s.whatsapp.net"

messageType
string

Message type. Use call with limit and offset for the call history.

Example:

"call"

track_source
string

Tracking source to filter messages

Example:

"chatwoot"

track_id
string

Tracking ID to filter messages

Example:

"msg_123456789"

limit
integer
default:100

Maximum number of messages to return (default 100, no maximum). For many messages, prefer pages of up to 1000 and advance with pagination.nextOffset.

Required range: x >= 1
Example:

20

offset
integer
default:0

Offset for pagination (0 returns the most recent messages)

Response

List of found messages with pagination metadata

messages
object[]
pagination
object

Page data, as in the other lists, without totalRecords (counting the messages would be costly on every page).