Contact Lists

Organize contacts into lists

Manage contact lists

Get all Contact Lists

get

Get all contact lists existing in your account

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
Responses
200

OK.

application/json
get
/api/accounts/{account_id}/contacts/lists

Create Contact List

post

Create new Contact Lists

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
Body
namestringOptional
Responses
200

Contact List Created.

application/json
post
/api/accounts/{account_id}/contacts/lists

Get Contact List

get

Get a contact list by ID

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
list_idinteger · int64 · min: 1Required

Unique list ID

Example: 3229
Responses
200

Returns attributes of the contact list.

application/json
get
/api/accounts/{account_id}/contacts/lists/{list_id}

Delete Contact List

delete

Delete existing Contact List

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
list_idinteger · int64 · min: 1Required

Unique list ID

Example: 3229
Responses
delete
/api/accounts/{account_id}/contacts/lists/{list_id}

No content

Update Contact List

patch

Update existing Contact List

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
list_idinteger · int64 · min: 1Required

Unique list ID

Example: 3229
Body
namestring · max: 255Optional
Responses
200

OK.

application/json
patch
/api/accounts/{account_id}/contacts/lists/{list_id}

Last updated

Was this helpful?