auth

Verify Otp

Verify OTP and complete authentication.

Auth-only: does NOT create users. User creation happens at /auth/register. Determines is_new_user via read-only Users service lookup (best-effort).

post/auth/verify-otp

Request body

emailstring email nullable
phone_numberstring nullable
otp_codestring required

Response

Successful Response

successboolean required
user_idstring uuid nullable
access_tokenstring nullable
refresh_tokenstring nullable
is_new_userboolean
account_state'pending_email' | 'complete' nullable
next_step'email' | 'app' nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.