Max call duration settings
# support
b
Hi @Support.Voice-Agent I am Boaz. I am prototyping a voice assistant. I am trying to configure a max call duration of 15 min/ 900 sec, but the UI doesn't let me go over 60 sec. Any suggestions?
v
Since the UI has limitations, use the API to set your max call duration to 15 minutes. Here's how:
Copy code
bash
curl -X PATCH 'https://api.vapi.ai/assistant/{ASSISTANT_ID}' \
-H 'Authorization: Bearer {YOUR_API_TOKEN}' \
-H 'Content-Type: application/json' \
-d '{
  "maxDurationSeconds": 900
}'
Replace
{ASSISTANT_ID}
and
{YOUR_API_TOKEN}
with your actual values. Source: - [Discord discussion about UI limitations for max duration](https://discord.com/channels/1211482211119796234/1343732017426071653)
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.
m
@Kings_big💫 thanks when will the next sprint cycle be approximately?
k
I'll ping you when it fixed
k
Hey [Boaztal](https://app.plain.com/workspace/w_01HYEQ5FKPH8CPX2MS608B6S51/customers/c_01JSSDFXD2XV2P1EQ6KT277GYP/), the changes have been pushed can you try and let us know how it goes for you?
b
Hi @Shubham Bajaj it works< Thank you
k
Marking this ticket as Solved ✅