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

Parameters: list_lists
NameTypeDescription
cursor string string Next page cursor from the previous call.
limit integer integer How many items to return per page.

Request

cURL
curl https://cotlet.dev/api/v1/campaign-monitor/lists \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("campaign-monitor", "list_lists")
Node.js
const result = await cotlet.call('campaign-monitor', 'list_lists');
CLI
cotlet call campaign-monitor list_lists

Example response

JSON

{
  "lists": [
    {
      "list_id": "f2a9b7c1d3e44f08a6b5c4d3e2f10987",
      "name": "Customers"
    },
    {
      "list_id": "1c4e8a2b6d9f4073a5b1c8d2e6f30495",
      "name": "Newsletter"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.