Actions2
Voice → 🗣️ Interactive Voice (Input)
AI-generatedSummary
Make a call, play a question via IVR, and collect DTMF/voice input. Result is sent to a callback URL.
Inputs
- from (required) — Internal extension of employee/bot. Used as CallerID.
- to (required) — Customer phone number without +.
- idshop — Shop/Branch ID for billing. Leave 0 for Default.
- askText (required) — Question text the customer will hear.
- validInputs (required) — Space-separated list of valid DTMF buttons.
- callbackUrl — URL where LiraX sends the result of key presses.
Output shape
LiraX API response object containing call status and detected input digits.
Phone numbers are normalized by stripping non-digit characters. The API command sent is 'AskQuestion'. If callbackUrl is provided, LiraX POSTs the detected input to that URL.
Examples
Example 1: Survey call: ask customer to rate 1-5, send result to webhook
from=101, to=380501234567, askText=Оцените качество от 1 до 5..., validInputs=1 2 3 4 5, callbackUrl=https://example.com/lirax/callback