Skip to navigation

Create a contact

Creates a contact, optionally attaching it to a business. If a contact with the same externalId (or email) already exists, it is updated instead of creating a duplicate.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Request

The writable fields of a contact.
emailstringRequiredformat: "email"

The contact’s email address. Used to match an existing contact when no externalId is given.

externalIdstringOptional

The contact’s identifier in your system. Preferred over email for matching an existing contact.

firstNamestringOptional
The contact's first name.
lastNamestringOptional
The contact's last name.
phonestringOptional
A contact phone number.
businessobjectOptional
The business to attach this contact to.
roleenumOptional

The contact’s role on the business. Ingestion may only set Admin or Member.

Allowed values:

Response

Contact created.
dataobject

A contact — a person who logs in to view and pay invoices.

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
500
Internal Server Error