LemuAIDocs

Campaigns · 1 min read

List Campaigns

List the calling campaigns in your organization and their progress

Open in ChatGPTOpen in ClaudeMarkdown

Returns every campaign in your organization with its state and progress counts. Campaigns are created and run from the dashboard; see Campaigns.

GET/api/v1/campaign/

This endpoint takes no parameters.

Example request:

cURL
curl https://app.lemuai.com/api/v1/campaign/ \
  -H "X-API-Key: lemu_your_api_key"

Response#

200

JSON
{
  "campaigns": [
    {
      "id": 57,
      "name": "October payment reminders",
      "workflow_id": 412,
      "workflow_name": "Payment Reminder",
      "state": "running",
      "source_type": "contact-list",
      "source_id": "23",
      "total_rows": 1200,
      "processed_rows": 640,
      "failed_rows": 12,
      "created_at": "2026-10-20T09:00:00Z",
      "started_at": "2026-10-21T04:30:00Z",
      "completed_at": null,
      "retry_config": {
        "enabled": true,
        "max_retries": 2,
        "retry_delay_seconds": 120,
        "retry_on_busy": true,
        "retry_on_no_answer": true,
        "retry_on_voicemail": false
      },
      "schedule_config": {
        "enabled": true,
        "timezone": "Asia/Kolkata",
        "slots": [
          { "day_of_week": 0, "start_time": "10:00", "end_time": "18:00" }
        ]
      },
      "circuit_breaker": {
        "enabled": true,
        "failure_threshold": 0.5,
        "window_seconds": 120,
        "min_calls_in_window": 5
      }
    }
  ]
}

Each campaign:

FieldTypeDescription
idintegerThe campaign's id.
namestringThe campaign's name.
workflow_idintegerThe voice agent the campaign calls with.
workflow_namestringThat agent's name.
statestringcreated, syncing, running, paused, completed, or failed.
source_typestringWhere the numbers come from: contact-list, google-sheet, or csv.
source_idstringThe contact list id, Google Sheet URL, or uploaded file reference.
total_rowsinteger or nullContacts in the campaign, once the source has been read.
processed_rowsintegerContacts already called.
failed_rowsintegerContacts whose call could not be placed.
created_atstringWhen the campaign was created (ISO 8601, UTC).
started_atstring or nullWhen it was first started.
completed_atstring or nullWhen it finished.
retry_configobjectWhether and how unanswered calls are retried: enabled, max_retries, retry_delay_seconds, and which outcomes trigger a retry (retry_on_busy, retry_on_no_answer, retry_on_voicemail).
schedule_configobject or nullThe calling windows: timezone and slots (day_of_week from 0 Monday to 6 Sunday, start_time and end_time as HH:MM). null if the campaign calls at any time.
circuit_breakerobject or nullAutomatic pause when too many calls fail: failure_threshold (share of failures, 0 to 1) within window_seconds, once at least min_calls_in_window calls were made.

Was this page helpful?