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.
email
The contact’s email address. Used to match an existing contact when no externalId is given.
externalId
The contact’s identifier in your system. Preferred over email for matching an existing contact.
firstName
The contact's first name.
lastName
The contact's last name.
phone
A contact phone number.
business
The business to attach this contact to.
role
The contact’s role on the business. Ingestion may only set Admin or Member.
Allowed values:
Response
Contact created.
data
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