Voice / Call Controls

Send DTMF tones on a call leg

Send DTMF (touch-tone) digits on a call leg, e.g. to navigate an IVR.

post/api/v1/voice/calls/{call_id}/dtmf

Request

  • Base URL: https://api.frejun.ai
  • URL: https://api.frejun.ai/api/v1/voice/calls/{call_id}/dtmf
  • Auth: API key in header x-api-key

Path parameters

call_idstring required

Request body

leg_idstring nullable

Leg to send the tones on (cl_ prefix). Defaults to the primary leg.

digitsstring required

DTMF digits to send. Allowed characters: 0-9, *, #, A-D.

duration_msinteger

Duration of each tone in milliseconds (40–1000).

Example request

{
  "digits": "1234#",
  "duration_ms": 120
}

Response

Successful Response

request_idstring required

Identifier for this control request. Reuse it to correlate retries and webhooks.

playback_idstring nullable

Identifier of the started playback (pb_ prefix). Only returned by the play action.

Example response

{
  "request_id": "req_9f8e7d6c5b4a3f2e1d0c9b8a"
}

Changes

No recorded changes to this operation across all 1 revision of this API.