Collect DTMF input
Call control
Collect DTMF input
Collects DTMF input in an active call.
POST
Collect DTMF input
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
Call ID.
Body
application/json
DTMF collection parameters.
Maximum number of digits to collect.
Required range:
1 <= x <= 20Example:
5
Timeout for digit collection in seconds.
Required range:
1 <= x <= 60Example:
10
DTMF character that ends input collection.
Example:
"#"
Maximum number of attempts.
Example:
3
Prompt to play before collecting digits. Play a prerecorded audio file or use Wavix Text-To-Speech.
Response
DTMF collection started.
Indicates whether the request was successful.
Example:
true