> For the complete documentation index, see [llms.txt](https://docs.claimr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.claimr.io/api/api-token.md).

# API token

All API requests to the claimr system require authorization to ensure secure access and protect your organization's data. This authorization is handled through the use of an API token.

{% hint style="info" %}

* The claimr API token acts as your organization's key to access Swagger. It is associated with your organization as a whole, not with individual users.
* Keep your API token confidential and store it securely.  Any API requests made without a valid API token will be rejected as unauthorized.
  {% endhint %}

### **Generate and authorize your API token**

1. **Access the API section:** \
   Navigate to the API section within the claimr admin panel.

<figure><img src="/files/VKCKrwALYknEqLvdoJX5" alt="" width="563"><figcaption><p>API section in claimr</p></figcaption></figure>

2. **Generate the token:** \
   Click <mark style="color:green;">**Generate Token**</mark> button.  A pop-up window will appear displaying your unique API token.&#x20;
3. **Save the token:**  \
   Copy this token and store it in a secure location. Once you close the pop-up, you will not be able to retrieve this token again.
4. **Go to Swagger:** Open [Swagger](https://dev.swagger.claimr.io:4000/api-docs/) for the Claimr API and click <mark style="color:green;">**Authorize**</mark> button. A dialog box will appear, prompting you to enter your API token.

<figure><img src="/files/wInWIojBnJNbz0TF8kLZ" alt="" width="563"><figcaption><p>Swagger panel</p></figcaption></figure>

4. **Authorize:**  Paste your copied API token into the designated field and click **Authorize** to complete the authorization process.

<figure><img src="/files/fVjTnziSQMNuqLiEZeH2" alt="" width="375"><figcaption><p>Swagger authorization modal window</p></figcaption></figure>

For troubleshooting or support, reach our ⚡️claimr support team or email us <yo@claimr.io> .


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.claimr.io/api/api-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
