https://retellai.com/?utm_source=discord&utm_medium=seo logo
p
I am trying to create a transfer call node via the retell api but ai evy and the documentation online dont specify what the node type should be set to in order to do this. Can you provide some details on what the node type should be and how to make a transfer call node via the api?
actually i solved that issue by creating the nodes in the dashboard and reading them from the api. But now im not sure how to set the phone number in the transfer node via the api as its not returned
f
I can help! The issue is that the Retell API likely doesn't return the phone number in the transfer node for security reasons (to prevent exposing sensitive numbers). Are you trying to update an existing transfer node's phone number via the API, or create a new one programmatically? @punk8357
s
Hi @punk8357 you can set the transfer phone number in a Call Transfer Node using dynamic variables.
p
Create a new one programmatically
f
I can definitely help you create transfer nodes programmatically via the Retell API! Based on the API behavior you've seen, the node type for transfer calls is likely "transfer_call" or "call_transfer", and you'll need to include a phone_number field in the payload even though it's not returned in GET requests. I'd be happy to help you get this working properly. Would you like to discuss this in more detail privately? I can provide you with the exact API structure and help implement this for your use case.
p
Sure! I did figure it out I think actually using the read convo flow api. But would be good to know for sure what the phone number field is
f
Can you just send me a message