Call control
Collect DTMF input
Changed onCollects DTMF keypad input from the caller on the active call identified by id.
post/v1/calls/{id}/collect
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/calls/{id}/collect
- AuthHTTP bearer
Path parameters
idstring uuid required
The uuid of the call.
Request body
Example request
{
"max_digits": 5,
"timeout": 10,
"termination_character": "#",
"max_attempts": 3,
"prompt": {
"play": "https://examples.com/prompt.wav",
"say": {
"text": "Press 1 for sales, press 2 for support, or press 3 to repeat this menu."
}
}
}Response
Returns a success confirmation. DTMF collection starts.
Example response
{
"success": true
}Changes
- info
added the non-success response with the status
- info