---
raw: true
search:
  tags:
    - Spaces
    - POST
seo:
  description: >-
    Returns a link that opens a private space's live /. Targeted or… Reference
    for the POST /v1/spaces/{spaceId}/open endpoint in the Spacefast Partner
    API.
sidebar:
  label: Open a private space
  badge: POST
title: Open a private space
type: openapi-operation
---
Returns a link that opens a private 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).

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

**Request body** (`application/json`, required)

- `landingPath` (string)
- `targetHost` (string)

Request body example:

```json
{
  "landingPath": "/",
  "targetHost": "string"
}
```

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "url": "http://example.com",
    "expiresAt": "2019-08-24T14:15:22Z",
    "kind": "link"
  }
}
```
