REST Documentation

View InboundXML Docs

Send Digits To Call

DTMFs, aka touch tone signals, can be sent to a call by simply including the PlayDtmf parameter in a POST to the call request URI.

Request URI

Digits can be sent to a call using HTTP POST on the URI below.

POST https://api.telapi.com/v1/Accounts/{AccountSid}/Calls/{CallSid}

Parameters

The parameters below are used to specify the request behavior.

Parameter Description
required
the digits 0-9, #, *, W, or w
Allowed Value:
12ww34
optional
Specifies which leg of the call DTMF tones will be played on. "in" to send tones the incoming caller, "out" to send tones the out going caller, or "both" to send tones to both callers.
Default Value:
in
Allowed Value:
in or out

Example Response

An example of what a response to a send digits request may look like is below.



Helper Example

Our helper libraries simplify the task of making REST API calls while programming. The code below will perform a request to TelAPI.