---
title: "Issue a 15-minute private preview URL."
method: POST
path: "/api/v1/versions/{versionId}/preview"
---

# Issue a 15-minute private preview URL.

`POST /api/v1/versions/{versionId}/preview`

## Request

- Base URL: `https://portamora.app`
- URL: `https://portamora.app/api/v1/versions/{versionId}/preview`
- Auth: one of:
  - API key in cookie `__Host-session`
  - HTTP bearer

Issue a 15-minute private preview URL. Each asset checks the owner grant; the source ZIP is never served.

## Path parameters

- `versionId` string, required: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.

## Headers

- `x-amz-content-sha256` string, required

## Response `200`

Successful private response; Cache-Control: no-store.

- object
  - `worldId` string, required: Case-sensitive world identifier with 10 safe-alphabet characters after the prefix.
  - `versionId` string, required: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
  - `expiresAt` string, date-time, required
  - `url` string, uri, required

## Other responses

- `400`: Invalid input or expired sign-in link.
- `401`: Authentication required.
- `403`: Missing scope, browser session, fresh sign-in, or matching Origin.
- `404`: Missing resource or resource owned by someone else.
- `409`: Conflicting handle, idempotency key, or version state.
- `410`: The upload window has expired. Allocate a new upload with a new key.
- `413`: Request body or uploaded file exceeds its limit.
- `429`: Rate limit reached. Retry-After header and details.retryAt give the next allowed attempt.
- `503`: Temporarily unavailable.

---

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