verification
Verify email and authentication tickets
Changed onVerify tickets created by email verification, magic link authentication, or password reset processes. Redirects the user to the appropriate destination upon successful verification.
get/verify
Request
- Base URLhttps://{subdomain}.auth.{region}.nhost.run/v1
- URLhttps://{subdomain}.auth.{region}.nhost.run/v1/verify
- Authnone declared
Query parameters
ticketstring required
Ticket
Example:verifyEmail:xxxxxxxx
type'emailVerify' | 'emailConfirmChange' | 'signinPasswordless' | 'passwordReset'
Type of the ticket
Example:emailVerify
Type of the ticket. Deprecated, no longer used
redirectTostring uri required
Target URL for the redirect
Example:https://my-app.com/catch-redirection
codeChallengestring
PKCE code challenge (S256). When present, the redirect will contain an authorization code instead of a refresh token.
Response
An error occurred while processing the request
Example response
{
"status": 400,
"message": "Invalid email format"
}Changes
- warning
added the new
otp-too-many-attemptsenum value to theresponse property for the response status
- warning
- warning
added the new
user-already-existsenum value to theresponse property for the response status - info
removed the
email-already-in-useenum value from theresponse property for the response status
- warning