Chiranjeet Mishra
04/10/2026, 5:53 AMbash
curl -X PATCH https://api.vapi.ai/phone-number/YOUR_PHONE_NUMBER_ID \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"assistantId": "your-assistant-id"
}'
- Replace YOUR_API_KEY with your Vapi API key (found in Dashboard → Organization Settings)
- Replace YOUR_PHONE_NUMBER_ID with your phone number's ID
- Full list of updatable fields: https://docs.vapi.ai/api-reference/phone-numbers/update
Best,
Vapi Support