> ## 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.

# Get a booking

> Returns the booking, its rooms, guest, payment history and guest portal URL.

`GET /bookings/{id}`

Returns the booking, its rooms, guest, payment history and guest portal URL.

## Authentication

Send the scoped API key as `Authorization: Bearer bqp_pk_...`. All requests use the base URL `https://api.buqipi.com/connect/v1`.

## Parameters

| Name | In | Type | Required | Description |
| - | - | - | - | - |
| `id` | path | string | yes | Buqipi booking identifier. |

## Example request

```bash theme={null}
curl -X GET "https://api.buqipi.com/connect/v1/bookings/{id}" \
  -H "Authorization: Bearer $BUQIPI_API_KEY"
```

## Responses

| Status | Description |
| - | - |
| `200` | Booking detail. |
| `401` | Missing, invalid, expired or revoked API key. |
| `403` | The key is valid but lacks the required scope or property/category access. |
| `404` | The resource does not exist or is outside the key's scope. |
| `429` | The key or IP exceeded its quota. |
| `500` | An unexpected server error. Details are not exposed to the client. |

## Example response (200)

```json theme={null}
{
  "data": {
    "id": "BKPNTP6YBE8I2",
    "external_ref": "web-2026-000184",
    "booking_reference": "BKPNTP6YBE8I2",
    "status": "pending_payment",
    "created_at": "2026-11-07T00:00:00+01:00",
    "check_in": "2026-12-27",
    "check_out": "2026-12-29",
    "nights": 2,
    "currency": "EUR",
    "total": 172.97,
    "paid": 0,
    "pending": 172.97,
    "property_id": "P6A86D92A6A082",
    "category_ids": [
      "LCPB01"
    ],
    "guest": {
      "first_name": "Connect",
      "last_name": "Test",
      "email": "connect@example.com",
      "phone": null,
      "country": null
    },
    "notes": null,
    "rooms": [
      {
        "id": "RR6AEF16C632B33",
        "category_id": "LCPB01",
        "category_name": "Habitación Individual",
        "rate_id": "LRPB02",
        "rate_name": "Tarifa No Reembolsable",
        "adults": 1,
        "children": 0,
        "total": 172.97,
        "cancelled": false,
        "eta": null
      }
    ],
    "payments": [],
    "guest_portal_url": "https://checkin.buqipi.com/es/BKPNTP6YBE8I2"
  },
  "meta": {
    "api": "buqipi-connect",
    "version": "v1",
    "request_id": "6101b5d0-8d5e-4bd9-99a5-1b3d1a9a7a6c",
    "generated_at": "2026-11-07T12:00:00+01:00"
  }
}
```

## Response fields (200)

| Field | Type | Required | Description |
| - | - | - | - |
| `data` | object | yes | |
| `data.id` | string | yes | |
| `data.external_ref` | string | no | |
| `data.booking_reference` | string | yes | |
| `data.status` | string enum: confirmed, pending\_payment, cancelled | yes | |
| `data.created_at` | string (date-time) | no | |
| `data.check_in` | string (date) | yes | |
| `data.check_out` | string (date) | yes | |
| `data.nights` | integer | no | |
| `data.currency` | string | yes | |
| `data.total` | number | yes | |
| `data.paid` | number | yes | |
| `data.pending` | number | yes | |
| `data.property_id` | string | no | |
| `data.category_ids` | array of string | no | |
| `data.guest` | object | no | |
| `data.notes` | string | no | |
| `data.rooms` | array of object | no | |
| `data.payments` | array of object | no | |
| `data.guest_portal_url` | string (uri) | no | |
| `meta` | object | yes | Response trace and pagination metadata. |
| `meta.api` | string enum: buqipi-connect | yes | |
| `meta.version` | string enum: v1 | yes | |
| `meta.request_id` | string (uuid) | yes | |
| `meta.generated_at` | string (date-time) | yes | |
| `meta.pagination` | object | no | |

## Specification

[View the full OpenAPI specification](https://api.pastes.dev/8OG3RS6RJx).


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