Send OTP
POST /send/otp
Generates a cryptographically secure 6-digit passcode and sends it to the specified email address. No branding, just the code.
Endpoint
What recipients see
Request
Request Body
Response
HTTP 200 OKBehavior
- 6-digit numeric codes generated with
crypto/rand - Stored in Redis with 10 minute TTL
- One active OTP per email at a time
- Single use — deleted immediately after verification