https://retellai.com/?utm_source=discord&utm_medium=seo logo
where do i find the begin_Message_delay -ms
# ❓・ai-evy-support
l
where do i find the begin_Message_delay -ms @AI Evy
a
Thanks for tagging me @lacy_91825. I'll look through relevant sources and get back to you shortly.
### Answer The
begin_message_delay_ms
parameter is found in the Agent API configuration [(1) ]() [(2) ]() . You can set it when creating or updating an agent [(3) ]() [(1) ]() [(2) ]() . This parameter delays the first message by the specified milliseconds, giving users time to prepare for the call [(1) ]() [(2) ]() . The valid range is [0, 5000] . If not set or set to 0, the agent speaks immediately . This only applies when the agent speaks first . Example from the API:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
}) ;
[(2) ]() The
begin_message_delay_ms
field appears in the response with a default value of 1000 milliseconds [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.