channels
voice
calls-markup-language
markup-language-instructions
Capture DTMF callback API
When the Infobip platform finishes collecting DTMF input requested by a CaptureDtmf instruction, it generates a request to the callback URL configured on that CaptureDtmf instruction. The request carries the call context together with the captured DTMF sequence.
postWebhookreceive-markup-language-capture-dtmf
Payload
Example payload
{
"callId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "41793026834",
"to": "41793026835",
"direction": "INBOUND",
"endpoint": {
"type": "PHONE",
"phoneNumber": "41793026834"
},
"startTime": "2025-04-04T11:38:01.724Z",
"capturedDtmf": "1234"
}Response
OK
Example response
{
"actions": [
{
"say": {
"language": "en",
"voicePreferences": {
"voice": "Joanna"
}
}
}
]
}Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.