List subscriber lists
Returns the subscriber lists of the account.
GET https://cotlet.dev/api/v1/campaign-monitor/lists
read
Returns each list with its ID and name, as in Lists & subscribers. The IDs feed every other tool that takes a list. Needs no role beyond access to the account.
Parameters
| Name | Type | Description |
|---|---|---|
| cursor string | string | Next page cursor from the previous call. |
| limit integer | integer | How many items to return per page. |
Request
curl https://cotlet.dev/api/v1/campaign-monitor/lists \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("campaign-monitor", "list_lists") const result = await cotlet.call('campaign-monitor', 'list_lists'); cotlet call campaign-monitor list_lists Example response
{
"lists": [
{
"list_id": "f2a9b7c1d3e44f08a6b5c4d3e2f10987",
"name": "Customers"
},
{
"list_id": "1c4e8a2b6d9f4073a5b1c8d2e6f30495",
"name": "Newsletter"
}
],
"next_cursor": null
}