POST
/
api
/
v1
/
call
/
{widget_id}
{
  "message": "<string>",
  "meta": {},
  "data": {
    "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "direction": "<string>",
    "from_number": "<string>",
    "to_number": "<string>",
    "telephony_provider": {
      "provider_name": "twilio",
      "call_id": "<string>",
      "response_body": {}
    },
    "prompt_dynamic_variables": {}
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Path Parameters

widget_id
string
required

Widget ID to be used for initiating the call. It must be connected to Twilio, Plivo or Telnyx.

Body

application/json

Payload containing the phone number and other details.

Response

201
application/json

Call successfully initiated

The response is of type object.