POST
/
v1
/
phoneCalls

Body

application/json
teamId
object
required

The unique ID of the Team, phoneCall associated with.

phoneNumberId
string

The ID of the phone number associated with the call.

callTemplateId
string
required

The ID of the call template used for the call.

nameOfHuman
string
required

The name of the human making the call to.

toPhoneNumber
string
required

The phone number the call is made to.

toEmailAddress
string

The email of the person, the call is made to.

status
enum<string>

The status of the phone call. Possible values: "queued", "ringing", "inProgress", "busy", "noAnswer", "canceled", "failed", "completed".

Available options:
queued,
ringing,
inProgress,
busy,
failed,
noAnswer,
cancelled,
completed
promptVariableValues
object[]
required

Array of prompt variables used in the call.

record
boolean
default: false

Flag indicating whether recording is enabled for the specific phone call.

Response

200 - application/json
data
object
required