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

# Current user

> Returns the authenticated user's profile.



## OpenAPI

````yaml /api-reference/openapi.yaml get /auth/me
openapi: 3.0.3
info:
  title: validate.al API
  description: >-
    Email validation, security scanning and account management, all at
    https://api.validate.al.
  version: '1.0'
servers:
  - url: https://api.validate.al/v1
security:
  - ApiKeyAuth: []
tags:
  - name: Email validation
  - name: Scanning
  - name: Account
  - name: Health
paths:
  /auth/me:
    get:
      tags:
        - Account
      summary: Current user
      description: Returns the authenticated user's profile.
      operationId: getMe
      responses:
        '200':
          description: User profile.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                  email:
                    type: string
                  display_name:
                    type: string
                    nullable: true
                  api_key:
                    type: string
                  totp_enabled:
                    type: boolean
                  free_scans:
                    type: integer
                    description: Scan credits left.
                  is_admin:
                    type: boolean
      security:
        - BearerAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your validate.al API key, from the portal (Settings → API Key).
    BearerAuth:
      type: http
      scheme: bearer
      description: JWT from sign-in or registration.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.