Removing assistant from phone
# support
v
To remove the assistant from your Vapi-purchased phone and trigger your server URL for inbound calls, use the following API request:
Copy code
bash
curl --location --request PATCH 'https://api.vapi.ai/phone-number/your_phone_id' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer your-vapi-private-api-key' \
  --data '{
    "assistantId": null,
    "serverUrl": "https://your_server_url"
  }'
This will ensure no assistant handles inbound calls, and Vapi will send call events to your server URL, where you can specify the agent as needed in your backend logic. Sources: - [Vapi Discord discussion](https://discord.com/channels/1211482211119796234/1341224148667600976) - [Vapi documentation: Telnyx SIP integration](https://docs.vapi.ai/advanced/sip/telnyx)
k
Hey, Could you please schedule a brief call at your convenience so we can discuss this matter in detail? Kindly use the following link to book a suitable time: .
3 Views