auth

Email Status

Public, rate-limited: given email (and optional tenant_code), reports whether an account with that address already exists and is verified WITHIN THAT ONE TENANT, so a signup UI can route to login vs. register vs. "email taken" without leaking whether the address is registered in any other tenant. email must parse as a bare address (no display-name form, no dotless domain) or the call is a 400 invalid_email, distinct from the 200 exists:false a well-formed-but-unregistered address returns. An expired workspace code gets 404 tenant_code_expired.

get/auth/email-status

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/email-status
  • Auth: none declared

Query parameters

emailstring required

email to check

tenant_codestring

tenant routing code

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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