Body
Create a new dial
Required. The ID of the agent.
"61ccefdf-ea02-4f49-811b-1241f8e20d26"
Optional. The URL for the webhook for this dial session.
"https://test.com/webhook"
Set to true if this is a browser call.
false
Required if this is a phone dial, in E.164 format.
"+11234567890"
The ID for the phone number to use to start the call. Required if this is a phone dial.
"1caec78c-4bba-477d-82cf-bcfce2b73856"
The ID for the voice on the call. If not specified, the default voice for the agent will be used.
"61ccefdf-ea02-4f49-811b-1241f8e20d26"
An optional configuration for the voice being used.
The volume level for the voice on the call, from -300 (quiet) to 300 (loud).
-100
The prompt/model version to use for this call, if not specified, the default on the agent is used.
"61ccefdf-ea02-4f49-811b-1241f8e20d26"
The number of minutes before the call will be timed out. If not specified, there will be no limit on the calls, it's recommended to provide something here.
10
The ID of the extractor to use for this call, if not specified, the default on the agent is used.
"61ccefdf-ea02-4f49-811b-1241f8e20d26"
Any macros in the call agent prompt.
A list of keywords to be used in the call.
Response
Successful operation
You can pass this dial token to Elto's web UI, or use this token to authorize any requests for this dial. It's safe to pass this token to a client -- it only allows users to run requests against the dial associated with this session.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidGVzdCJ9.9EQaLsDRKDVXLUVLR9JgDTjEULaT2-OMbHayQAzgZH8"
"61ccefdf-ea02-4f49-811b-1241f8e20d26"
"57555c5e-5a56-49ca-8fe8-24946d2fbc3e"