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

# Authentication

> Secure your endpoints with multiple authentication methods.

All authentication is optional and configured per endpoint.

## Authentication Types

<Tabs>
  <Tab title="Basic Auth">
    Standard HTTP Basic Auth with username and password.
    Authorization: Basic base64(username:password)
  </Tab>

  <Tab title="API Key">
    Validate API keys in headers, query parameters, or the request body. Supports custom key names.
    X-API-Key: your-api-key-here
  </Tab>

  <Tab title="Custom Authorization">
    Define custom authorization headers and validation rules for JWT tokens, bearer tokens, or proprietary auth schemes.
    Authorization: Bearer jwt-token-here
  </Tab>
</Tabs>
