Skip to main content

GET /api/v1/public/campaigns//

Returns comprehensive campaign details including all steps, conditions, connected accounts, and prospect count. Auth: X-API-Key

Path Parameters

  • id (integer, required): Campaign ID

Response

{
  "success": true,
  "campaign": {
    "id": 123,
    "name": "My Campaign",
    "status": "DRAFT",
    "timezone": "Europe/Amsterdam",
    "language": "en",
    "email_max_messages": 40,
    "linkedin_max_messages": 100,
    "linkedin_max_connections": 50,
    "sending_window": {
      "monday": {"enabled": true, "start": "09:00", "end": "17:00"},
      "tuesday": {"enabled": true, "start": "09:00", "end": "17:00"}
    },
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z",
    "accounts": [...],
    "steps": [...],
    "conditions": [...],
    "first_step": {...},
    "first_condition": null,
    "prospect_count": 150
  }
}

Example

curl -H "X-API-Key: <key>" \
  "https://api.seleqt.ai/api/v1/public/campaigns/123/"