Call control
Collect DTMF input
Collects DTMF keypad input from the caller on the active call identified by id.
post/v1/calls/{id}/collect
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": "Please enter your PIN"
}
}
}Response
Returns a success confirmation. DTMF collection starts.
Example response
{
"success": true
}