Verify email with code
Client
Verify email with code
Verify email address with a 6-digit code.
Successfully verified users will receive a session token.
Browser email clicks should use GET /api/auth/email/verify-link.
POST /api/auth/email/verify is the JSON API for 6-digit code submission.
POST
Verify email with code
Query Parameters
Client type determines how refresh tokens are returned:
- web: Refresh token stored in httpOnly cookie, csrfToken returned in response
- mobile/desktop/server: refreshToken returned directly in response body
Available options:
web, mobile, desktop, server Body
application/json