GET api/v1/OpenAPIToken?token={token}

Get the current OpenAPIToken. Example:
{
"AccessToken": "AAIgNmNlNmI2MDA4YjU3YjNjMGRiZjZmNTk5ZDhhNjI0MjXsKK9mEBiIGafBus-J69J3BxEP8mM33x80J-WUjS5a8VuIT9WO9l6TGw_Hydoj6jCB3TDNlSgIwqXJJtYls4zrQZvzEBTLcmmJdI6hre3mgA",
"AccessTokenValidDate": "2023-10-12T18:11:19.363",
"RefreshToken": "AALvK5Tt1IyH2hc46L80LMTyt94krs0_B-vVCc7y4106EcTK1xfUggVYIpXYRBS9Lz9jxOHa3DmBZqM1Hf8XMzx0nH-BiXXULS_9a0_6kFW2jg",
"RefreshTokenValidDate": "2024-01-10T18:01:18.363"
}

Request Information

URI Parameters

NameDescriptionType/Additional information
token

CaspiToken used for login

string

Body Parameters

None.

Response Description

OpenAPIToken

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 3",
  "AccessTokenValidDate": "2024-11-23T11:33:35.8311613+02:00",
  "RefreshToken": "sample string 5",
  "RefreshTokenValidDate": "2024-11-23T11:33:35.8311613+02:00"
}

application/xml, text/xml

Sample:
<OpenAPIToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaspitWebTiles.Web.Models">
  <AccessToken>sample string 3</AccessToken>
  <AccessTokenValidDate>2024-11-23T11:33:35.8311613+02:00</AccessTokenValidDate>
  <RefreshToken>sample string 5</RefreshToken>
  <RefreshTokenValidDate>2024-11-23T11:33:35.8311613+02:00</RefreshTokenValidDate>
</OpenAPIToken>