Skip to main content

Arguments

Input fields for obtaining a long-lived refresh token to extend the expiry claim of a Kraken token.

Returns

ObtainLongLivedRefreshToken

Obtain a long-lived refresh token.

This mutation is limited to authorized third-party organizations only. Account users can only generate short-lived refresh tokens, obtainable from the 'refreshToken' field in the 'obtainKrakenToken' mutation.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can generate long lived refresh tokens

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation ObtainLongLivedRefreshToken($input: ObtainLongLivedRefreshTokenInput!) { obtainLongLivedRefreshToken(input: $input) { refreshExpiresIn refreshToken } }

Variables

Response

{ "data": { "obtainLongLivedRefreshToken": { "refreshExpiresIn": 87, "refreshToken": "box-message-myself-personal-thus" } } }