POST
/
api
/
v1
/
calls

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
Input data for creating a new interaction
agentId
string
required

Your agents UUID

channel
enum<string>
required

The interaction channel, you can send your agent to call, sms, whatsapp or webchat

Available options:
call,
sms,
whatsapp,
webchat
skillId
string
required

Your skill UUID

customerName
string
required

The customers name you're trying to reach

customerPhone
string
required

The customers phone number you're trying to reach

Response

200
application/json
Initiate call
id
string
required

Interaction ID

status
string
required

Interaction status

agentPhone
string
required

Agent phone number

customerPhone
string
required

Customer phone number

agentId
string
required

Agent ID

customerId
string
required

Customer ID

skillId
string
required

Skill ID

customerName
string
required

Customer name

transcription
string
required

Transcription

recordingUrl
string
required

Recording URL