A standard OTP request needs an approved, active account, an active API key with the “Send OTP” permission and an available SMS balance. Keep the key on your server only; never put it in browser or mobile app code.
You send the API key in the api_key field of the JSON body. No Authorization: Bearer header is used.
For the standard /otp/send request, api_key and mobile are required; digits and sms_lang are optional. mobile must be a Türkiye number (905XXXXXXXXX).
Verifying the code is your system’s job; the API has no verification endpoint. Store otp_code on your server with a short validity period (for example 3–5 minutes), compare it with the code the user enters and delete it after use. Do not send the code to the browser or mobile app.
No. After sign-up, SMS verification and the information/document steps, your account is reviewed and approved; the API key is created in the panel after approval.
In the standard /otp/send flow the text comes from a fixed template. For your own text and approved Sender ID, use /otp/detailed; the text must contain TS-CODE and the key needs the “Advanced OTP” permission.
Create your account; after approval, get your API key from the panel and send your first request with the documented example.