cURL
curl --request PATCH \ --url https://app.kapso.ai/api/v1/whatsapp_conversations/{conversation_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "whatsapp_conversation": { "status": "ended" } }'
{ "data": { "id": "conversation-202mno", "phone_number": "+1234567890", "status": "active", "last_active_at": "2023-11-07T05:31:56Z", "contact_name": "John Doe", "whatsapp_config_id": "config-123abc" } }
Updates the status of a specific WhatsApp conversation
API key required for all endpoints
WhatsApp conversation updated successfully
The response is of type object.
object
Was this page helpful?