https://retellai.com/?utm_source=discord&utm_medium=seo logo
Get Call ID from Custom Function
# ❓・bug-report
s
When using Custom Functions with Retell LLM, is there a way to pass the Retell Call ID in the POST JSON?
n
When you are using custom tools, you create an endpoint in your server to which the retell LLM will make a
POST
request, as described here: https://docs.retellai.com/retell-llm/tool-calling In this post request body, you get the call details under
req.body.call
which can be seen in the docs above. Is this what you were looking for?
s
ah yes, that's exactly it. Looks like my error was an error in my django code, not the request itself. Thanks legend.