Create a contact at a phone number

Registers a new contact with the given E.164 phone number. The phone is the canonical identifier and comes from the URL — it is not accepted in the body. Any unknown property in the body is rejected with a 400.

customFields are validated against the user's current schema (same rules as PATCH — unknown indexes, type mismatches, etc. yield 33033 InvalidCustomField with a machine-readable details.reason).

If a contact with this phone already exists, the request is rejected with 409 ContactAlreadyExists (33037). To merge into an existing contact, GET /contacts/by-phone/{phoneNumber} then PATCH instead.

Creation does NOT trigger any consent flow — that happens only when the contact is enrolled into a group via POST .../groups/{groupId}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Contact phone number in E.164 format (+ then country code and subscriber number).

Body Params
string
length ≤ 40

Contact's first name.

string
length ≤ 40

Contact's last name.

string

Contact's email address.

string

Date of birth, strict YYYY-MM-DD format. Full ISO datetimes are rejected.

string
enum

Contact's gender.

Allowed:
address
object

Contact's mailing address.

boolean

Whether the contact should be flagged as favorite.

customFields
object

Custom-field values keyed by label (the human-readable name you gave the field). Labels are matched case-insensitively after trimming whitespace. Discover available labels, types, and select options via GET /v1/contacts/custom-fields/schema. Value shape per schema field type: TEXT → string, NUMBER → number, BOOLEAN → boolean, DATEYYYY-MM-DD string, SINGLE_SELECT → string matching one of options, MULTI_SELECT → array of strings each matching one of options. Unknown labels are rejected with 33033 InvalidCustomField and details.reason: "unknown_label".

Responses

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