Mint a shareable link to a sandbox preview.
GET /domain returns the bare preview URL, which is useless to anyone who does not already hold the sandbox's preview password — so sharing a protected preview meant sharing that password, which is the same secret for every recipient and can only be withdrawn by rotating it for all of them.
This returns the same URL carrying a short-lived, sandbox-scoped grant. The recipient's browser exchanges it for the ordinary preview cookie and lands on path. The grant never reaches the sandbox, so preview application code cannot read it and re-share it.
Anyone holding the returned URL can view the preview until it expires; there is no per-link revocation short of rotating the preview password.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/sandboxes/{id}/preview-link
- Auth: HTTP bearer
Path parameters
Request body
Response
Shareable preview link
Changes
No recorded changes to this operation across all 54 revisions of this API.