Set the primary contact

Sets the primary contact on your account, updating the existing one or creating it if there is none. The status code is the only signal of which happened: 200 for an update, 201 for a create. The contact always belongs to your own account; nothing in the body selects who it is written for.

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

Full name; control characters are stripped, the value is truncated to 200 characters and split into first and last name.

string | null

Email address, validated and truncated to 255 characters.

string | null

Phone number, truncated to 32 characters.

Responses
200

An existing primary contact was updated in place.

201

There was no primary contact, so one was created.

401

Missing or invalid API key.

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