Gather DTMF using audio prompt in a conference
Play an audio file to a specific conference participant and gather DTMF input.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Uniquely identifies the conference.
Body
Unique identifier and token for controlling the call leg that will receive the gather prompt.
"v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"
The URL of the audio file to play as the gather prompt. Must be WAV or MP3 format.
"http://example.com/gather_prompt.wav"
The name of the media file uploaded to the Media Storage API to play as the gather prompt.
Minimum number of digits to gather.
x >= 11
Maximum number of digits to gather.
x >= 110
Maximum number of times to play the prompt if no input is received.
x >= 13
Duration in milliseconds to wait for input before timing out.
30000
Digit that terminates gathering.
"#"
Digits that are valid for gathering. All other digits will be ignored.
"0123456789"
Duration in milliseconds to wait between digits.
3000
Duration in milliseconds to wait for the first digit before timing out.
10000
Whether to stop the audio playback when a DTMF digit is received.
true
URL of audio file to play when invalid input is received.
Name of media file to play when invalid input is received.
Identifier for this gather command. Will be included in the gather ended webhook. Maximum 100 characters.
100Use this field to add state to every subsequent webhook. Must be a valid Base-64 encoded string.
"aGF2ZSBhIG5pY2UgZGF5ID1d"
Response
Successful response upon making a conference command.
{ "result": "ok" }