---
title: "List resources"
method: GET
path: "/v1/locations/{locationId}/resources"
tags: ["Resources"]
---

# List resources

`GET /v1/locations/{locationId}/resources`

## Request

- Base URL: `https://api.cliento.com`
- URL: `https://api.cliento.com/v1/locations/{locationId}/resources`
- Auth: HTTP bearer

The location's resources, without those that are deleted.

## Path parameters

- `locationId` string, required

## Query parameters

- `limit` integer
- `after` string

## Response `200`

OK

- ResourceList
  - `data` Resource[], required
    - `createdAt` string, date-time: When it was created, in UTC. Left out when that is not known.
    - `groupId` string: The group the resource is listed under. Left out for a deleted resource.
    - `id` string, required
    - `locationId` string, required
    - `name` string, required: The name staff see in the calendar.
    - `onlineBookingEnabled` boolean, required: Whether the resource is open for online booking at all. Which services customers may book with it is on the resource service.
    - `onlineName` string: The name customers see in online booking, when it differs.
    - `pausedUntil` string: For a paused resource: the last day of the pause.
    - `status` string, required: `active`, `paused` or `deleted`. A paused resource is paused for billing: it keeps its bookings but takes no new online bookings. A deleted resource is left out of the list but still answers by id, since earlier bookings refer to it. The status is not changed through the API. More values may be added.
    - `type` string, required: What kind of thing it is, as one lower-case word such as `person` or `room`. Set when the resource is created. The list is open, so accept a value you do not know.
    - `updatedAt` string, date-time, required: When it last changed, in UTC.
  - `nextCursor` string: Pass as `after` to fetch the next page. Absent on the last page.

## Other responses

- `default`: Any failure. See the Errors section.

---

[API](https://skmtc.dev/cliento/apis/cliento-api.md) · [All operations](https://skmtc.dev/cliento/apis/cliento-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cliento/apis/cliento-api/revisions/29ca811bc061?raw)
