> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Email Exists

> Checks if an email address is already registered and returns provider information



## OpenAPI

````yaml POST /auth/check-email-exists
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /auth/check-email-exists:
    post:
      summary: Check Email Exists
      description: >-
        Checks if an email address is already registered and returns provider
        information
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckEmailExistsRequest'
      responses:
        '200':
          description: Email check completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckEmailExistsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CheckEmailExistsRequest:
      type: object
      required:
        - email
      properties:
        email:
          type: string
          format: email
          description: The email address to check
    CheckEmailExistsResponse:
      type: object
      properties:
        exists:
          type: boolean
          description: Whether the email is already registered
        providers:
          type: array
          items:
            type: string
          description: List of authentication providers for this email
        hasPassword:
          type: boolean
          description: Whether the user has password authentication enabled
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````