Frequently asked questions
Short answers to common questions about OTP.ps.
Which numbers can receive codes? Palestinian mobiles on Jawwal (059) and Ooredoo (056). See Phone numbers.
What does the message look like? Your business's name, then for example "رمز التحقق 4821، صالح 5 دقائق، لا تشاركه." or "Your verification code is 4821. Valid for 5 min. Don't share it." The wording depends on purpose and locale.
Can messages come from my own name? By default they come from OTP.ps's sender name and start with your business's name. You can ask for your own sender name on the dashboard (Settings); OTP.ps registers it with the gateway, which can take days.
How much does it cost? You pay per text message from a prepaid balance; test keys are free. One code is one message. Contact OTP.ps for package prices.
Am I charged if the message fails? No. If the gateway refuses it, the credit is returned at once.
Can I resend a code? Yes: send again after 30 seconds. The new code replaces the old one.
Can I choose the code or its length? OTP.ps generates the code. You choose 4 or 6 digits and how long it is valid (1–15 minutes) in Settings.
Do you tell me when a message is delivered? No, only whether the gateway accepted it.
Can I call the API from my website's JavaScript or my mobile app? No. Call it from your server; your site or app talks to your server. The API doesn't allow browser calls (no CORS).
Is there a sandbox? Yes: test keys, plus sandbox numbers that simulate each outcome.
Can an AI coding assistant integrate OTP.ps for me? Yes: point it at this documentation, /llms.txt or the OpenAPI document, and have it test with a test key first.
I lost my API key. Keys are shown once. Revoke it and create a new one on the dashboard.