# Get the workspace

`GET` `https://goblins-call-api.onrender.com/v1/users/:id`

Returns your workspace: its name, balance, plan and how many calls it may run at once. Workspaces are addressed as `/v1/users`.

Needs a [workspace API key](https://www.cracklehq.com/docs/authentication).

## Path parameters

- `id` (string, required): Your workspace ID, such as `usr_8c1d2e3f4a5b`. Check a key returns it.

## Errors

- `404`: That is not your workspace.

Every request can also answer `401`, `429` and `500`: see [Errors](https://www.cracklehq.com/docs/errors).

Request:

cURL:

```bash
curl "https://goblins-call-api.onrender.com/v1/users/usr_8c1d2e3f4a5b" \
  -H "Authorization: Bearer $CRACKLE_API_KEY"
```

Node.js:

```js
const response = await fetch('https://goblins-call-api.onrender.com/v1/users/usr_8c1d2e3f4a5b', {
  headers: {
    Authorization: `Bearer ${process.env.CRACKLE_API_KEY}`,
  },
});
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
```

Python:

```python
import os
import requests

response = requests.get(
    "https://goblins-call-api.onrender.com/v1/users/usr_8c1d2e3f4a5b",
    headers={"Authorization": f"Bearer {os.environ['CRACKLE_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()
```

Response · 200 OK:

```json
{
  "user": {
    "id": "usr_8c1d2e3f4a5b",
    "name": "Sunrise Dental",
    "email": "owner@sunrisedental.example",
    "balance": 42.1853,
    "currency": "USD",
    "plan": "starter",
    "maxConcurrentCalls": 5,
    "isActive": true,
    "createdAt": "2026-09-30T10:04:11.000Z",
    "updatedAt": "2026-10-11T05:59:19.000Z"
  }
}
```

Source: https://www.cracklehq.com/docs/reference/workspace/get
