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

# Authentication

> Everything you need to know about authenticated routes.

## Quick Start

<Note>
  **Please Note:** You must have valid access credentials for all routes other than our [heath check](../endpoints/ping/get) and [login](../endpoints/auth/login) endpoints.
</Note>

<Steps>
  <Step title="Request an API Key">
    Email <a href="mailto:developers@24hourinspections.com">[developers@24hourinspections.com](mailto:developers@24hourinspections.com)</a> or schedule [office hours](https://www.getclockwise.com/c/aslan-24hourinspections-com/office-hours-w-24h-inspections) to request access to our sandbox.
  </Step>

  <Step title="Login">
    Use your credentials to generate a an `accessToken` with our [login](../endpoints/auth/login) route.
  </Step>

  <Step title="Bearer Authentication">
    All gated requests must include an `Authorization` header with a Bearer token. For example:

    ```BASH
        curl --request GET \
        --url https://sandbox.api.24hourinspections.com/v1/orders \
        --header 'Authorization: Bearer eyJhbGciOiJIUzI...'
    ```
  </Step>
</Steps>

<Tip>
  **Pro Tip:** We secure our users with Clerk.com. You can manage your sandbox credentials within our [development portal](https://moving-cougar-99.accounts.dev/sign-in). Production credentials can be managed at [accounts.24hourinspections.com](https://accounts.24hourinspections.com).
</Tip>
