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

# Authentication

Authentication to the API is done by means of a `Bearer` token. You can request a token by following the OAuth 2 `Client Credential` flow and calling the `token` endpoint. Calling this endpoint will provide you with an `access_token` which is valid for 1 hour and can be used in all Notifense API requests.

Notifense will provide you with a client ID and client secret. The following information is required to successfully request a token:

Token URL: [https://api.notifense.com/v1/auth/token](https://api.notifense.com/v1/auth/token)

Request parameters (`application/x-www-form-urlencoded`):

| Name            | Value                |
| --------------- | -------------------- |
| `grant_type`    | `client_credentials` |
| `client_id`     | Your client ID       |
| `client_secret` | Your client secret   |
