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

# GET /v1/scheduling/booking/resource-bookings/:id

> Read one resource booking of a customer, checking it belongs to the customer's phone.

Returns one resource booking, or an older resource appointment, with the same shape as an item of the [search](https://docs.keebai.com/dev/endpoints/scheduling-resource-booking-search.md). Keebai checks that it belongs to `customer_phone`; when it does not, the answer is `404`, the same as when it does not exist, so the id reveals nothing.

## Endpoint

```
GET https://api.keebai.com/v1/scheduling/booking/resource-bookings/:id
```

## Required scope

`scheduling:appointments:read`

## Path params

* `id`: booking id, or the id of an older resource appointment.

## Query params

```json theme={"system"}
{
  "customer_phone": "+56987654321"
}
```

* `customer_phone`: required. The customer's phone, with or without `+` and spaces.

## Example request

```bash curl theme={"system"}
curl -G https://api.keebai.com/v1/scheduling/booking/resource-bookings/665f00000000000000000c01 \
  -H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  --data-urlencode "customer_phone=+56987654321"
```

## Response

### 200 OK

```json theme={"system"}
{
  "id": "665f00000000000000000c01",
  "kind": "resource_booking",
  "booking_unit": "night",
  "resource": "Suite canina · Mediana",
  "resource_id": "665f00000000000000000a01",
  "branch": "Sucursal Centro",
  "branch_id": "665f00000000000000000b01",
  "label": "Ingreso jue 3 dic · Retiro sáb 5 dic · 2 noches",
  "start_time": "2026-12-03T11:00:00-03:00",
  "end_time": "2026-12-05T14:30:00-03:00",
  "time_zone": "America/Santiago",
  "check_in": "2026-12-03",
  "check_out": "2026-12-05",
  "nights": 2,
  "party_size": 1,
  "price": 40000,
  "currency": "CLP",
  "status": "awaiting_payment",
  "payment_status": "pending",
  "payment_link": "https://pay.keebai.com/p/K7Q2M",
  "payment_hold_expires_at": "2026-11-26T17:10:00.000Z",
  "customer_phone": "56987654321"
}
```

### 400 Bad Request

`customer_phone` missing or malformed.

### 404 Not Found

```json theme={"system"}
{
  "error": {
    "code": "RESOURCE_BOOKING_NOT_FOUND",
    "message": "La reserva no existe"
  }
}
```

The booking does not exist, belongs to another company, or is not the customer's.

### 401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.


## OpenAPI

````yaml GET /v1/scheduling/booking/resource-bookings/{id}
openapi: 3.0.0
info:
  title: Keebai Public API
  description: Superficie pública REST autenticada con Personal Access Tokens (PAT).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.keebai.com
    description: Production
security: []
tags: []
paths:
  /v1/scheduling/booking/resource-bookings/{id}:
    get:
      tags:
        - scheduling-resource-bookings
      summary: Get a resource booking of the customer
      operationId: PublicResourceBookingsController_get
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
      security:
        - PAT: []
components:
  securitySchemes:
    PAT:
      scheme: bearer
      bearerFormat: kbai_pk_<hex>
      type: http
      description: >-
        Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal
        con permiso `developer.manage_tokens`.

````

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