cURL
curl --request POST \ --url https://api.truedy.ai/api/public/v1/campaigns \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Q4 Sales Campaign", "agent_id": "agt_dc8ba113-2", "contacts": [ "contact_51e55c01-f" ] } '
{ "data": { "id": "camp_6f428e66-f", "name": "Q4 Sales Campaign", "status": "scheduled", "agent_id": "agt_dc8ba113-2", "created_at": "2026-02-04T20:12:04.403365Z" }, "meta": { "request_id": "req_73e786fe-1", "timestamp": "2026-02-04T20:12:04.403365Z" } }
Create a new calling campaign.
A campaign defines:
Use campaigns for marketing, surveys, or automated outreach.
Your API key. Send in the Authorization header as: Bearer
1 - 100
immediate
scheduled
1 <= x <= 100
Resource created successfully