Find contact lists
GET/api/partner-gateway/contacts/list
Returns the contact lists of your account that match the filters, one page at a time.
- What a list is: a named group of contacts used as the audience of campaigns. A contact can belong to several lists.
- Filters:
search(case-insensitive partial match on the name),id(specific lists, as comma-separated IDs) andcontactIds(the lists that contain those contacts, useful to see which lists a contact is in). - Test lists:
isTest=truereturns only the test lists, used to send test campaigns, andisTest=falseleaves them out. - Deleted lists are left out unless you send
includeDeleted=true. - Pagination and sorting:
pageis 0-based,limitdefaults to 10 (maximum 1000),sortBydefaults tonameandsortOrderisascordesc.
Request
Responses
- 200
- 401
- 500
One page of the contact lists that match the filters.
The API key is missing, invalid, or lacks the CONTACTS operation.
Unexpected server error.