---
title: "Open a private space"
method: POST
path: "/v1/spaces/{spaceId}/open"
tags: ["Spaces"]
---

# Open a private space

`POST /v1/spaces/{spaceId}/open`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/spaces/{spaceId}/open`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns the reusable open link for an anonymous space's live `/`. Targeted or account-authorized opens use an internal one-use browser handoff. `spaceId` also accepts a host the space serves, so a person the space was shared with can open it from its URL (agent credentials need the `person-pages:read` scope).

## Path parameters

- `spaceId` string, required

## Request body

- object
  - `landingPath` string
  - `targetHost` string

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` union, required
    - object
      - `url` string, uri, required
      - `expiresAt` string, date-time, nullable, required
      - `kind` 'link', required
    - object
      - `url` string, uri, required
      - `expiresAt` string, date-time, required
      - `kind` 'management' | 'claim_preview' | 'person', required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
