POST
/
campaign
/
trigger-call
curl --request POST \
  --url https://subverseai.com/api/campaign/trigger-call \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "phone_number": "+912298765432",
  "metadata": {
    "email": "[email protected]",
    "name": "John Doe",
    "id": "JD75816540"
  },
  "botNumber": "+912298765432",
  "useCase": "test_case",
  "options": {
    "transcriptLanguage": "hi",
    "allowedOverallInterruptions": "True",
    "allowedInterruptionsInitially": "False",
    "ttsLanguage": "hi",
    "voiceId": "IvLWq57RKibBrqZGpQrC",
    "speed": "2",
    "transferNumber": "+912298765432",
    "communicationMethod": "two_way",
    "dtmfEnabled": "False",
    "initialMessage": "Hi, ${name} how can I assist you today?",
    "additionalContext": "The caller is asking about a refund request submitted yesterday."
  },
  "no_of_retries": 1,
  "retry_after_in_hrs": 1,
  "start_working_hour": "09:00",
  "end_working_hour": "20:00",
  "timezone": "Asia/Kolkata"
}'
{
  "responseCode": 200,
  "message": "Call triggered successfully",
  "data": null
}

Authorizations

x-api-key
string
header
required

Authentication header containing API key from SubVerse dashboard.

Body

application/json

Response

200 - application/json

Returns error or success response

The response is of type object.