---
title: "List the workspace's resources"
description: Returns every non-archived resource in the workspace named by X-Wiblo-Workspace, ordered by name.
api_method: GET
api_path: "/v1/resources"
canonical_url: https://wiblo.app/docs/developers/api/resources/list-resources
last_updated: 2026-07-28T18:08:25+02:00
md_url: https://wiblo.app/docs/developers/api/resources/list-resources.md
---

# List the workspace's resources

`GET /v1/resources`

Returns every non-archived resource in the workspace named by `X-Wiblo-Workspace`, ordered by name. Archived resources are excluded but stay reachable by id. Available to any active member. Per-user rate-limited at 60/60s.

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/resources \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID"
```

**TypeScript**

```ts
import { createSdk, listResources } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await listResources({
  client: sdk,
  headers: { "X-Wiblo-Workspace": "..." },
})
```

## Example response

```json
{
  "resources": [
    {
      "id": "a7c3e9f1-2b8d-4f6a-9e1c-5d7b3a9f2e8c",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "name": "Consultation room",
      "category": "meeting-room",
      "capacity": 1,
      "archived_at": null,
      "created_at": "2026-06-15T10:00:00.000Z",
      "updated_at": "2026-06-15T10:00:00.000Z"
    },
    {
      "id": "e2f8b4d6-9c1a-4e7b-8f3d-6a2c9e5b1f7d",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "name": "Portable lighting kit",
      "category": "equipment",
      "capacity": 2,
      "archived_at": null,
      "created_at": "2026-07-28T09:12:00.000Z",
      "updated_at": "2026-07-28T09:12:00.000Z"
    }
  ]
}
```

## Responses

**`200`** — The workspace's resources. Returns `ResourceListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `resources` | `array<ResourceResponse>` | Yes | The workspace's non-archived resources, ordered by name. |

**`400`** — The `X-Wiblo-Workspace` header was missing or not a UUID (`VALIDATION_FAILED`). Returns `ApiErrorEnvelope`.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — The actor has no active membership in the header's workspace (`WORKSPACE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.

### The ResourceResponse object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | Unique id of the resource. |
| `workspace_id` | `string` | Yes | Workspace the resource belongs to. |
| `name` | `string` | Yes | Display name of the resource. |
| `category` | `string \| null` | Yes | Pool label that category requirements draw from; `null` for an uncategorised resource. |
| `capacity` | `integer` | Yes | Concurrent bookings this one resource can hold at any instant — capacity `N` lets `N` bookings overlap on the same resource. |
| `archived_at` | `string \| null` | Yes | When the resource was archived; `null` for active resources. |
| `created_at` | `string` | Yes | Creation timestamp (RFC 3339). |
| `updated_at` | `string` | Yes | Last-update timestamp (RFC 3339). |
