# Get Workspace

> Retrieve the active workspace's details

- **URL**: https://orshot.com/docs/api-reference/workspace-get

---

Retrieve the workspace linked to your API key (or the active workspace of your OAuth token).

## Endpoint

```markdown tab="Endpoint"
https://api.orshot.com/v1/workspace
```

## Request

**Request**
```js
await fetch("https://api.orshot.com/v1/workspace", {
  method: "GET",
  headers: {
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
});
```

**Response**
```json
{
  "data": {
    "id": 890,
    "title": "My Workspace",
    "slug": "my-workspace",
    "url": "https://orshot.com/workspace/my-workspace",
    "created_at": "2026-03-27T00:04:45.557267+00:00"
  }
}
```

## Response Fields

| Field        | Type   | Description                                                             |
| ------------ | ------ | ----------------------------------------------------------------------- |
| `id`         | Number | The workspace's unique ID                                               |
| `title`      | String | The workspace's display name                                            |
| `slug`       | String | The workspace's URL slug                                                |
| `url`        | String | The workspace's dashboard URL                                           |
| `created_at` | String | When the workspace was created                                          |