Builder preview

Consume the preview pass, set a session cookie, and redirect the browser.

Invalid or expired tokens return 404 without creating a cookie. The requested redirect is accepted only when it points to the configured preview website; otherwise a safe preview root URL is used. Cookie security flags are selected according to whether the backend and preview website are considered the same browser site.

get/api/builder/preview/exchange/{token}/

Request

  • Base URL
    https://api.baserow.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.baserow.io/api/builder/preview/exchange/{token}/
  • Auth
    none required

Path parameters

tokenstring required

The one-time builder preview token to exchange.

Query parameters

redirectstring uri

The clean frontend preview URL to redirect to.

Changes