cURL
curl --request GET \ --url https://app.kapso.ai/api/v1/whatsapp_conversations/{conversation_id}/whatsapp_messages \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "phone_number": "<string>", "message_type": "text", "content": "<string>", "direction": "inbound", "status": "<string>", "processing_status": "pending", "whatsapp_message_id": "<string>", "metadata": {}, "media_url": "<string>", "message_type_data": { "text": "<string>" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "meta": { "page": 123, "per_page": 123, "total_pages": 123, "total_count": 123 } }
Returns a list of messages for a specific WhatsApp conversation
API key required for all endpoints
x >= 1
1 <= x <= 100
A list of WhatsApp messages
The response is of type object.
object
Was this page helpful?