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

# Authentication

> Learn how to authenticate with the SIBI API

## Obtaining an Access Token

You can retrieve your token from **[SIBI Developer Portal](https://developer.sibipro.com/)** using your login credentials.

### Example Authorization Header

Once you have your token, include it in the `Authorization` header for all API requests:

```json theme={null}
{
  "Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
```

## ⚠️ Important: Token Storage

> * This token **does not expire** and **cannot be retrieved again** after it is issued.
> * Store it in a **secure location** you will remember.

## Revoking a Token

A Public API Token can revoke itself by sending a `DELETE` request to `/token` with the token in the `Authorization: Bearer` header.

```bash theme={null}
curl -X DELETE https://api.sibipro.com/token \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

A successful revocation returns a `204 No Content` response. After revocation, the token can no longer be used to authenticate requests.
