Skip to main content

Get Campaign

Retrieve details of a specific SMS campaign including its configuration and status.

Endpoint

GET /v1/campaigns/{campaign_id}

Authentication

X-API-Key
string
required
Your API key

Path Parameters

campaign_id
string
required
The campaign ID

Response

success
boolean
Whether the request was successful
campaign
object
Campaign details

Example Request

curl "https://partner.teli.ai/api/proxy/v1/campaigns/camp_abc123" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "success": true,
  "campaign": {
    "campaign_id": "camp_abc123",
    "campaign_name": "January Outreach",
    "status": "ACTIVE",
    "sms_agent_id": "agent_xyz789",
    "organization_id": "org_123",
    "outbound_number": "+15551234567",
    "direction": "outbound",
    "total_contacts": 150,
    "total_messages": 423,
    "created_at": "2026-01-15T10:00:00Z",
    "enable_sms_to_voice": false,
    "drip_schedule": [
      {
        "delay_hours": 24,
        "type": "reminder",
        "message": "Just following up on my last message..."
      }
    ],
    "extraction_fields": ["credit_score", "loan_amount", "interest_rate"]
  },
  "powered_by": "Teli"
}