Authorizations
Path Parameters
Body
application/json
Response
Conversation updated
curl --request PATCH \
--url https://api.kapso.ai/platform/v1/whatsapp/conversations/{conversation_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"whatsapp_conversation": {
"status": "ended"
}
}'{
"data": {
"id": "c63ced48-1283-4d55-8c8d-930f525aa0e5",
"phone_number": "14155550123",
"status": "ended",
"last_active_at": "2025-07-16T09:45:00Z",
"created_at": "2025-06-01T12:00:00Z",
"updated_at": "2025-07-16T09:45:00Z",
"whatsapp_config_id": "4a5b6c7d-8e9f-0a1b-2c3d-4e5f6a7b8c9d",
"metadata": {},
"phone_number_id": "1234567890",
"kapso": {
"contact_name": "Alicia",
"messages_count": 42,
"last_message_id": "wamid.HBgMMTIzNDU2",
"last_message_type": "text",
"last_message_timestamp": "2025-07-16T09:40:00Z",
"last_message_text": "Thanks!",
"last_inbound_at": "2025-07-16T09:35:10Z",
"last_outbound_at": "2025-07-16T09:40:00Z"
}
}
}Close completed conversations or reopen them for follow-ups.
curl --request PATCH \
--url https://api.kapso.ai/platform/v1/whatsapp/conversations/{conversation_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"whatsapp_conversation": {
"status": "ended"
}
}'{
"data": {
"id": "c63ced48-1283-4d55-8c8d-930f525aa0e5",
"phone_number": "14155550123",
"status": "ended",
"last_active_at": "2025-07-16T09:45:00Z",
"created_at": "2025-06-01T12:00:00Z",
"updated_at": "2025-07-16T09:45:00Z",
"whatsapp_config_id": "4a5b6c7d-8e9f-0a1b-2c3d-4e5f6a7b8c9d",
"metadata": {},
"phone_number_id": "1234567890",
"kapso": {
"contact_name": "Alicia",
"messages_count": 42,
"last_message_id": "wamid.HBgMMTIzNDU2",
"last_message_type": "text",
"last_message_timestamp": "2025-07-16T09:40:00Z",
"last_message_text": "Thanks!",
"last_inbound_at": "2025-07-16T09:35:10Z",
"last_outbound_at": "2025-07-16T09:40:00Z"
}
}
}Show child attributes
Conversation updated
Show child attributes
Was this page helpful?