---
raw: true
search:
  tags:
    - Versions
    - POST
seo:
  description: >-
    Creates a version-bound review that… Reference for the POST
    /v1/spaces/{spaceId}/versions/{versionId}/visual-reviews endpoint in the
    Spacefast Partner API.
sidebar:
  label: Start a temporary visual review
  badge: POST
title: Start a temporary visual review
type: openapi-operation
---
Creates a version-bound review that expires after one hour. The browser URL is a secret review capability. It does not create comments.

`POST /v1/spaces/{spaceId}/versions/{versionId}/visual-reviews`

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

- `landingPath` (string) — Page path to open within the deployment.
- `parentOrigin` (string<uri>) — Verified App origin. Omit this field for browser review.

Request body example:

```json
{
  "landingPath": "/",
  "parentOrigin": "http://example.com"
}
```

**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": {
    "session": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "spaceId": "string",
      "versionId": "string",
      "title": "string",
      "sourceCommitSha": "string",
      "origin": "http://example.com",
      "landingPath": "string",
      "expiresAt": "2019-08-24T14:15:22Z",
      "status": "draft",
      "submission": {
        "submissionId": "23243110-f447-42f4-a433-27cb8d276b19",
        "notes": [
          {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "text": "string",
            "path": "string",
            "viewport": {
              "width": 1,
              "height": 1,
              "dpr": 1,
              "scroll_x": 0,
              "scroll_y": 0,
              "doc_width": 1,
              "doc_height": 1
            },
            "anchor": {
              "v": 2,
              "resolver_version": -9007199254740991,
              "type": "element",
              "source": {
                "space_id": "string",
                "version_id": "string",
                "canonical_path": "string",
                "url": "http://example.com"
              },
              "selectors": {
                "stable_key": "string",
                "element_id": "string",
                "css": "string",
                "css_variants": [
                  "string"
                ],
                "relative_point": {
                  "x": 0,
                  "y": 0
                },
                "capture_box": {
                  "x": 0,
                  "y": 0,
                  "width": 0,
                  "height": 0
                },
                "text_quote": {
                  "exact": "string",
                  "prefix": "string",
                  "suffix": "string"
                },
                "fingerprint": {
                  "tag": "string",
                  "role": "string",
                  "accessible_name": "string",
                  "own_text": "string",
                  "ancestor_text": "string",
                  "neighbor_texts": [
                    "string"
                  ],
                  "attrs": {
                    "property1": "string",
                    "property2": "string"
                  }
                }
              },
              "viewport": {
                "width": 1,
                "height": 1,
                "dpr": 1,
                "scroll_x": 0,
                "scroll_y": 0,
                "doc_width": 1,
                "doc_height": 1
              }
            },
            "screenshot": {
              "mimeType": "image/png",
              "data": "string",
              "crop": {
                "x": 0,
                "y": 0,
                "width": 0,
                "height": 0
              },
              "capturedAt": "2019-08-24T14:15:22Z"
            },
            "captureStatus": "ready"
          }
        ]
      }
    },
    "browserUrl": "http://example.com",
    "previewUrl": "http://example.com",
    "parentOrigin": "http://example.com"
  }
}
```
