Units

List units

Return every unit attached to the workspace.

Endpoint

GET/v1/units

Headers

KeyValueRequired
AuthorizationBearer {access_token}Required

Response

FieldTypeDescription
idstringUnit identifier.
namestringDisplay name shown in the dashboard.
channelsstring[]Connected channel slugs (e.g. `airbnb`, `booking`).

Example usage

Request

curl https://api.bookbed.io/v1/units \
  -H "Authorization: Bearer eyJ…"

Response

[
  { "id": "u_001", "name": "Cabin · Lofoten", "channels": ["airbnb","booking"] },
  { "id": "u_002", "name": "Studio · Kraków", "channels": ["booking","direct"] }
]