List messages
List messages for the WhatsApp account identified by phone_number_id. Filter by conversation_id, direction, status, or a created_after/created_before window.
Request
- Base URL: https://api.kirimdev.com/v1
- URL: https://api.kirimdev.com/v1/{phone_number_id}/messages
- Auth: HTTP bearer
Path parameters
Meta WhatsApp Business phone_number_id of the connected account that should send / own this resource. Discoverable via GET /v1/accounts (returned as phone_number_id on each row).
Query parameters
Return messages from one public inbox conversation. Unknown or cross-account IDs produce an empty list.
Filter messages received from contacts (inbound) or sent by your business (outbound).
Filter by the latest persisted delivery state.
Return messages created strictly after this ISO 8601 instant.
Return messages created strictly before this ISO 8601 instant.
Number of items to return. Defaults to 25; minimum 1 and maximum 100.
Opaque continuation token from the previous response's next_cursor. Pass it unchanged and keep all other filters the same.
Response
Message list
Example response
{
"data": [
{
"id": "msg_01HXYZABCDEFGHJKMNPQRSTVWX",
"unsupported": {
"type": "edit"
}
}
],
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}Changes
No recorded changes to this operation across all 1 revision of this API.