List lists

Lists of your EmailOctopus account with their subscribed, pending and unsubscribed counts.

GET https://cotlet.dev/api/v1/emailoctopus/lists

read

Returns every list of the account with its list_id, name and the counts of subscribed, pending and unsubscribed contacts. Use list_id as the list_id parameter of the other tools. Pending contacts are those who have not yet confirmed on a list with double opt-in. Contacts live at list level, so the same email address on two lists is counted on both.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "lists": [
    {
      "list_id": "4d1c8e5a-7f2b-4c1e-9a63-0b5d2e8f1a37",
      "name": "Newsletter",
      "subscribed": 4860,
      "pending": 12,
      "unsubscribed": 341
    },
    {
      "list_id": "9b6e2f10-3c5a-4d7e-8f21-a1c4e7d90b52",
      "name": "Workshop waitlist",
      "subscribed": 214,
      "pending": 0,
      "unsubscribed": 9
    }
  ]
}

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.