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
Create a conversation assignment
Creates a new assignment for a WhatsApp conversation
POST
/
whatsapp_conversations
/
{whatsapp_conversation_id}
/
conversation_assignments
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{whatsapp_conversation_id}/conversation_assignments \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"conversation_assignment": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>"
}
}'
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
Body
application/json
Response
201
application/json
Assignment created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{whatsapp_conversation_id}/conversation_assignments \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"conversation_assignment": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notes": "<string>"
}
}'
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.