Gather DTMF from a call
Use this request to gather DTMF - digits entered by user. Gather command can be nested with a playback
or a say
.
Gather DTMF from a channel call
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/gather
Authorizations
Path parameters
workspaceIdstring · uuidrequired
The ID of the workspace
callIdstring · uuidrequired
The ID for a call
channelIdstring · uuidrequired
The ID for a channel
Body
maxNumKeysinteger
endKeystring · enum
Options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, *
, #
timeoutinteger
retriesinteger
playbackPlayback sound to Call
saySay text to Call
inputstring · enum
Options:
dtmf
, speech
, dtmf speech
speechLocalestring · enum · default: en-US
Example:
en-US
Options:
de-DE
, en-AU
, en-GB
, en-US
, es-US
, it-IT
, ja-JP
, ko-KR
, pt-BR
, th-TH
, zh-CN
Responses
application/json
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
202
400
404
422
Last updated
Was this helpful?