cURL
curl --request PATCH \ --url https://api.nedzo.ai/v1/campaign/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "agent_id": 123, "start_time": "<string>", "end_time": "<string>", "min_calls_per_hour": 123, "max_calls_per_hour": 123, "daily_usage_cap": 123, "dials": 123, "max_dials_per_contact": 123, "is_active": true } '
{ "status_code": 123, "message": "<string>", "data": { "campaign": { "name": "<string>", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "start_time": "<string>", "end_time": "<string>", "min_calls_per_hour": 123, "max_calls_per_hour": 123, "daily_usage_cap": 123, "max_dials_per_contact": 123, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dials": 123, "outcome_appointment_booked": 123, "outcome_callback_requested": 123, "outcome_do_not_call": 123, "outcome_failed": 123, "outcome_follow_up": 123, "outcome_no_answer": 123, "outcome_not_interested": 123, "outcome_transferred": 123, "outcome_wrong_number": 123, "is_active": true, "total_min_used_today": 123, "total_min_used": 123, "total_pickups": 123, "total_positive_outcomes": 123 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
Was this page helpful?