Edit a note
PATCH/v1/contacts/{address}/notes/{note_id}
- Scope
messages:send
Only the note's author can edit it.
Parameters
Path
addressstringrequiredThe person's phone number or email, URL-encoded (
%2B14155550142). Any common phone format works.note_idstringrequiredThe note (
cnt_…).
Request body
bodystringrequiredThe new text.
Response
200 OKThe note.
idstringrequiredcnt_…object"contact_note"requiredaddressstringrequiredbodystringrequiredauthorobjectrequiredFields of
authortype"user" | "api_key"requiredidstringrequirednamestringrequired
created_bystringrequiredcreated_attimestamprequiredupdated_attimestamprequired
Errors
| Status | Code | Means |
|---|---|---|
| 403 | not_note_author | Only a note's author can edit it (or delete it, with owners and admins). |
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.