# Get workspace (/docs/management-api/endpoints/workspaces/get-workspaces-by-id)

Location: Management API > Endpoints > Workspaces > Get workspace

Returns the workspace with the given ID.

## API reference

### Get workspace

`GET /v1/workspaces/{id}`

Returns the workspace with the given ID.

#### Parameters

- `id` (path, string, required)

#### Responses

- `200`: Workspace retrieved.
- `401`: Missing or invalid authorization token.
- `404`: Workspace with the specified ID was not found.

## Related pages

- [`Get list of workspaces`](https://www.prisma.io/docs/management-api/endpoints/workspaces/get-workspaces): Returns the list of workspaces the current token can access.