---
title: "Exchange Session Endpoint"
method: POST
path: "/api/auth/exchange"
---

# Exchange Session Endpoint

`POST /api/auth/exchange`

## Request

- Base URL: `https://api.yourbeckett.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yourbeckett.com/api/auth/exchange`
- Auth: none declared

One-time migration: exchange a Bearer token for httpOnly cookies.

Used by web/admin frontends to silently migrate from localStorage tokens.
Temporary endpoint — remove after all old sessions expire (~7 days).

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
