Skip to main content

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) and contactIds (the lists that contain those contacts, useful to see which lists a contact is in).
  • Test lists: isTest=true returns only the test lists, used to send test campaigns, and isTest=false leaves them out.
  • Deleted lists are left out unless you send includeDeleted=true.
  • Pagination and sorting: page is 0-based, limit defaults to 10 (maximum 1000), sortBy defaults to name and sortOrder is asc or desc.

Request​

Responses​

One page of the contact lists that match the filters.