Cancelling outbound campaign
# support
n
I launched a campaign and it had all my calls queued instead of actually calling them. I tried cancelling but they've been queued for the past 2 hours, just trying to make sure it actually gets cancelled so it doesn't just like randomly call people in the middle of the night or something.
v
To ensure your outbound campaign is fully cancelled and queued calls won't be executed, update the campaign's status to
ended
using the API. This will delete all scheduled calls immediately. Here’s a code example:
Copy code
bash
curl -X PATCH https://api.vapi.ai/campaign/<your_campaign_id> \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"status": "ended"}'
This action guarantees no queued calls will be made later, per the official documentation. Source: [Vapi Campaign Update API](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-update)
n
@Vapi Support Bot terminal cant end it because I already "ended it" through vapi, but the calls are still queued
v
This is a known issue where calls can remain queued even after ending a campaign. The best next step is to contact Vapi support directly for resolution. You can schedule a call with the Vapi team using this link: [Book a support call](https://calendly.com/shubham-vapi/chat-30m) This will ensure your queued calls are properly cleared and won't be executed unexpectedly. (Source: [Discord support thread](https://discord.com/channels/1211482211119796234/1372358449761091584))
n
@Vapi Support Bot that link doesn't work
v
Since the support link is not working and this is a known issue, the best next step is to contact Vapi support directly via their official channels. - Try posting your issue (with campaign/call IDs) in the [Vapi Discord support channel](https://discord.com/channels/1211482211119796234/1372358449761091584) for a faster response from the team. This will help ensure your queued calls are cleared and won't be executed unexpectedly. Source: - [Discord support thread](https://discord.com/channels/1211482211119796234/1372358449761091584)
n
I'm in the support channel, 1ef156be-c5d9-4bf6-8034-e506942efdf1 is my campaign ID, can you just alert somebody
@Vapi Support Bot im in the support channel, 1ef156be-c5d9-4bf6-8034-e506942efdf1 is my campaign ID, can you just alert somebody?
c
Hi nicko, To ensure that your outbound campaign is completely cancelled and no queued calls are executed, update the campaign status to
ended
using the API. This will immediately delete all scheduled calls. Here's how you can do this:
Copy code
bash
curl -X PATCH https://api.vapi.ai/campaign/1ef156be-c5d9-4bf6-8034-e506942efdf1 \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"status": "ended"}'
This command will prevent any queued calls from being made later. For more information, check the [Vapi Campaign Update API](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-update). If you need further assistance, consider booking a support call through Vapi's official channels.
n
@Vapi Support Bot I already tried that, since I "ended" the campaign through vapi it won't let me do it.
v
Since updating the campaign status to "ended" did not clear the queued calls, the next step is to delete the campaign entirely using the API. This should remove the campaign and all associated queued calls:
Copy code
bash
curl -X DELETE https://api.vapi.ai/campaign/1ef156be-c5d9-4bf6-8034-e506942efdf1 \
  -H "Authorization: Bearer <token>"
This action is recommended when the campaign is stuck and cannot be updated further. Source: [Vapi Campaign Delete API](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-remove)
v
Message marked as helpful by @nicko! 🎉