Create a Call
Create a call.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.
Authentication
Path parameters
Request
The URL to handle the call. Required if ApplicationSid and Laml/Twiml are not used.
The unique identifier of the application used to handle the call. Required if Url and Laml/Twiml are not used.
Whether the request to Url is a GET or a POST. Default is POST.
The URL SignalWire will request if errors occur when fetching the Url.
Whether the request to FallbackUrl is a GET or a POST. Default is POST.
The URL SignalWire will send webhooks to on every requested StatusCallbackEvent event. See the Voice status callback webhook for the payload your URL will receive.
Whether the request to StatusCallback URL is a GET or a POST. Default is POST.
The status events that trigger a SignalWire webhook. Valid values: initiated, ringing, answered, completed, ringing_forwarded, ringing_queued. Defaults to completed.
The digits to press after a call is connected. Valid characters are 0-9, #, *, w (wait 0.5s), and W (wait 1s).
The time in seconds SignalWire will wait before assuming the call has no answer. Default is 60 seconds.
Whether a human or machine picked up the call. Default is none.
The time in seconds SignalWire will wait for machine detection before timing out. Default is 30 seconds.
How many milliseconds of voice to decide it is a machine. Default is 2400 milliseconds.
Number of milliseconds to wait for voice to finish. Default is 1200 milliseconds.
Number of milliseconds to wait for initial voice before giving up. Default is 5000 milliseconds.
How many words to count to decide it is a machine. Default is 6.
Whether or not to execute machine detection asynchronously. Default is false.
Whether the request to AsyncAmdStatusCallback is a GET or a POST. Default is POST.
Whether or not to report partial (interim) results to the callback url. Default is false.
Whether or not to record a call. Default is false.
The number of channels in the recording. Default is mono.
Specifies whether to record the inbound, outbound, or both audio. Default is both.
The URL to request when recording is available. See the Recording status callback webhook for the payload your URL will receive.
Whether the request to RecordingStatusCallback URL is a GET or a POST. Default is POST.
The recording status events that trigger a webhook. Space-separated list. Valid values: completed, in-progress, absent. Default is completed.
Whether leading and trailing silence is trimmed from a recording. Default is trim-silence.
The maximum price in USD acceptable for the call to be created. Format: up to 4 decimal places.
Response
The formatted number that received the call. Alias for formatted_to.
The formatted number that initiated the call. Alias for formatted_from.
Who/what the call was answered by.
A Map of available sub-resources.
The Mean Opinion Score for audio quality (1.0-5.0).
The average round-trip time for audio in milliseconds.
The minimum round-trip time for audio in milliseconds.
The maximum round-trip time for audio in milliseconds.