Skip to main content

mobileClaimInvite

Public: no authentication required.

Claim an invite with an exact credential — the invite token (link opened in the app) or an install handoff code (Play referrer / iOS clipboard) — accepting it and returning a MOBILE session. Only accepts a PENDING invite; never a login for an existing account.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation MobileClaimInvite($input: MobileClaimInviteInput!) {
mobileClaimInvite(input: $input) {
accessToken
isNewBuyer
refreshToken
userId
}
}

Variables:

{
"input": {}
}

Response:

{
"data": {
"mobileClaimInvite": {
"accessToken": "string",
"isNewBuyer": true,
"refreshToken": "string",
"userId": "id"
}
}
}
mobileClaimInvite(
input: MobileClaimInviteInput!
): MobileAuthResponse!

Arguments​

mobileClaimInvite.input ● MobileClaimInviteInput! non-null input​

The details of the mobile claim invite request.

Type​

MobileAuthResponse object​

The result of a buyer sign in.