# GET /api/v1/workspaces/:id

Auth: Bearer

HTML: https://cooperemail.com/docs/reference/workspaces-get

## Summary

One sub-account. Returns id, name, inbox_quota, inboxes_used, account_id, api_key_prefix, and created_at. The API key secret is not returned. Another parent's workspace returns 404 workspace_not_found. A sub-account key returns 403 permission_denied. An inbox-scoped key returns 403 permission_denied. MCP: cooper_get_workspace.

## Request

This call has no JSON body.

## Response

HTTP 200. Sample values illustrate the schema.

```json
{
  "object": "workspace",
  "id": "inb_example",
  "name": "string",
  "inbox_quota": 1,
  "inboxes_used": 1,
  "account_id": "acc_example",
  "api_key_prefix": "string",
  "created_at": "2026-10-18T12:00:00.000Z"
}
```

## Errors

- HTTP 404 workspace_not_found
- HTTP 403 permission_denied

The live `message` is the sentence for that code. Branch on `code`.

```json
{
  "error": {
    "type": "not_found",
    "code": "workspace_not_found",
    "docs_url": "https://cooperemail.com/docs#workspace_not_found"
  }
}
```

## Idempotency

This route does not document Idempotency-Key or client_id.
