# Chatbot API - Key

API Key (Access Token)

Your API Token/ Key is a string of letters and numbers that is private to your account. Do not publicly disclose your API key. If you do, you can generate a new token, but just know that anything using the old API key will no longer work.

API Key Example: ba534d4274523452345da0e99345a67000

When entering in your API key it will most likely be in the form of a Header {Value: Key}.

You would enter in your API key like this:

Authorization | Token ba534d4274523452345da0e99345a67000![](/files/piU1l9gBe3rmX41cTAAS)

Note: The format has to match in order for this to work.


---

# 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://lety.gitbook.io/lety-docs/chatbot-api/chatbot-api-key.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.
