Mark Clint
08/29/2025, 4:50 AMMark Clint
08/29/2025, 1:44 PMChiranjeet Mishra
09/02/2025, 7:36 AMcall.ringing event. Here is an example of how you can configure this using a PATCH request:
bash
curl -X PATCH "https://api.vapi.ai/phone-number/<id>" \
-H "Authorization: Bearer <auth>" \
-H "Content-Type: application/json" \
-d '{
"hooks": [{
"on": "call.ringing",
"do": [{
"type": "say",
"exact": "inbound calling is disabled."
}]
}]
}'
Replace <id> with your phone number ID and <auth> with your authorization token. For more details, you can refer to the [Phone Number Hooks documentation](https://docs.vapi.ai/phone-numbers/phone-number-hooks).Mark Clint
09/05/2025, 9:46 AMMark Clint
09/08/2025, 2:24 AMChiranjeet Mishra
09/09/2025, 7:28 AM