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
WhatsApp Contact Notes
Create a note for a WhatsApp contact
Create a new note for a specific WhatsApp contact
POST
/
whatsapp_contacts
/
{identifier}
/
notes
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/notes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"note": {
"name": "Customer Preference",
"content": "Prefers morning deliveries between 9-11 AM",
"metadata": {}
}
}'
Copy
{
"data": {
"id": "note-123abc",
"name": "Customer Preference",
"content": "Prefers morning deliveries between 9-11 AM",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Authorizations
API key required for all endpoints
Path Parameters
Contact ID (UUID) or phone number
Example:
"contact-789ghi or 1234567890"
Body
application/json
Response
201
application/json
Note created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/notes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"note": {
"name": "Customer Preference",
"content": "Prefers morning deliveries between 9-11 AM",
"metadata": {}
}
}'
Copy
{
"data": {
"id": "note-123abc",
"name": "Customer Preference",
"content": "Prefers morning deliveries between 9-11 AM",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.