Skip to main content
POST
/
auth
/
exchangeRefreshToken
Exchange an offline refresh token
curl --request POST \
  --url https://api.guile.app/auth/exchangeRefreshToken \
  --header 'Authorization: Bearer <token>'
{
  "authToken": "<string>",
  "refreshToken": "<string>"
}

Response

Created.

The JSON representation of issued authentication tokens as the result of a successful authentication challenge or the exchange of a refresh token.

authToken
string<jwt>
required

A bearer token representing an authenticated user.

refreshToken
string<jwt>
required

An offline refresh token. Refresh tokens are exchanged for a new authentication token without going through a challenge workflow.