Create Contact Note
POST/accounts/:account_id/contacts/:contact_id/notes
Add an internal note about a contact.
Internal notes that agents write about a contact. They are not visible to the contact. The caller becomes the note's author (user).
| Action | Method | Path |
|---|---|---|
| Create a note | POST | /api/v1/accounts/{account_id}/contacts/{contact_id}/notes |
Authorization: user token. Listing requires the Retrieve Contact permission (new rules: Contacts → read). Creating, updating and deleting require the Update Contact permission (new rules: Contacts → update). Legacy roles: any agent. Agent-bot tokens: not allowed.
Body parameters (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
note.content | string | Yes | Note text. |
Example: create a note
curl -X POST 'https://online.99digital.co.il/api/v1/accounts/12/contacts/801/notes' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{ "note": { "content": "Customer asked for a callback about order A-1001." } }'
Response (200 OK). user is the author, as an agent object, shown here truncated. account_id and contact_id are always null in this response.
{
"id": 71,
"content": "Customer asked for a callback about order A-1001.",
"account_id": null,
"contact_id": null,
"user": {
"id": 51,
"account_id": 12,
"availability_status": "online",
"name": "Jane Agent",
"available_name": "Jane Agent",
"email": "jane.agent@example.com",
"role": "General Manager",
"thumbnail": ""
},
"created_at": 1794470700,
"updated_at": 1794470700
}
Request
Responses
- 200
- 401
- 403
- 404
The new note.
The access token is missing or wrong, or its user does not belong to this account.
The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See Authorization.
The resource does not exist in this account.