# Authentication

## Bearer Token Authentication

Beefree SDK's Content Services API uses bearer tokens to authenticate requests. You can create, view, and manage your bearer token in the [Beefree SDK Developer Console](https://developers.beefree.io). All requests must be made over HTTPS and contain the following HTTP Header:

```http
Authorization: Bearer {token}
```

## Create a Bearer Token

To use the Template Catalog API you will first need to obtain a your API Key—the bearer token you will use to authenticate to make API calls—from the Beefree SDK Developer Console.

To obtain an API Key, take the following steps:

1. Log in to the [Beefree SDK Developer Console](https://developers.beefree.io/).
2. Navigate to the application you'd like to activate the Template Catalog API for.
3. Click on the corresponding **Details** button.
4. Navigate to the Content Services API section of the **Details** page.
5. Click **Create New API Key**.

   A pop up will appear asking you to confirm that you understand [usage-based fees](https://devportal.beefree.io/hc/en-us/articles/4403095825042-Usage-based-fees) may apply.
6. Click **Create Key**.

Your API key will appear under the **Template Catalog API** section of your application details.

<figure><img src="/files/baC8XBpr5FrgXuG7haO2" alt=""><figcaption><p>Screenshot of the Details page in the Developer Console with the TCAPI section highlighted</p></figcaption></figure>


---

# 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://docs.beefree.io/beefree-sdk/apis/template-catalog-api/authentication.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.
