Verify Login Code
POST/api/portal/auth/otp/verify
Exchange a valid 6-digit email code for a bearer token. email and code are required. Invalid or expired codes return a 422 validation error.
After 5 wrong codes for the same email, verification locks for 15 minutes and returns 429 (the lock outlasts any code issued before it). A correct code clears the counter.
Request
Responses
- 200
- 422
- 429
OK
Response Headers
Content-Type
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Too Many Requests
Response Headers
Content-Type