POST
/
agents
/
{agentId}
/
call

Authorizations

Authorization
string
headerrequired

Your API key, e.g. caldLiveDe39a3accb206dd615f30d118e519df0

Path Parameters

agentId
string
required

The agent ID of the agent

Body

application/json
phoneNumber
string
required

The phone number of the individual or business you're calling. - For international numbers, include the country code without extra formatting (such as parentheses or dashes), for example, '+441234567890'. - For U.S. numbers, although formatting is allowed, it's advisable to remove any additional characters for consistency.

prospectName
string

The prospectName is the default variable that is always present for all agents. It can be used in your agent scripts on the MyCald Dashboard by typing {prospectName}.

email
string

The email address of the contact, this is optional

yourCustomVariable
string

Feel free to add more custom variables to the list, depending on the use case. Once configured in the agent page of the MyCald Dashboard, they will automatically become available in the API

Response

200 - application/json
status
string

Whether the call was successfully initiated, can be either success or failed

callId
string

Unique identifier for the call (only returned if the call was successfully initiated)