Shared-previews

Create or recover a durable shared preview link to a site route in the API key owner's agent workspace. Start an agent session in the project before sharing. Page availability is checked when the link is opened, not when it is created.

Changed on
post/shared-previews

Request

  • Base URL
    https://api.replo.app/v1
  • Auth
    HTTP bearer

Headers

Replo-Api-Version'2026-10-29' required

The public API version to use for this request.

Request body

projectIdstring uuid required
siteIdstring uuid required
routestring required

The site route to preview, e.g. "/" or "/about". Must be an absolute path without a query string or fragment.

localestring

BCP 47 language tag to render the page in, e.g. "en-US". Omit to use the site's default locale.

Response

Create or recover a durable shared preview link to a site route in the API key owner's agent workspace. Start an agent session in the project before sharing. Page availability is checked when the link is opened, not when it is created.

object'shared_preview' required
idstring uuid required
urlstring uri required

Durable link to the requested site route. Page availability is checked when someone opens it; deleting the preview disables the link.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      removed the enum value 2026-10-05 from the header request parameter Replo-Api-Version

    • info

      added the new enum value 2026-10-29 to the header request parameter Replo-Api-Version