v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Account

Account:TokenRefresh

Use the refresh token to obtain a new JWT and (optionally new) refresh token to authenticate with against the API.

post/v2/accounts/token-refresh

Request body

refreshTokenstring required

Example request

{
  "refreshToken": "17a1fc04a3a1f297d30fb1fa70d12538524a9cfd619fee0348911b404c4475a54c5709a9d3e48274e1084b22e2b132af073226683643c470b371fe20c976e815"
}

Response

Use the refresh token to obtain a new JWT and (optionally new) refresh token to authenticate with against the API.

tokenstring
accessTokenExpiresAtstring date-time nullable
refreshTokenstring
refreshTokenExpiresAtstring date-time nullable

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
  "accessTokenExpiresAt": "2024-06-04T08:15:00+01:00",
  "refreshToken": "90c00a7a9e970f9bbe076e05743e00648908c38366c551a8cdf524ba424fc3e520988f6320a54989bbe85931ffe1bfcc63e33fd8b45d58564039943bfbd8dfe7",
  "refreshTokenExpiresAt": "2024-06-04T08:15:00+01:00"
}