Add note
POST
/api/v1/ext/contacts/{id}/notes
Add a note to a contact.
Auth: Bearer access_token
Scope: contacts.write
A note is up to 2000 characters. All of a contact's notes together are capped at 5000 characters; a note that would go over is refused with 409 rather than cut.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | The contact id. |
| text | body | string | yes | The note. |
Responses
| Status | When |
|---|---|
201 | Created |
400 | No text |
401 | Missing or invalid token |
403 | Missing scope |
404 | Contact does not exist or is not owned by the installer (same response for both) |
409 | The contact's notes are full |
RequestResponses
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/notes" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"text": "Prefers WhatsApp after 5pm"
}'Created
{
"success": true,
"message": "Note added",
"data": {
"id": "1761555000000",
"text": "Prefers WhatsApp after 5pm",
"created_at": "2026-10-27T08:50:00.000Z"
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The contact id.
Body (JSON)
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D/notes
Previous
« List notes
Next
Delete note »
