Contacts
The Contacts API provides CRUD access to contacts — the users that belong to a client account (type = client) — plus an ancillary action for setting a contact as the client’s account owner.
New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys). Those conventions apply to every endpoint below and are not repeated here.
Identifier note: contacts are addressed by their numericid. Wherever{id}appears below it is the contactid.
The contact object
All endpoints that return a contact use this shape:List / search contacts
Query parameters
Example request
Example response — 200 OK
Get a contact
Example request
200) with message “Contact retrieved successfully.”
Create a contact
send_email=yes. The email must
be unique across all users — a duplicate returns a 422.
Body parameters
Example request
Example response — 201 Created
Update a contact
first_name, last_name and email are required. The account owner is not changed here —
use the account-owner action.
Body parameters
Example request
Example response — 200 OK
Delete a contact
404.
Example request
Example response — 200 OK
Set as account owner
200) with account_owner now yes and message “Contact set as account
owner successfully.”