---
title: "Fetch a list of workspaces"
method: GET
path: "/merchant/workspaces"
tags: ["Workspaces"]
---

# Fetch a list of workspaces

`GET /merchant/workspaces`

Fetch a list of workspaces based on user permissions.

## Query parameters

- `filter[workspaceId]` string
- `filter[enabled]` boolean

## Response `200`

Success.

- object
  - `results` object[], required
    - `id` string, uuid, required — Unique identifier of the Workspace.
    - `name` string, required — Unique name of the Workspace configuration.
    - `createdBy` string — Email address of the user that created the workspace.
    - `updatedBy` string — Email address of the user that updated the workspace.
    - `createdAt` string, date-time, required — Date of creation of the workspace configuration.
    - `updatedAt` string, date-time, required — Date of last update of the workspace configuration.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Insufficient Scope.
- `404` — Not Found.

---

[API](https://skmtc.net/payrails/apis/payrails-api-reference.md) · [All operations](https://skmtc.net/payrails/apis/payrails-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payrails/payrails-api-reference/revisions/9dd2f0158582/schema)
