List campaigns

Campaigns of the account, sent and scheduled, with recipients and send time.

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

read

Reads the Campaigns page: name, the list or segment it goes to, the number of recipients, the send time and whether it is scheduled or sent. Use it before schedule_campaign to avoid a second campaign to the same list on the same day.

Parameters

Parameters: list_campaigns
NameTypeDescription
limit integer integer Page size.
cursor string string next_cursor from the previous call.

Request

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

Example response

JSON

{
  "campaigns": [
    {
      "campaign_id": "cp_41c7e0",
      "name": "Flu shot reminder",
      "list": "Patients",
      "segment": "Overdue for a cleaning",
      "recipients": 120,
      "send_at": "2026-10-26T09:00:00-04:00",
      "status": "scheduled"
    },
    {
      "campaign_id": "cp_39ab12",
      "name": "October hours",
      "list": "Patients",
      "segment": null,
      "recipients": 248,
      "send_at": "2026-10-01T09:00:00-04:00",
      "status": "sent"
    }
  ],
  "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.