Skip to main content
Generate a user token using ‘Basic <API_KEY>’. The token will be associated with the user_id and will have the specified scopes.

Arguments

UUID!
required
The userId that will be associated with the token.
UUID!
required
The accountId that will be associated with the token.
[ScopeType!]!
required
The scopes that the token will have access to.
UUID
The seatId will be used to make transactions, default to the most recently created if not provided.

Returns

GenerateUserAccessTokenResponse — Represents the response returned from the generateUserAccessToken mutation.