Create a new dial
Creates a one-off dial session, either for phone dials or browser dials.
Body
Required. The ID of the agent.
The ID for the voice on the call. If not specified, the default voice for the agent will be used.
Set to true if this is a browser call.
Any macros in the call agent prompt.
The ID for the phone number to use to start the call. Required if this is a phone dial.
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.
Required if this is a phone dial, in E.164 format.
The prompt/model version to use for this call, if not specified, the default on the agent is used.
Optional. The URL for the webhook for this dial session.
Response
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.