Authentication
All endpoints accept either anApiKey header or an OAuth header. See the OAuth Endpoints page for token generation.
Upsert Contact
Creates a new contact or updates an existing one. At least one ofemail or phoneNumber is required.
Request Body
string
Display name for the contact. Defaults to the email address if omitted.
string
required
Email address of the contact. Required if
phoneNumber is not provided.string
required
Phone number of the contact. Required if
email is not provided.string
Name of an existing contact list to add this contact to after upserting.
boolean
When
true, the operation is simulated and no data is persisted.Response
integer
200 on success.string
Empty string on success; an error description on failure.
Response
Bulk Import Contacts
Imports multiple contacts in a single request using a 2-D array format paired with a column-mapping definition.Request Body
array[array]
required
A two-dimensional array of contact values. Each inner array represents one contact row; column order must match
contactDataMapping.array[object]
required
Describes which property each column maps to.
integer
required
Controls how existing contacts are handled:
1— Create new contacts and update existing ones.2— Create new contacts only; skip existing ones.3— Update existing contacts only; skip new ones.
string
Name of a contact list to add all imported contacts to.
string
Description applied when a new list is created via
listName.boolean
When
true, the operation is simulated and no data is persisted.Response
integer
200 on success.string
Empty string on success; an error description on failure.
Response
Get Contact
Retrieves a single contact record by email address.Request Body
string
required
Email address of the contact to retrieve.
Response
integer
200 on success.string
Empty string on success; an error description on failure.
object
The matched contact record.
Response
Get Contacts in List
Returns a paginated list of contacts belonging to a named contact list.Request Body
string
required
Name of the contact list to retrieve contacts from.
integer
Number of contacts to return per page. Defaults to
200; maximum is 1000.integer
One-based page number. Defaults to
1.string
Query a list belonging to another team. Requires special cross-team permission.
Response
integer
200 on success.string
Empty string on success; an error description on failure.
array[object]
Array of contact records. Each object contains the same fields as the Get Contact response:
id, name, email, phoneNumber, properties, createDate, modifyTime, and createUserId.integer
Total number of contacts in the list across all pages.
Delete Contact
Permanently deletes a contact identified by email address.Request Body
string
required
Email address of the contact to delete.
boolean
When
true, the operation is simulated and no data is deleted.Response
integer
200 on success.string
Empty string on success; an error description on failure.
Response