> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/support/troubleshooting/how-to-get-a-bearer-token.md).

# Get a Bearer Token

Limio app endpoints will normally need a Bearer token to be used. Tokens are generated as part of the authentication process and are valid for 1 hour. If you have user access to the Limio app you can obtain a token to use when executing requests into Limio.

## Obtaining a Token programmatically

You can obtain a token using the standard OAuth flow by performing different API requests. This is useful in case you need to automate a process. For more details on how to do this, visit our [developer docs here](https://docs.limio.com/developers/api-documentation/authentication-overview/oauth-bearer-token).

### Obtaining a Token manually <a href="#h_01je792fe9nsbpmz87v9twevxa" id="h_01je792fe9nsbpmz87v9twevxa"></a>

In case you need to execute one (or a few) specific request(s) quickly, the manual way to get a token is as follow:

1. Login to the app in the relevant environment using your user<br>

   <figure><img src="/files/PnHN7W900Xlf8PUL4vPp" alt=""><figcaption></figcaption></figure>
2. Once logged in, open the DevTools in your browser and go to the Network Tab
3. Find a request made into Limio api, you can type in the filter "api/"<br>

   <figure><img src="/files/oKXmPLu6Pu1ZuahzXTaj" alt=""><figcaption></figcaption></figure>
4. Press on the request (for example **user**) and on the Headers section locate the Authorization one
5. Copy the content (except for the word Bearer) and that's your token<br>

   <figure><img src="/files/ZteTKQXKDtHC8pMrxY6g" alt=""><figcaption></figcaption></figure>
6. You can use it in Postman or any other tool for executing HTTP requests.


---

# 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.limio.com/support/troubleshooting/how-to-get-a-bearer-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.
