General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contact Notes
Agent Snapshots
Conversation Assignments
Update a conversation assignment
Updates an existing conversation assignment (e.g., notes, user, active status)
PATCH
/
whatsapp_conversations
/
{whatsapp_conversation_id}
/
conversation_assignments
/
{id}
Copy
curl --request PATCH \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{whatsapp_conversation_id}/conversation_assignments/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"conversation_assignment": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>",
"active": true
}
}'
Copy
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"active": true,
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
Authorizations
API key required for all endpoints
Path Parameters
ID of the WhatsApp conversation
ID of the conversation assignment
Body
application/json
Response
200
application/json
Assignment updated successfully
The response is of type object
.
Copy
curl --request PATCH \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{whatsapp_conversation_id}/conversation_assignments/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"conversation_assignment": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>",
"active": true
}
}'
Copy
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"active": true,
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
Assistant
Responses are generated using AI and may contain mistakes.