Contacts

Update a contact

Partial update of name and/or phoneNumber. phoneNumber is re-normalized/re-validated on change. 404 if the contact doesn't exist or isn't owned by the caller. 409 on a (owner, phoneNumber) conflict with another contact.

patch/numbers/contacts/{id}

Path parameters

idstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000

Request body

namestring
phoneNumberstring

Normalized to E.164 (spaces/dashes/dots stripped); rejected with 400 if it doesn't validate as E.164 afterward.

Example request

{
  "name": "Jane Doe",
  "phoneNumber": "+15551230001"
}

Response

Contact updated

Changes