---
title: "Exchange mobile session token for Clerk ticket"
method: POST
path: "/api/mobile/exchange"
tags: ["Mobile auth"]
---

# Exchange mobile session token for Clerk ticket

`POST /api/mobile/exchange`

One-time redeem of a Prisma MobileSession hex token (body `{ token }` or Authorization Bearer) for a Clerk sign-in ticket. No Clerk session required. Consumes the mobile session.

## Request body

- object
  - `token` string — 64-byte mobile session token as 128 hex chars

## Response `200`

{ success: true, data: { ticket, expiresAt } }

## Other responses

- `400` — { success: false, code: VALIDATION_ERROR }
- `401` — { success: false, code: UNAUTHORIZED }
- `500` — { success: false, code: INTERNAL_ERROR }

---

[API](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api.md) · [All operations](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/d-sports-ecosystem/d-sports-api/revisions/cbc84b00330e/schema)
