Stop outbound calls
# support
s
How can I stop outbound calls after submitting a CSV file?
s
Hi, thanks for reaching out.
To stop outbound calls after you have submitted a CSV file, you need to cancel the active campaign. When a CSV is processed, Vapi queues those calls as "scheduled," and you can stop them using one of the two methods below: Option 1: Via the Dashboard (Recommended) Open your Vapi Dashboard. Navigate to the Outbound section. Find and click on the specific campaign you wish to stop. Click the Cancel Campaign button and confirm.
Option 2: Via API You can programmatically end the campaign by sending a PATCH request to the campaign endpoint:
Copy code
bash
curl -X PATCH https://api.vapi.ai/campaign/{campaignId} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "ended"}'
Important Things to Keep in Mind: Active Calls: Any calls that are already "in-progress" (the phone is currently ringing or the user has already picked up) will complete naturally. Only the "scheduled" calls will be removed from the queue. Finality: Once a campaign is canceled/ended, it cannot be resumed. You would need to create a new campaign and re-upload the CSV to start again. Status: After cancellation, the campaign status will update to ended with the reason campaign.in-progress.canceled-by-user.