Azhar
02/02/2026, 5:22 AMChiranjeet Mishra
02/02/2026, 5:22 AMVapi Support Bot
02/02/2026, 5:23 AMmaxDurationSeconds parameter when initiating the call. For example, to allow a 30-minute call:
json
{
"assistantId": "your-assistant-id",
"customer": { "number": "+1234567890" },
"maxDurationSeconds": 1800
}
This will increase the call limit to 30 minutes. Adjust the value as needed for your use case.
Reference: See the "exceeded-max-duration" explanation in the documentation for more details.
Source:
- [Call ended reasons](https://docs.vapi.ai/calls/call-ended-reason)Chiranjeet Mishra
02/02/2026, 5:24 AMmaxDurationSeconds for your assistant is currently set to default/null, which caps calls at 10 minutes.
You can use the PATCH request below to update it - just replace with your assistant id and api private key:
curl -X PATCH https://api.vapi.ai/assistant/<insert-assistant-id-here> \
-H "Authorization: Bearer <your-api-private-key>" \
-H "Content-Type: application/json" \
-d '{"maxDurationSeconds": 43200}'
For reference, the maximum value is 43200 seconds (12 hours). You can set it to any value up to that limit depending on your needs.
Thanks!Vapi Support Bot
02/02/2026, 5:26 AM