Listar mensagens
Retorna uma lista paginada de mensagens. Filtre por número, direção, status, remetente ou destinatário.
Authentication
AuthorizationBearer
API Key in the format mk_live_<43-chars>. Obtain from the Dashboard or POST /auth/api-keys.
Query parameters
number_id
Filtrar por ID do número do WhatsApp
direction
Filter by message direction
Allowed values:
status
Filter by delivery status (e.g., sent, delivered, read, failed)
toContact
Filter by recipient contact (phone or BSUID)
fromContact
Filter by sender contact (phone or BSUID)
limit
Maximum number of records to return (1-100, default 20)
offset
Number of records to skip for pagination (default 0)
Response
Default Response
data
Array of message records
pagination
Pagination metadata
Errors
401
Unauthorized Error