Agents
Create an Agent
Create a new agent
POST
/
agents
Authorizations
Authorization
string
headerrequiredYour API key, e.g. caldLiveDe39a3accb206dd615f30d118e519df0
Body
application/json
name
string
The name given to the agent in the MyCald Dashboard
maxCallDuration
number
default: 10The maximum duration of a call in minutes, between 1 and 60
recordingSettings
object
instructions
string
The instructions for the agent, for example, Hi, convince the prospect to buy the product
greeting
string
The greeting for the agent, for example, Hi there!
transferSettings
object
machineSettings
object
voicemailSettings
object
webhookSettings
object
smsSettings
object
voice
string
default: standard_maleThe voice ID of the voice to use for the agent, for example, standard_male
Response
200 - application/json
status
string
Whether the agent was successfully created, can be either success
or failed
agentId
string
Unique identifier for the agent (only returned if the agent was successfully created)