cURL
curl --request POST \ --url https://api.qcall.ai/api/v1/campaign/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "campaigns_name": "<string>", "assistant_id": "<string>", "contacts_id": "<string>", "dialer_id": "<string>", "scheduled_at": "<string>", "is_automation": true } '
{ "campaigns_name": "<string>", "assistant_name": "<string>", "contact_name": "<string>", "dialer_name": "<string>", "dialer_type": "<string>", "phone_number": "<string>", "started_at": "<string>", "is_started": true, "is_automation": true }
Creates a new Campaign
Campaign to add
The name of the campaign
The id of the assistant
The id of the contact
The id of the dialer
Scheduled date
Is automation
Campaign response
The name of the assistant
The name of the contact
The name of the dialer
The type of the dialer
phone number
started date
Is started