Skip to main content

Fields

payload : GenericScalar! required

The body payload of the Kraken Token. The same information can be obtained by using JWT decoding tools on the value of the token field.

possibleErrors : [PossibleErrorType]

Field with the possible errors of the query/mutation.

Deprecation
The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.
refreshExpiresIn : Int

A Unix timestamp representing the point in time at which the refresh token will expire.

refreshToken : String

A token that can be used in a subsequent call to obtainKrakenToken to get a new Kraken Token with the same access conditions after the previous one has expired.

token : String! required

The Kraken Token. Can be used in the Authorization header for subsequent calls to the API to access protected resources.

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.

Example

{ "payload": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType, "refreshExpiresIn": 84, "refreshToken": "spring-model-next-such-ok", "token": "mind-air-woman-yard-sea" }