cURL
curl --request GET \ --url https://api.openmic.ai/v1/campaigns \ --header 'Authorization: Bearer <token>'
{ "campaigns": [ { "id": 123, "name": "<string>", "type": "outbound", "status": "Scheduled", "bot_uid": "<string>", "from_number": "<string>", "contact_list_id": 123, "time_start": "<string>", "time_end": "<string>", "timezone": "<string>", "days": [ "Monday" ], "schedule_type": "single", "current_index": 123, "total_contacts": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "pagination": { "limit": 123, "offset": 123, "total": 123, "has_more": true } }
API key authentication. Include your API key in the Authorization header as: Authorization: Bearer <your-api-key>
Authorization: Bearer <your-api-key>
1 <= x <= 100
x >= 0
Filter by campaign status.
Scheduled
Running
Stopped
Completed
Failed
Expired
Paused
List of campaigns
Show child attributes
Was this page helpful?