Mithrax
10/01/2025, 8:56 PMVapi Support Bot
10/01/2025, 8:57 PMbash
curl -X PATCH https://api.vapi.ai/phone-numbers/{phoneNumberId} \
-H "Authorization: Bearer <your_token>" \
-H "Content-Type: application/json" \
-d '{"maxDurationSeconds": 1200}'
Replace {phoneNumberId} and <your_token> with your actual values. This will enforce the call duration limit even if the UI option is missing. For more details, see the [Vapi API documentation](https://docs.vapi.ai/api-reference/phone-numbers/update).
Source:
- [PATCHUpdate Phone Number](https://docs.vapi.ai/api-reference/phone-numbers/update)Mithrax
10/01/2025, 9:20 PMMithrax
10/01/2025, 9:26 PMMithrax
10/01/2025, 9:29 PMJonathan Carter
10/03/2025, 7:17 AMChiranjeet Mishra
10/03/2025, 6:31 PMJonathan Carter
10/04/2025, 6:59 PMChiranjeet Mishra
10/06/2025, 4:28 PMJonathan Carter
10/10/2025, 12:42 PMJonathan Carter
10/10/2025, 12:43 PM