Customize IDLE message
# support
t
Is there a way to customize IDLE messages? I am using Dutch language and want to give IDLE messages if the confidence score is below a certain percentage. https://cdn.discordapp.com/attachments/1360212397528190986/1360212397738037409/Customize_IDLE_Message.png?ex=67fa4c03&is=67f8fa83&hm=816bec6a143667f943ff5d9fc2176f4f7a7562d7e65f1a93b82f85df19d6a1cb&
v
Hi there! 👋 I wasn't able to find specific information about customizing IDLE messages based on confidence score thresholds. However, I can definitely help with customizing IDLE messages for Dutch language! According to the information I found, here's how you can customize IDLE messages in Dutch: ## Customizing IDLE Messages for Dutch Language You can customize idle messages for non-English languages (including Dutch) by updating the
messagePlan.idleMessages
configuration via the API. Here's how:
Copy code
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:
Copy code
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)
s
Using API you can pass the custom idle messages but you cannot pass any confidence scores so just use the API and then you can configure it.