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

# Authentication

All API endpoints are authenticated using Bearer tokens (API Keys).

# Generating New API Keys

If this is your first time using TimesDB, you'll likely need to generate a new API key from [TimesDB web app](https://app.timesdb.in), API Keys screen.
You can do this by navigating in web app ->

1. Click API Keys
2. Generate your first API key! You can do this by clicking the "Generate New" button.

You can create multiple API keys and manage them here.

![img:create-api-keys-page](https://mintlify.s3.us-west-1.amazonaws.com/timesdb/docs/api-reference/authentication/images/keys.png)

or using the [Key APIs](https://docs.timesdb.in/api-reference/keys)

# Making an authenticated API request

Calls to our API are authenticated using a bearer token and are sent to our API using an `Authentication: Bearer <token>` HTTP header.

> [!WARNING]
>
> Tokens should always be kept secret. Don't share outside of your organization and be careful when sharing within.


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