Campaigns

Delete Campaign

Changed on
delete/v2/campaign/{id}

Request

  • Base URL
    https://api.vapi.ai
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The unique identifier for the resource.

Response

status'scheduled' | 'in-progress' | 'ended' | 'cancelled' | 'archived' required

This is the status of the campaign.

endedReason'campaign.scheduled.ended-by-user' | 'campaign.in-progress.ended-by-user' | 'campaign.ended.success'

This is the explanation for how the campaign ended.

namestring required

This is the name of the campaign. This is just for your own reference.

assistantIdstring

This is the assistant ID that will be used for the campaign calls. Note: Only one of assistantId, workflowId, or squadId can be used.

workflowIdstring

This is the workflow ID that will be used for the campaign calls. Note: Only one of assistantId, workflowId, or squadId can be used.

squadIdstring

This is the squad ID that will be used for the campaign calls. Note: Only one of assistantId, workflowId, or squadId can be used.

phoneNumberIdstring

This is the phone number ID that will be used for the campaign calls. Required if dialPlan is not provided. Note: phoneNumberId and dialPlan are mutually exclusive.

maxConcurrencynumber

This is the maximum number of concurrent calls that will be made for the campaign. Defaults to 10. Maximum of 500, and may not exceed your organization's concurrency limit.

serverMessagesstring[]

These are the messages that will be sent to your Server URL.

idstring required

This is the unique identifier for the campaign.

orgIdstring required

This is the unique identifier for the org that this campaign belongs to.

createdAtstring date-time required

This is the ISO 8601 date-time string of when the campaign was created.

updatedAtstring date-time required

This is the ISO 8601 date-time string of when the campaign was last updated.

callsobject required

This is a map of call IDs to campaign call details.

callsCounterSchedulednumber required

This is the number of calls that have been scheduled.

callsCounterQueuednumber required

This is the number of calls that have been queued.

callsCounterInProgressnumber required

This is the number of calls that have been in progress.

callsCounterEndedVoicemailnumber required

This is the number of calls whose ended reason is 'voicemail'.

callsCounterEndednumber required

This is the number of calls that have ended.

Changes

    • breaking

      added to the ////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the //////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the //////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the ////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the ///////////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the //////////// response property oneOf list for the response status

    • breaking

      added to the ///// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////// response property oneOf list for the response status

    • breaking

      added to the /////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////// response property oneOf list for the response status

    • breaking

      added to the /////// response property oneOf list for the response status

    • breaking

      added to the /////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////// response property oneOf list for the response status

    • breaking

      added to the ///////// response property oneOf list for the response status

    • breaking

      added to the /////////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////// response property oneOf list for the response status

    • breaking

      added to the ///////// response property oneOf list for the response status

    • breaking

      added to the /////////////// response property oneOf list for the response status

    • breaking

      added to the //////////// response property oneOf list for the response status

    • breaking

      added to the ///// response property oneOf list for the response status

    This list may be incomplete.

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property ///////////////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property ///////////////// to the response with the status

    • info

      added the optional property //////////////// to the response with the status

    • info

      added the optional property /////////////////////// to the response with the status

    • info

      added the optional property //////////////// to the response with the status

    • info

      added the optional property /////////////////// to the response with the status

    • info

      added the optional property //////////////// to the response with the status

    • info

      added the optional property /////////////////////// to the response with the status

    • info

      added the optional property //////////////// to the response with the status

    • info

      added the optional property /////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ///////////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ///////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ///////////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ///////////////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property ///////////////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property ///////////////// to the response with the status

Some revisions have not been checked yet.