---
title: "POST /intermediate/v1/exchange-intermediate-session-for-session"
method: POST
path: "/intermediate/v1/exchange-intermediate-session-for-session"
tags: ["IntermediateService"]
---

# POST /intermediate/v1/exchange-intermediate-session-for-session

`POST /intermediate/v1/exchange-intermediate-session-for-session`

## Request body

- ExchangeIntermediateSessionForSessionRequest

## Response `200`

OK

- ExchangeIntermediateSessionForSessionResponse
  - `refreshToken` string
  - `accessToken` string
  - `newUser` boolean
  - `relayedSessionToken` string
  - `redirectUri` string
  - `returnRelayedSessionTokenAsQueryParam` boolean

## Other responses

- `default` — Default error response

## Changes

- **2025-05-23** `9a38380dce0d` — 2 info
  - added the optional property `redirectUri` to the response with the `200` status
  - added the optional property `returnRelayedSessionTokenAsQueryParam` to the response with the `200` status
- **2025-03-20** `4d34d3e92e2b` — 1 info
  - added the optional property `relayedSessionToken` to the response with the `200` status
- **2025-02-28** `d3b160fa125d` — 1 warning, 1 info
  - removed the request property `organizationId`
  - added the optional property `newUser` to the response with the `200` status
- **2024-12-10** `ba8bf620f163` — 1 info
  - added the optional property `accessToken` to the response with the `200` status
- **2024-12-10** `89d8bd413b05` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/tesseral-labs/apis/intermediateservice-api/changes/intermediate/v1/exchange-intermediate-session-for-session/post.md)

---

[API](https://skmtc.dev/tesseral-labs/apis/intermediateservice-api.md) · [All operations](https://skmtc.dev/tesseral-labs/apis/intermediateservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tesseral-labs/intermediateservice-api/revisions/367432db5a64/schema)
