One-time codes
You sign in with your phone number and a six-digit code sent to you. No code, no entry — even if someone knows your number.
What you see
Codes expire within minutes and lock after three wrong attempts.
The interesting parts of healthcare are the medication and the people. Everything underneath should be predictable, fast, and well-defended.
No mystique. Here is what happens when you sign in and when your data travels — in plain words.
You sign in with your phone number and a six-digit code sent to you. No code, no entry — even if someone knows your number.
What you see
Codes expire within minutes and lock after three wrong attempts.
Where passwords exist, we store a bcrypt hash — a one-way scramble. Nobody at Sanpha can read your password, including us.
What we store
bcrypt is one-way: we can check a password is right, never read it back.
Every connection between the app and our servers is encrypted with TLS. Consultations, chats and orders never travel in the clear.
Every connection
The app refuses plain connections — video, chat and orders all travel encrypted.
Six-digit code, three attempts before lock-out, bcrypt-hashed. The basics done well.
TOTP enrolment for accounts that want a second factor.
15-minute access tokens, 7-day refresh, revocable on the server.
Every sensitive action is logged. Admins can investigate, you can request a copy.
TLS in transit, AES at rest. Health data is treated as sensitive by default.
Separate, explicit consent for AI prescription parsing and analytics.
The honest inventory. We hold what the service needs to work — no more — and access follows the job, not curiosity.
| Data | Why we hold it | Who can see it |
|---|---|---|
| Identity & contact | Your name, phone and email run your account, OTP sign-in and notifications. | You, and support staff when you ask for help. |
| Health records & prescriptions | Consultation notes and e-prescriptions so your care carries over between visits. | You, and only the doctors and pharmacists you consult. |
| Orders & addresses | Delivery addresses and order details make pharmacy delivery and ambulance dispatch possible. | You, the pharmacy handling your order, and the courier or driver on the active job. |
| Payments & receipts | Amounts in MAD, invoices and receipts — for your records and ours. | You, and finance staff who process refunds and payouts. |
You can request an export or deletion of your data at any time from the app or by writing to us. AI prescription parsing and analytics run only with your separate, explicit consent.
Verify identity, log every action, encrypt traffic, and let you delete your account.
Replace your doctor, guarantee no platform ever has a bug, or detect malice without you reporting it.
Sell your health data, run ads against it, or share it with third parties without your explicit consent.
Write to security@sanpha.ma. We acknowledge within one working day and credit you publicly once a fix is shipped, if you'd like.
Please give us reasonable time to ship a fix before any public disclosure — we move quickly and we will keep you posted.
Plain language. No dark patterns. No selling, ever.