POST
/
dials
curl --request POST \
  --url https://api.vogent.ai/api/dials \
  --header 'Content-Type: application/json' \
  --data '{
  "webhookUrl": "https://test.com/webhook",
  "browserCall": false,
  "toNumber": "+11234567890",
  "fromNumberId": "1caec78c-4bba-477d-82cf-bcfce2b73856",
  "aiVoiceId": "61ccefdf-ea02-4f49-811b-1241f8e20d26",
  "callAgentId": "61ccefdf-ea02-4f49-811b-1241f8e20d26",
  "versionedModelId": "61ccefdf-ea02-4f49-811b-1241f8e20d26",
  "timeoutMinutes": 10,
  "callAgentExtractorId": "61ccefdf-ea02-4f49-811b-1241f8e20d26",
  "callAgentInput": {},
  "keywords": [
    "<string>"
  ]
}'
{
  "dialToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidGVzdCJ9.9EQaLsDRKDVXLUVLR9JgDTjEULaT2-OMbHayQAzgZH8",
  "sessionId": "61ccefdf-ea02-4f49-811b-1241f8e20d26",
  "dialId": "57555c5e-5a56-49ca-8fe8-24946d2fbc3e"
}

Body

application/json

Create a new dial

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.