Maximum Duration
# support
c
In the Assistant UI, I'm only able to set the Maximum Duration of a call to 60 seconds... Obviously that cuts off calls way too soon. Any suggestions?
v
According to the information I found, the UI is not updated for Maximum Duration settings, and you need to change it using the API instead. Here's a curl command to increase the duration:
Copy code
curl -X PATCH 'https://api.vapi.ai/assistant/{ASSISTANT_ID}' \
-H 'Authorization: Bearer {YOUR_API_TOKEN}' \
-H 'Content-Type: application/json' \
-d '{
  "maxDurationSeconds": 1800
}'
You can set any value between 10 seconds and 12 hours (43,200 seconds). Source: - [Discord Channel](https://discord.com/channels/1211482211119796234/1343732017426071653)
v
Message marked as helpful by @cjcxyz! 🎉
c
Unfortunately, it's still not working.
k
The issue is on us, and we have created a ticket for it. It will be fixed by team in their next sprint cycle.