Answer
- Sign in to the Cascade dashboard.
- Open API keys and click Create API key.
- Enter a name and the site address (for example,
https://example.kz), then select 6 digits (default) or 4 digits for the OTP. - Click Create key. The key appears in the list immediately. You can show and copy it whenever you need it.
Cascade automatically binds the key to the domain in the address you enter.
Store the token on your server in environment variables or a secrets manager.
See how to include your key and domain in the first request.
Let's go deeper. In products, OTP is needed when you must quickly confirm that a person controls the given phone number. Classic scenarios: registration, login, password change, payment confirmation, or accepting terms. The user enters a number → your server requests code delivery → the person reads the message → enters the Verification Code → your server verifies the code and continues the business process.
From a security perspective, a one-time code reduces the risk of simple attacks with a guessed password, but it does not remove the need for rate limits, API-key protection, antifraud, and clear resend UX. From a product perspective, delivery speed, channel price, and transparent error diagnostics matter.
If you are comparing the market, also study the comparisons and the article “What is OTP”. For integration start with the API and SDK examples.
How this relates to Cascade
Cascade is an outbound delivery service for OTP and short links to the user's real phone via WhatsApp or Telegram. It is not a disposable phone numbers marketplace and not virtual-number rental for signing up on third-party sites. API base URL: https://cascade.kz/api. Authorization — Authorization: Bearer <token> from the company cabinet. Price orientation — from 3 ₸; pricing: WhatsApp/Telegram = 3 ₸, SMS = 8 ₸ (see the documentation).
Practical steps
- Register a company and get an API key.
- Call
POST /otp/sendwith the user's number. - The user enters the code in your form.
- Confirm the code via
POST /otp/verify. - On errors see the error reference and FAQ.
Setup usually takes about three minutes. Also useful: SDK, use cases, comparisons and blog.
Limits and honest expectations
Device delivery depends on the network, user settings, and channel availability. Check the send history in the dashboard. If the message does not arrive, check the number, channel, and balance, and follow the resend limits. When SMS is available, you can enable it as a fallback in the cascade for your API key.