List contact lists

The contact lists of the account with their size.

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

read

Reads the lists that campaigns, keywords and autoresponders send to: name and number of contacts. A list name from here is what schedule_campaign and add_contact_to_list expect.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "lists": [
    {
      "name": "Patients",
      "contacts": 248
    },
    {
      "name": "Class reminders",
      "contacts": 61
    }
  ]
}

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.