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
| Name | Type | Description |
|---|---|---|
| limit integer | integer | Page size. |
| cursor string | string | next_cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/simpletexting/campaigns \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("simpletexting", "list_campaigns") const result = await cotlet.call('simpletexting', 'list_campaigns'); cotlet call simpletexting list_campaigns Example response
{
"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
}