---
title: "ExchangeToken"
method: POST
path: "/gitpod.v1.IdentityService/ExchangeToken"
tags: ["gitpod.v1.IdentityService"]
---

# ExchangeToken

`POST /gitpod.v1.IdentityService/ExchangeToken`

ExchangeToken trades an exchange token for a new access token.

## Request body

- GitpodV1ExchangeTokenRequest
  - `exchangeToken` string — exchange_token is the token to exchange

## Response `200`

Success

- GitpodV1ExchangeTokenResponse
  - `accessToken` string — access_token is the new access token

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/27f7bd641de1/schema)
