Create a contact

Creates a contact, or updates the one already holding the same phone number. The submitted phone is normalized to canonical E.164 before matching, so every accepted format resolves to the same contact. Omitted fields keep their stored value; attributes, when present, replaces the whole map.

Body Params

Contact to create or update, matched on its normalized phone number.

string
length between 1 and 255
.*\S.*

Display name; non-blank when present. Omit to keep the stored name.

string
required

Brazilian mobile number. Common formats are accepted (parentheses, dashes, spaces, with or without +55) and normalized to canonical E.164 (+55 + DDD + 9-digit subscriber).

attributes
object

Free-form string attributes; replaces the whole stored map when present, omit to keep it. Keys must start with a letter or underscore, continue with letters, digits or underscores, and may not be name or phone; keys and values are capped at 255 characters.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json