Verify OTP
Verify OTP
Verify the OTP and complete phone-based authentication, returning JWT tokens.
POST
Verify OTP
On success the user session is marked as logged in and JWT tokens are returned. The OTP must be verified within 10 minutes of sending; after 3 failed attempts a new OTP must be requested.
Save the tokens
Persist the tokens immediately under the keysflexy_access and flexy_refresh.
| Token | Expiration |
|---|---|
flexy_access | 1 hour |
flexy_refresh | 30 days |
Body
application/json