The_Daddynator
04/11/2025, 11:18 AMVapi Support Bot
04/11/2025, 11:20 AMmessagePlan.idleMessages
configuration via the API. Here's how:
curl -X PATCH https://api.vapi.ai/assistant/id \
-H "Authorization: Bearer token" \
-H "Content-Type: application/json" \
-d '{
"messagePlan": {
"idleMessages": [
"Bent u daar nog?",
"Wacht u nog steeds?",
"Heeft u nog vragen?"
],
"idleMessageMaxSpokenCount": 3,
"idleTimeoutSeconds": 8
}
}'
According to [information from Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333783762579755020), this is currently only doable using the API.
## Important Note for Non-English Languages
When using Dutch or any non-English language, you should set smartEndpointingEnabled
to false
since this feature only works for English transcriptions, as mentioned in [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334385998423130174).
## Structuring Messages with Language Options
You can also structure your messages with language options using the contents
property. For example:
json
{
"type": "request-start",
"contents": [
{
"type": "string",
"language": "nl",
"text": "Bent u daar nog?"
}
]
}
Is there anything else you'd like to know about customizing IDLE messages?
Sources:
- [Discord Channel Customizing Idle Messages](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333783762579755020)Vapi Support Bot
04/11/2025, 11:20 AMSahil
04/11/2025, 8:17 PM