> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gomry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Space

> Retrieve a single space by its identifier

# Get Space

Returns a single space by its `identifier`. The space must belong to the
organization associated with the API key — an identifier that doesn't resolve
under your org returns `404` (no cross-tenant existence leak).

`GENERAL` is the synthetic organization-wide scope, not a persisted space, so
it also returns `404` here.

Requires the `spaces:read` scope.

## Path Parameters

<ParamField path="spaceIdentifier" type="string" required>
  The space's `identifier` (its slug), e.g. `milan`.
</ParamField>

## Response

<ResponseField name="data" type="object">
  A Space object — same schema as [List Spaces](/api-reference/spaces/list-spaces).
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -H "X-API-KEY: your_api_key" \
    "https://www.gomry.com/api/v1/spaces/milan"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "id": "AbCdEfGhIjKlMnOpQrSt",
      "identifier": "milan",
      "name": "Milan",
      "status": "active",
      "color": "zinc",
      "icon": "general",
      "icon_type": "emoji",
      "email": "milan@acme.com",
      "tax_details": {
        "tax_type": "VAT",
        "vat_number": "IT12345678901",
        "vat_rate": 22,
        "legal_entity_name": "ACME Milan SRL",
        "legal_entity_address": "Via Roma 1, 20121 Milano",
        "country": "IT",
        "is_eu": true,
        "is_valid_vat_number": true,
        "notes_on_receipts": null
      },
      "created_at": "2025-03-01T10:00:00.000Z",
      "updated_at": "2025-06-20T15:30:00.000Z"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Space not found"
  }
  ```
</ResponseExample>
