curl --request PATCH \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/notes/{note_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"note": {
"name": "<string>",
"content": "<string>",
"metadata": {}
}
}'
{
"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"
}
}
Update a specific note for a WhatsApp contact
curl --request PATCH \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier}/notes/{note_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"note": {
"name": "<string>",
"content": "<string>",
"metadata": {}
}
}'
{
"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"
}
}
API key required for all endpoints
Contact ID (UUID) or phone number
"contact-789ghi or 1234567890"
Note ID
Successful response
The response is of type object
.
Was this page helpful?