Templates
GET https://connect.routee.net/failover-otp/otp/templates (no auth) returns all Viber OTP template types with their template UUID (id), parameters, and example text. Use id as templateId in a ViberOtp step. Template IDs may vary per deployment; always use the values returned by GET /otp/templates.
7.1 Template reference (9 types)
| type | name | required_params | optional_params |
|---|---|---|---|
| basic | Basic OTP | pin | — |
| basic_5min | Basic OTP valid for 5 minutes | pin | — |
| with_business_name | OTP with business/platform name | pin, business_name | — |
| with_validity | OTP with code validity time | pin, validity_time | — |
| with_type_and_validity | OTP with code type & validity time | pin, pin_type, validity_time | — |
| with_business_and_validity_hours | OTP with business name & validity (hours) | pin, business_name, validity_time | — |
| with_type | OTP with type of code | pin, pin_type | — |
| with_action | OTP with action description | pin, action_name | — |
| with_reason | OTP with business name & code reason | pin, business_name, code_reason | — |
Updated 1 day ago
What’s Next
