v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Authorization

Get Refresh Token

Token generated in authToken API will be valid for an hour. Post that access_token will automatically expire. When the access_token is expired, there are two options. 1) use the authToken API to generate a new token 2) use refreshToken API to extend the validity of the current token.The refreshed token will also expire after an hour, refer to expires_at in the response for the validity of the token. When the refreshed token also expires, call again the refreshToken API to extend it further. Like wise a token can extended 3 times, refer to refresh_count in the response. After 3 refresh attempts, token will expire and cannot be extended any further. Need to use authToken API to generate a new token.

post/v1/auth/tokens/refresh

Request body

access_tokenstring required

access token obtained from the auth token api

Response

Success

access_tokenstring required

access token obtained from the auth token api

issued_atstring required

Time in UTC at which the token was issued at

expires_atstring required

Time in UTC till which the token will be valid till

refresh_countinteger required

The count of refresh token used.It can be used for 3 max refresh count after which the token will expired.