Cascade REST API
Everything you need to integrate login OTP: endpoints, errors, limits, webhooks, and SDKs.
Cascade API key — Bearer authorization
How to create an API key in the Cascade cabinet and use Authorization Bearer for cascade.kz/api.
Cascade token balance
How to understand WhatsApp, Telegram and SMS token charges in Cascade.
Cascade API errors
HTTP codes 401, 422, 429 and the success field in Cascade OTP API responses.
Cascade API request examples
Ready curl examples for send, verify, shorten and links/send for Cascade OTP.
Cascade send history
Where to view OTP and delivery history in the Cascade cabinet.
Cascade API rate limits
Limits on OTP send frequency and verify attempts in Cascade.
Cascade API response formats
Structure of Cascade JSON responses: success, message, expires_in, short_url.
POST /otp/send — send OTP
How to send a one-time code via Cascade API: phone, purpose, channel, link.
Cascade API short links
Shorten and send links: POST /links/shorten and POST /links/send.
Cascade delivery and response statuses
How to interpret success, message and typical OTP statuses in Cascade.
Cascade balance top-up
How to top up tokens for sending OTP via WhatsApp, Telegram and SMS in Cascade.
POST /otp/verify — verify code
Verify an OTP code via Cascade API: phone, code, purpose.
Cascade Webhooks — section status
Information about Cascade OTP webhooks: rely on synchronous send/verify responses.