Get all the lists
GET {{baseUrl}}/contacts/lists?limit=10&offset=0&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | Number of documents per page | |
offset | number | Index of the first document of the page | |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"lists":[{"id":53,"name":"Spanish_Speakers","totalSubscribers":5432,"totalBlacklisted":65,"uniqueSubscribers":5497,"folderId":1},{"id":50,"name":"Other","totalSubscribers":10976,"totalBlacklisted":765,"uniqueSubscribers":11741,"folderId":2}],"count":2}