Skip to main content

Authentication

All endpoints accept either an ApiKey header or an OAuth header. See the OAuth Endpoints page for token generation.

Add List

Creates a new contact list with an optional description.

Request Body

string
required
Unique name for the new contact list.
string
A short description of the list’s purpose or audience.
boolean
When true, the operation is simulated and no list is created.

Response

integer
200 on success.
string
Empty string on success; an error description on failure.
Response

Get Lists

Returns a paginated, optionally filtered collection of contact lists belonging to your account.

Request Body

Filter lists by name. Returns all lists that contain this string.
string
Filter by list type:
  • "0" — Dynamic lists (rule-based membership).
  • "1" — Static lists (manually managed membership).
string
Sort field for results. Accepted values:
  • "CreateDate" — Sort by creation date.
  • "ModifyDate" — Sort by last modification date.
integer
Number of lists to return per page. Defaults to 10.
integer
One-based page number. Defaults to 1.

Response

integer
200 on success.
string
Empty string on success; an error description on failure.
array[object]
Array of list records matching the query.
integer
Total number of lists matching the query across all pages.
Response

Delete List

Permanently deletes a contact list by name. Contacts within the list are not deleted — only the list itself is removed.

Request Body

string
required
Name of the contact list to delete.
boolean
When true, the operation is simulated and no list is deleted.

Response

integer
200 on success.
string
Empty string on success; an error description on failure.
Response