v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.IdentityService

ExchangeToken

Exchanges an exchange token for a new access token.

Use this method to:

  • Convert exchange tokens to access tokens
  • Obtain new access credentials
  • Complete token exchange flows

Examples

  • Exchange token:

    Trades an exchange token for an access token.

    exchangeToken: "exchange-token-value"
    
post/gitpod.v1.IdentityService/ExchangeToken

Request body

exchangeTokenstring

exchange_token is the token to exchange

Response

Success

accessTokenstring

access_token is the new access token