Skip to main content
POST
Verify Email

Endpoint

Verify whether a user account exists for the given email address. Useful for checking if an email is already registered before attempting registration.

Headers

string
required
Must be application/json
string
required
Must be application/json

Request Body

string
required
Email address to check

Response

boolean
required
true if a user with this email exists, false otherwise

Request Example

Response Example

Use Cases

Pre-Registration Validation

Check if an email is available before showing the registration form:

Forgot Password Flow

Verify the email exists before sending a password reset:

Smart Login/Register

Determine whether to show login or registration:

Error Handling

This endpoint returns {"exists": false} on any error or if the request times out. This prevents exposing information about whether emails exist in the database during error conditions.

Security Considerations

This endpoint can be used to enumerate registered email addresses. In a production environment, consider:
  • Rate limiting to prevent abuse
  • CAPTCHA for repeated checks
  • Logging suspicious activity
  • Generic error messages that don’t reveal user existence

See Also