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

# Authentication

> Scoped API keys, rotation and safe key handling.

Buqipi Connect uses a scoped Bearer key:

```http theme={null}
Authorization: Bearer bqp_pk_...
Accept: application/json
```

Keys are issued from Buqipi, can be rotated with an overlap window and revoked immediately. A key is limited to a booking engine, property scope and category scope.

## Scopes

| Scope | Use |
| - | - |
| `inventory.read` | Properties, categories, content, calendars, extras and rates. |
| `availability.read` | Calendar reads and availability search. |
| `quotes.write` | Create stay quotes. |
| `bookings.read` | Read owned bookings and room details. |
| `bookings.write` | Create checkouts, update and cancel bookings. |
| `payments.read` | Read booking payment history. |
| `payments.write` | Charge tokenized cards and complete checkout payments. |
| `messages.read` | Read the guest thread of an owned booking. |
| `messages.write` | Send guest messages. |

Checkout creation, charging and completion require **both** `bookings.write` and `payments.write`.

> [!WARNING]
>
> Keep the API key on the partner backend. Only the short-lived PaynoPain tokenizer token should reach the browser.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.