Skip to main content

userTokenVerify
mutation

Verifies a user token. See Verifying requests for more details.

Input arguments for the mutation.

string
required

The temporary user token to verify.

Was this section helpful?

This mutation returns a UserTokenVerifyPayload object with the following fields:

[]
required

List of errors that occured while executing the mutation.

string | null

The public ID of the user.

| null

The expiration date of the token.

'VERIFIED' | 'GUEST' | null

The state of the user.

string | null

A permanent identifier for the user.

Deprecated

Use publicId instead.

Was this section helpful?

Usage

mutation VerifyUserToken($token: String!) {
userTokenVerify(token: $token) {
tokenExpiresAt
publicId

userErrors {
code
field
message
}
}
}