Docs menu

Edit a note

PATCH/v1/contacts/{address}/notes/{note_id}

  • Scope messages:send

Only the note's author can edit it.

Parameters

Path

  • addressstringrequired

    The person's phone number or email, URL-encoded (%2B14155550142). Any common phone format works.

  • note_idstringrequired

    The note (cnt_…).

Request body

  • bodystringrequired

    The new text.

Response

200 OKThe note.

  • idstringrequired

    cnt_…

  • object"contact_note"required

  • addressstringrequired

  • bodystringrequired

  • authorobjectrequired

    Fields of author
    • type"user" | "api_key"required

    • idstringrequired

    • namestringrequired

  • created_bystringrequired

  • created_attimestamprequired

  • updated_attimestamprequired

Errors

StatusCodeMeans
403not_note_authorOnly a note's author can edit it (or delete it, with owners and admins).
400validation_failedA field is missing or invalid.
401unauthorizedThe API key is missing, unknown or revoked.
403insufficient_scopeThe API key lacks the scope this needs.
404not_foundNo such object, or the key can't see it.

Every error is { "error": { "code", "message" } }. All error codes.

Keys come with your first line.

Request an invite and we'll set up a line for your team. API access is part of every plan.

Request an invite