Send a Failover Message

RESPONSE PARAMETERS


KEYDESCRIPTION
trackingIdThe tracking Id of the failover message.
typeThe type of the flow channel. Supported values: Sms, Viber, Voice.
fromThe sender id (SMS step).
toThe recipient number.
ttlTime (in minutes) until the message expires. SMS: integer, 1–1440 (max 24 hours). Viber: decimal (1 decimal place), 0.5–1440.0 (max 24 hours).
expireOnDeliveryWhen true, delivered messages are treated as expired after TTL passes if no Seen status is received (enforced by the messaging provider). Viber only. Default: false.
messageDetails for the failover message.
bodyThe text of the SMS message.
flashIndicates if the message is a flash SMS.
labelThe label for the message. SMS: in message. Viber: step-level, max 350 characters.
transcodeIf true/false, the message body will/will not be transcoded. If omitted, the application-level setting is used.
orderThe order of the step in the failover sequence.
failoverOnStatusesArray of status strings that trigger the next channel. SMS: FAILED, UNDELIVERED (default: Undelivered, Failed). Viber: EXPIRED, FAILED, UNDELIVERED (default: Expired, Failed, Undelivered). Voice: Busy, NoAnswer (default). Case-insensitive.
dialPlansVoice only. Combination of action verbs to execute.
dialPlans.verbsArray of SAY and PLAY verbs. See possible values in the API reference.
senderInfoTrackingIdViber only. The unique sender id (e.g. from Routee Platform → Applications).
inboundUrlViber only. Callback URL for inbound messages.
textViber. The text of the message. Max 1000 characters. Use [~{labelName}] for personalized content.
imageUrlViber. Image URL. Max 1000 characters; must be https. Recommended size: 400KB for optimal delivery.
viberFileViber. File attachment.
viberFile.fileNameFile name. Max 25 characters.
viberFile.fileTypeFile type. Supported types include: doc, docx, rtf, pdf, txt, xls, xlsx, csv, odt, ods, and others (see API validation).
viberFile.fileUrlFile URL. Max 1000 characters; must be https. Recommended file size: 600KB for optimal delivery.
actionViber. Button/action for the message.
action.captionButton text. 1–30 characters.
action.targetUrlButton target URL. Max 1000 characters; must be a valid URL.
callbackCallback (webhook) configuration. See Callbacks (Webhook).
callback.strategyWhen the URL is called: on every status change (OnStep) or when a final status is reached (OnCompletion).
callback.urlURL to which the callback payload is posted. See Failover Callbacks for details.
Language