https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is the url for a https request node configure...
# ❓・ai-evy-support
c
@AI Evy what is the url for a https request node configured for Get
a
Thanks for tagging me @carlos.sanchez3072. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, for Retell AI custom functions, you don't configure a URL for GET requests to Retell - instead, you provide your own endpoint URL where Retell will send requests to your server [(1) ]() [(2) ]() . When creating a custom function in Retell AI: - You add your own endpoint URL where Retell will send the request to execute your custom function - You can select from various HTTP methods including GET, POST, PATCH, PUT, and DELETE - Retell sends the request to your specified URL, not the other way around If you're looking for Retell's API endpoints for making requests to Retell's services, the API endpoints begin with ` [(3) ]() . Could you clarify what specific functionality you're trying to implement? This would help me provide more targeted guidance based on the available documentation.
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[3] API - HTTP Request (Post)](https://discord.com/channels/1186424376300679209/1291833656427548795) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
i am trying to make a n8n automatization where i post a request for a call, which works, but then i wany to retrive that call, so i want to make a get request to that call id, for knwo i though it was: GET https://api.retellai.com/v1/calls/{call_id} but it gives an error
@AI Evy i am trying to make a n8n automatization where i post a request for a call, which works, but then i wany to retrive that call, so i want to make a get request to that call id, for knwo i though it was: GET https://api.retellai.com/v1/calls/%7Bcall_id%7D but it gives an error
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer The issue is that you're using the wrong API version in your URL. The correct endpoint for retrieving a call is:
Copy code
GET /v2/get-call/{call_id}
[(1) ]() So your full URL should be:
Copy code
GET <https://api.retellai.com/v2/get-call/%7Bcall_id%7D>
You also need to include the proper authorization header with your API key [(2) ]() :
Copy code
Authorization: Bearer YOUR_API_KEY
Here's the complete request structure you should use in your n8n automation: - **Method**: GET - **URL**: ` (replace
{call_id}
with your actual call ID) - **Headers**: -
Authorization: Bearer YOUR_RETELL_API_KEY
-
Content-Type: application/json
The key differences from what you were trying: 1. Use
/v2/
instead of
/v1/
2. Use
/get-call/
instead of
/calls/
3. Make sure to include the Authorization header This will return the complete call details including transcript, recording URL, call analysis, and other call metadata [(1) ]() .
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy that does not work eithet
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer Looking at the documentation, the correct endpoint for retrieving a call is:
Copy code
GET /v2/get-call/{call_id}
[(1) ]() The JavaScript example shows how to use this endpoint:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
For your n8n automation, you need: - **Method**: GET - **URL**: ` (replace
{call_id}
with your actual call ID) - **Headers**: -
Authorization: Bearer YOUR_API_KEY
The authorization header format is specifically "Bearer YOUR_API_KEY" [(2) ]() . Make sure you're using your actual API key from the dashboard . If it's still not working, double-check: 1. Your API key is correct and properly formatted in the Authorization header 2. The call ID exists and is valid 3. You're using the exact URL format: `
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Manage API Keys](https://docs.retellai.com/accounts/manage-api-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy is it possible to use different assistants trhough one number? i only have one number but 3 agents, i want to specify in the different n8n workflows which assistant should the phone use
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer Yes, you can use different agents through one phone number. There are two main approaches: ## 1. Inbound Call Webhook (Recommended) You can set up an inbound call webhook that dynamically assigns different agents based on your n8n workflow logic [(1) ]() . When you bind a phone number, you can configure an
inbound_webhook_url
[(2) ]() :
Copy code
json
{
  "phone_number": "+14157774444",
  "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "inbound_webhook_url": "<https://example.com/inbound-webhook%22>
}
The inbound call webhook allows you to provide dynamic variables and other fields specific to that call, including potentially overriding the agent [(1) ]() . This webhook would include details like the caller's number, call direction, or other parameters that your n8n workflow can use to determine which of your 3 agents should handle the call [(3) ]() . ## 2. Programmatic Call Creation When creating outbound calls through your n8n workflows, you can specify different agents by using the Create Phone Call API [(4) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
 from_number: '+14157774444',
 to_number: '+12137774445',
}) ;
## Scaling Consideration One agent can handle multiple concurrent calls - up to 10 calls simultaneously according to community discussions [(5) ]() . So you could potentially use one agent with dynamic variables instead of 3 separate agents, depending on your use case [(6) ]() . The inbound webhook approach gives you the most flexibility to dynamically route calls to different agents based on your n8n workflow logic.
​ To learn more, see the sources I considered: [[1] Receive calls](https://docs.retellai.com/deploy/inbound-call) [[2] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[3] Discord message from @masanovets on 2024-11-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1311651291918761984) [[4] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[5] Should I give every customer their assistant or 1 assistant can handle multiple calls?](https://discord.com/channels/1186424376300679209/1239274098308288552) [[6] Discord message from @racsoscar2001 on 2025-07-10](https://discord.com/channels/1186424376300679209/1294891368505937952/1392784945314791526) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy but i want for outbound calls, i want to use n8n to make a call from retell to certain numbers, but i want to change agent dependind on the workflow i have without changing the number, and the calls must be outbound
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer For outbound calls using n8n with different agents on the same phone number, you can specify the agent when creating each outbound call. When you import or create a phone number, you can bind a default outbound agent [(1) ]() [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
 phone_number: '+14157774444',
 termination_uri: 'someuri.pstn.twilio.com',
}) ;
[(1) ]() However, for your use case, the key is that when making outbound calls through the API, you can override the default agent by specifying which agent to use for each specific call in your n8n workflow. The phone number configuration shows that you can set both
inbound_agent_id
and
outbound_agent_id
[(1) ]() [(2) ]() , but when making individual outbound calls, you can specify which agent should handle that particular call. Based on the Discord discussions, other users have successfully integrated Retell AI with n8n for outbound calling [(3) ]() [(4) ]() . One user mentioned they found a solution for triggering calls with their Retell agent from n8n [(3) ]() . To implement this in your n8n workflows: 1. Use the same phone number for all workflows 2. In each n8n workflow, specify the appropriate agent ID when making the outbound call request 3. This allows you to use different agents (your 3 different agents) while using the same phone number for outbound calls The exact API endpoint and parameters for specifying the agent in outbound calls would need to be referenced from the Create Phone Call API documentation, which isn't included in the current sources.
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[3] Don't know how to trigger an outbound call from n8n.](https://discord.com/channels/1186424376300679209/1397716637410398310) [[4] Discord message from @abeltemmy on 2025-05-21](https://discord.com/channels/1186424376300679209/1294891368505937952/1374699779786801213) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
how do i specify in teh http request node in the json the agent? i tried but failed
@AI Evy how do i specify in teh http request node in the json the agent? i tried but failed
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer To specify the agent in your n8n HTTP request node JSON for outbound calls, you need to use the
override_agent_id
parameter [(1) ]() . Here's the correct JSON structure for your n8n HTTP request node:
Copy code
json
{
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "override_agent_id": "your_agent_id_here"
}
For your n8n HTTP request node configuration: - **Method**: POST - **URL**: ` - **Headers**: -
Authorization: Bearer YOUR_RETELL_API_KEY
-
Content-Type: application/json
- Body (JSON) :
Copy code
json
{
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
The
override_agent_id
field allows you to specify which agent should handle the call, overriding any default agent configured for the phone number . Replace
"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
with your actual agent ID from your Retell AI dashboard. This way, each of your 3 n8n workflows can use the same phone number but specify different agents by changing the
override_agent_id
value in the JSON payload.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy i have a question, i use zadarma for the phne number that i have in retell, it has worked perfectly for a week, but the other day i bought another number in zadarma, and without doing anything else but just buying it, the one i had working on retell stopped working, what has ahappened?
a
Thanks for the follow-up, @carlos.sanchez3072. I'll get back to you soon.
### Answer Based on the available sources, there are several known issues with Zadarma integration that could explain why your working number suddenly stopped functioning after purchasing a new number [(1) ]() [(2) ]() [(3) ]() . ## Common Zadarma Integration Issues Several users have reported similar problems with Zadarma numbers in Retell AI: 1. **Zadarma Configuration Requirements**: Zadarma has specific setup requirements that can cause issues, including the inability to whitelist IP ranges (only singular IPs) and requiring calls to an '8888' number for verification, which conflicts with E164 validation [(1) ]() . 2. **SIP Channel Issues**: There are known problems where SIP channels remain active on Zadarma's side after call transfers, which can cause calls to stay open unexpectedly [(4) ]() . 3. **Outbound Call Problems**: Users have reported that Spanish numbers purchased through Zadarma and connected to Retell AI sometimes fail to make outbound calls without any error messages [(3) ]() . ## Troubleshooting Steps To diagnose the issue, check your call history and detailed logs in the Retell AI dashboard [(5) ]() . The logs will contain: - Disconnection reason - SIP error codes - Error messages Common disconnection reasons for failed calls include : -
invalid_destination
-
telephony_provider_permission_denied
-
telephony_provider_unavailable
-
sip_routing_error
## Recommended Actions 1. **Check Zadarma Configuration**: Verify that your original number's configuration in Zadarma wasn't affected when you added the new number. 2. **Review SIP Settings**: Ensure your Elastic SIP Trunking settings are still correct, including termination SIP URI and authentication credentials [(6) ]() . 3. **Contact Zadarma Support**: Since this appears to be a provider-side issue, reach out to Zadarma's support team to verify that adding the new number didn't affect your existing number's configuration [(4) ]() . The timing of the issue (immediately after purchasing a new Zadarma number) suggests this is likely a configuration change on Zadarma's side rather than a Retell AI issue.
​ To learn more, see the sources I considered: [[1] Discord message from @ip32062921 on 2024-10-09](https://discord.com/channels/1186424376300679209/1186462578310910112/1293585161002156195) [[2] Integration Issues with Zadarma Virtual PBX and Retell AILinkedInZadarma.com](https://discord.com/channels/1186424376300679209/1361670748078604369) [[3] Discord message from @_palancar on 2025-02-11](https://discord.com/channels/1186424376300679209/1186462578310910112/1338911149751537664) [[4] SIP Channel Not Terminated After Call Transfer – Request for Forced Termination Option (Zadarma)](https://discord.com/channels/1186424376300679209/1381612643399368805) [[5] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[6] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.