POST
/
make_call
Make Call
curl --request POST \
  --url https://api.toingg.com/api/v3/make_call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "phoneNumber": "<string>",
  "campID": "<string>",
  "whisperAsr": false,
  "startMessage": true,
  "clearMemory": false,
  "extraParams": {}
}'
"<any>"

Overview

Initiate a new call by sending a POST request to the /make_call endpoint. This allows you to schedule and execute calls with various configuration options.

Request

Request Body

{
  "name": "string",
  "phoneNumber": "string",
  "campID": "string",
  "whisperAsr": boolean,
  "startMessage": boolean,
  "clearMemory": boolean,
  "extraParams": {}
}

Parameters

ParameterTypeRequiredDescription
namestringYesName of the receiver
phoneNumberstringYesPhone number of the receiver
campIDstringYesCampaign ID
whisperAsrbooleanNoEnable/disable whisper ASR
startMessagebooleanNoWhether to start with a message
clearMemorybooleanNoClear previous conversation context
extraParamsobjectNoAdditional parameters for the call

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.