> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stickyqr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> All APIs in this section require a bearer token used to authenticate requests and make sure the caller is authorized to access the resources in the requests.

Please follow these steps:

### Get an API token from StickyQR Manager

1. Go to the your environment’s dashboard [StickyQR Manager](https://manager.stickyqr.com/)
2. In the “Service Tokens” section, click on “Add”
3. Provide a name for the token. The best practice here would be to name the token after the system you intend to use this token with. A few examples: “Mycompany Admin”, or “background-job service”.
4. **Make sure to copy the API token** before closing the modal. This is the last time you will have access to the plaintext API token! StickyQR DOES NOT have access to the plaintext API token anywhere. If you lose this API token, you will need to create a new one.
5. The token should contain 32 alphanumeric characters.

### Using the API token

Use the token generated through dashboard to programmatically access StickyQR API by adding it to the `Authentication` header of your HTTP request.

Example:

<CodeGroup>
  ```typescript curl theme={null}
  curl \
    --location 'https://app.stickyqr.com/api/account' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer YOUR_SERVICE_TOKEN_HERE'
  ```
</CodeGroup>
