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

# API Introduction

> Complete documentation of TypeAuth's API endpoints, authentication flows, and integration patterns. Learn how to implement secure API access in your applications.

### Authentication

To access the TypeAuth API endpoints, you must include a Bearer authorization token in the Authorization header of your HTTP requests. This token is used to authenticate and authorize your API calls.
You can find your Bearer token by following these steps:

Log in to your TypeAuth account at [https://app.typeauth.com](https://app.typeauth.com).
Navigate to the Account section.
Locate the API Tokens tab.
Copy the provided Bearer token.

Here's an example of how to include the Bearer token in your API request:

```http theme={null}
Authorization: Bearer YOUR_BEARER_TOKEN
```

Replace `YOUR_BEARER_TOKEN` with the actual token you obtained from you rTypeAuth account.

### Request Format

When making requests to the TypeAuth API, it is mandatory to include the `Content-Type` header with the value `application/json`. This header indicates that the request body is in JSON format.
Here's an example of how to set the Content-Type header in your API request:

```http theme={null}
Authorization: Bearer YOUR_BEARER_TOKEN
Content-Type: application/json
```

Make sure to include this header in all your API requests to ensure proper communication with the TypeAuth API.

<Note>
  Please note that all API endpoints require Bearer authentication, except for
  the authentication endpoint. The authentication endpoint is used
  to validate the key/tokens and does not require prior authentication.
</Note>
