v1
latestOpenAPI 3.0.02026-07-2612645160.3 KBContact
Retrieve messages by conversation
Replaces the old endpoint /public/ai-message/whatsapp/:channelIdentifier
get/api/public/contact/whatsapp/{channelIdentifier}/messages
Path parameters
channelIdentifierstring required
Channel identifier (for WhatsApp, it’s the phone number). Requires "phone-number-channel" and "channel" as query parameters.
Query parameters
phone-number-channelstring required
Your phone number
channel'whatsapp' | 'web-whatsapp' required
Channel type
Headers
x-api-keystring required
API key required to authorize the request
Response
Messages retrieved successfully.