https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> Your create call document s...
# ❓・ai-evy-support
c
@AI Evy Your create call document states I need calltype, from number, to number, dynamic variables, direction, callid, agentid, callstatus. But when I post a html request using only from nubmer, to number and dynamic variables, the call still gets through. why?
a
Thanks for tagging me @chilly_november. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Dynamic Variables]() * [Outbound calls (make calls)]() * [Populating dynamic variables (caller details) based on the entity provided by the user (inbound)]() * [Populate Dynamic Variables (Outbound Web Call)]() -----------------------------
### Answer Looking at the outbound call documentation, only
from_number
and
to_number
are required parameters for creating a phone call [(1)]() . Many of the variables you mentioned like
current_agent_state
,
direction
,
call_type
are actually system variables that Retell automatically provides [(2)]() . The
retell_llm_dynamic_variables
field is optional and used for customization [(3)]() . Here's an example of a valid minimal outbound call request:
Copy code
typescript
const registerCallResponse = await retell.call.createPhoneCall({
  from_number: '+14157774444', // replace with the number you purchased
  to_number: '+12137774445',  // replace with the number you want to call
});
[(1)]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
can you elaborate where it states only from and to number are required?
@eviewang_ can you elaborate where it states only from and to number are required?
@AI Evy can you elaborate where it states only from and to number are required?
a
Thanks for the follow-up, @chilly_november. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [SDKs]() * [Outbound calls (make calls)]() * [Build your first phone agent in 5 minutes]() * [Dynamic Variables]() -----------------------------
### Answer I apologize for my previous response. After reviewing the provided documentation carefully, I cannot find an explicit statement that only
from_number
and
to_number
are the required parameters. While the documentation shows examples using these parameters [(1)]() , it does not specifically state which fields are required versus optional. For the most accurate information about required parameters, I recommend checking the [Create Phone Call API Reference]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy Thats the question. Even though it doesnt state it, it still works and i want to know why. Are your documentations outdated?
a
Thanks for the follow-up, @chilly_november. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Dynamic Variables]() * [Outbound calls (make calls)]() * [API Key Overview]() -----------------------------
### Answer I cannot definitively answer why the call works with fewer parameters than expected, as this behavior is not documented in the provided information sources. I also cannot make any statements about whether the documentation is outdated since that information is not present in the sources. For the most accurate and up-to-date information, I recommend: - Visit [Contact Sales]() - Visit [https://github.com/RetellAI/]() Would you like me to provide a general answer about the documented parameters instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.