Skip to main content
GET
Verify email or phone confirmation via GET redirect. This endpoint is typically used in email verification links and redirects users to your application with authentication tokens.
This endpoint does not require authentication and is designed to be called from email links.

Query Parameters

string
required
The type of verification being performed.Options:
  • signup - Email/phone confirmation after registration
  • recovery - Password recovery verification
  • magiclink - Magic link authentication
  • invite - User invitation acceptance
  • email_change - Email change confirmation
string
required
The verification token sent via email or SMS.
string
URL to redirect to after successful verification. If not provided, uses default redirect URL.

Response

This endpoint returns a redirect response rather than JSON data.

Successful Verification

The redirect URL will include authentication tokens in the URL fragment:

Failed Verification

Verification Types

Signup Verification

Confirms email or phone after user registration:

Password Recovery

Verifies password reset requests:
Passwordless authentication via email:

Email Change

Confirms email address changes:

User Invitation

Accepts user invitations:

Handling Redirects in Your Application

Frontend Token Extraction

React Hook for Token Handling

Security Considerations

  • Token Expiration: Verification tokens have limited lifetime (typically 24 hours)
  • Single Use: Tokens can only be used once for security
  • HTTPS Required: Always use HTTPS in production to protect tokens
  • URL Fragments: Tokens are passed in URL fragments to prevent server-side logging

Error Handling

Handle verification errors gracefully in your application:

Development Testing

Integration Testing

Verify (JSON)

POST endpoint for JSON verification responses

Resend Confirmation

Resend verification emails or SMS

User Signup

Create new user accounts

Magic Links

Passwordless authentication