https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> I am facing issues with the...
# ❓・ai-evy-support
h
@AI Evy I am facing issues with the inbound Call webhhook URL. when I put the link inside the field it, it says please change the phone level webhook. Not sure what that means but I can that URL as well but it keeps removing itself
a
Thanks for tagging me @hnc_b24. I'll look through relevant sources and get back to you shortly.
### Answer The inbound call webhook should be configured at the phone number level, not at the agent level [(1) ]() [(2) ](

▾

) . This is because one phone number can handle multiple agents, and the webhook allows you to route calls differently based on who's calling [(2) ](

▾

) . The webhook is part of your number configuration and works for both purchased and imported numbers [(1) ]() . When setting up the webhook: 1. The webhook will POST to your endpoint with a 10-second timeout [(3) ]() 2. If no success status (2xx) is received within 10 seconds, it will retry up to 3 times If you're still experiencing issues, check that: - Your webhook endpoint returns a proper JSON response with a successful status code (2xx) - The response format matches the expected structure with fields grouped under
call_inbound
Note: There's an upcoming change where
inbound_dynamic_variables_webhook_url
is being replaced by
inbound_webhook_url
as part of the number configuration [(4) ]() .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Personalization with Airtable](

https://www.youtube.com/watch?v=U8jdhkqOOhE▾

) [[3] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[4] Deprecating on 5/30/2025](https://docs.retellai.com/deprecation-notice/5-30) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@AI Evy well give me step by step for configuring the inbound webhooks
@AI Evy well give me step by step for configuring the inbound webhooks
a
Thanks for the follow-up, @hnc_b24. I'll get back to you soon.
### Answer Here's how to configure inbound webhooks for Retell AI: 1. Set up your webhook endpoint [(1) ]() : - The webhook will
POST
the payload to your endpoint - Timeout is 10 seconds with up to 3 retries if no success status (2xx) is received 2. Prepare your webhook to handle this payload format :
Copy code
json
{
  "event": "call_inbound",
  "call_inbound": {
    "agent_id": "agent_12345",
    "from_number": "+12137771234",
    "to_number": "+12137771235"
  }
}
3. Configure your webhook response :
Copy code
json
{
  "call_inbound": {
    "override_agent_id": "agent_12345",
    "dynamic_variables": {
        "customer_name": "John Doe"
    },
    "metadata": {
        "random_id": "12345"
    }
  }
}
4. Optional fields you can include in response [(2) ]() : - `override_agent_id`: to override the agent id - `override_agent_version`: to override the agent version - `dynamic_variables`: to set dynamic variables - `metadata`: to set metadata Important notes: - The webhook is part of your number configuration and works for purchased or imported numbers [(1) ]() - You can use this webhook to decline calls by leaving the
call_inbound
object empty - The webhook can be verified using your Retell API Key If you want to use different agents under the same inbound phone number (like setting up a daytime agent and an afterhours agent) , this webhook configuration will enable that functionality [(3) ]() .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
4 Views