# API Keys

## Obtaining an API Key

The Evenings API is currently in development. To ensure optimal support and understand usage patterns, we require users to request an API key. To obtain your key, please contact our team at <contact@evenings.email> with a brief description of your intended API use case.

## Authentication

1. Authentication is implemented using the Bearer token method.
2. Include the API key in the Authorization header like so: `Authorization: Bearer YOUR_API_KEY`.

Replace `YOUR_API_KEY` with the key you received.

## Managing Your API Key

### Locating Your API Key

Once your API key request has been approved, you can access your key through your Account dashboard. From there, you can copy the key or generate a new one if needed.

<figure><img src="/files/5eP6Smk1hQ1I4cH3XAVf" alt=""><figcaption></figcaption></figure>

### API Key Regeneration

For security purposes, you may occasionally need to regenerate your API key. This functionality is available within your Account settings. Please note that regenerating your key will invalidate the previous one, requiring you to update any applications or scripts using the API.

<figure><img src="/files/dI2YAyKGjsfm1vieI8Xb" alt=""><figcaption></figcaption></figure>

## Questions

If you have any questions or feedback, please contact us at [**contact@evenings.email**](mailto:contact@evenings.email).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://evenings.gitbook.io/evenings-api/api/api-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
