Skip to main content
GET
List rentable resources
A resource is something a customer rents rather than a service a professional delivers: a court, a meeting room, a kennel, a hotel room. Every resource is booked in one of two units, given by booking_unit: Both units book through POST booking/resource-bookings. Only active resources are listed. There is no status filter.

Endpoint

Required scope

scheduling:services:read

Query params

Every param is optional.
  • branch_id: only the resources of that branch.
  • booking_unit: block or night.
  • booking_mode: exclusive (one booking at a time) or shared (several bookings share the capacity).
  • category: exact category name.
  • search: free text over the name.
  • skip and limit: pagination. limit defaults to 50 and is capped at 200.

Example request

Response

200 OK

  • pricing.by_duration: in a block resource, one price per offered duration. In a night resource there is exactly one tier and its amount is the price of one night. Its minutes carries no meaning.
  • pricing.mode: per_block charges the amount once. per_person multiplies it by the party size.
  • stay: minimum and maximum nights of a night resource. null for block.
  • capacity: in a shared resource, how many people (summing the party size of every booking) fit at once, or each night. An exclusive resource takes one booking at a time.

401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Query Parameters

branch_id
string

Only the resources of this branch.

booking_unit
enum<string>

block (booked by time blocks) or night (stays).

Available options:
block,
night
booking_mode
enum<string>
Available options:
exclusive,
shared
category
string

Exact category name.

Free-text search over name.

skip
number
default:0
Required range: x >= 0
limit
number
default:50
Required range: 1 <= x <= 200

Response

200