Campaigns
Create Campaign
Create and schedule a bulk calling campaign.
AuthorizationBearer <token>
API key authentication. Use format: Bearer kejue_...
In: header
leads
List of leads to call (objects or existing IDs)
Items
1 <= items <= 10000schedule
assistant_group_id?string
assistant_id?integer
call_source?string
Default
"api"Response Body
application/json
application/json
curl -X POST "https://api.kejue.co/api/v1/campaigns" \ -H "Content-Type: application/json" \ -d '{ "leads": [ { "phone_number": "+12125551234" } ], "schedule": { "name": "October Outreach" } }'{
"success": true,
"message": "Campaign created",
"campaign_id": "camp_123",
"total_submitted": 100,
"valid_leads": 98,
"scheduled_calls": 98
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Empty
Empty
Last updated on

