---
title: "GET /api/builder/preview/exchange/{token}/"
method: GET
path: "/api/builder/preview/exchange/{token}/"
tags: ["Builder preview"]
---

# GET /api/builder/preview/exchange/{token}/

`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

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.

## Path parameters

- `token` string, required

## Query parameters

- `redirect` string, uri

## Other responses

- `302`: No response body
- `404`: No response body

## Changes

- **2026-09-15** `51b737b57ec4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/baserow/apis/baserow-api-spec/changes/api/builder/preview/exchange/:token/get.md)

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) - [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) - [OpenAPI document](https://skmtc.dev/baserow/apis/baserow-api-spec/revisions/a3756c326fe1?raw)
