curl --request POST \
--url http://localhost:8080/api/v1/contacts/{id}/notes \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"note": "<string>"
}'
{
"status": "success",
"data": {
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"contact_id": 1,
"note": "Customer prefers email communication",
"user_id": 1,
"first_name": "John",
"last_name": "Doe",
"avatar_url": "/avatars/agent1.jpg"
}
}
curl --request POST \
--url http://localhost:8080/api/v1/contacts/{id}/notes \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"note": "<string>"
}'
{
"status": "success",
"data": {
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"contact_id": 1,
"note": "Customer prefers email communication",
"user_id": 1,
"first_name": "John",
"last_name": "Doe",
"avatar_url": "/avatars/agent1.jpg"
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Note details
The body is of type object
.
Contact note created successfully
The response is of type object
.
Was this page helpful?