Update Campaign
Updates an existing campaign in Vapi.
Body
This is the name of the campaign. This is just for your own reference.
This is the assistant ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended.
This is the workflow ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended.
This is the squad ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended.
This is the phone number ID that will be used for the campaign calls.
Can only be updated if campaign is not in progress or has ended.
Note: phoneNumberId and dialPlan are mutually exclusive.
This is a list of dial entries, each specifying a phone number and the customers to call using that number. Can only be updated if campaign is not in progress or has ended. Note: phoneNumberId and dialPlan are mutually exclusive.
This is the status of the campaign. Can only be updated to 'ended' if you want to end the campaign. When set to 'ended', it will delete all scheduled calls. Calls in progress will be allowed to complete.
Comma-separated response fields to include.