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

# Introduction

> Where the QBridge API lives, how to authenticate, and what every response looks like.

> [!NOTE]
>
> This is a closed beta. These docs describe the pre-production environment, and the playground on each endpoint page sends real requests to it.

## Base address

```
https://api.preprod.poolhouse.dev/api
```

## Authentication

Authenticated endpoints need a bearer token. Each endpoint says whether it needs one.

```bash theme={null}
curl https://api.preprod.poolhouse.dev/api/bookings \
  -H "Authorization: Bearer <token>"
```

In the playground, paste the token once under **Authorization**.

## Response envelope

Every response is wrapped the same way.

| Field | When present | Meaning |
| - | - | - |
| `status` | Always | `success` or `error` |
| `message` | Errors, sometimes | Text that is safe to show a user |
| `data` | Success only | The payload |

## Conventions

* Money is in minor units (pence).
* Timestamps are RFC 3339 in UTC. Dates are `YYYY-MM-DD`.


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