POST
/
v1
/
call

This endpoint generates a new call.

Request

Body Parameters

  • agent_id (string, required): The ID of the agent that will be making the call.
  • variables (object, required): The variables required by the agent.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent_id
string
required

The ID of the agent that will be making the call

variables
object
required

The variables required by the agent

Response

200 - application/json
call_id
string

The ID of the call generated