Skip to main content

MobileAcceptInviteInput

Accepts an invitation to a buyer account.

input MobileAcceptInviteInput {
code: String!
deviceId: String
firstName: String
lastName: String
subdomain: String
token: String!
}

Fields​

MobileAcceptInviteInput.code ● String! non-null scalar​

OTP from the invited mailbox. Proof of LIVE mailbox control, so a FORWARDED invite link cannot be accepted by whoever holds it — verified server-side against the token's own email, never a client-supplied one.

MobileAcceptInviteInput.deviceId ● String scalar​

This app install's device id (the one it registers push notifications with). A sign-in that sends it replaces this phone's earlier session instead of using up another of the account's 5 device slots, and never signs another phone out: when 5 other phones that send it are already signed in, the sign-in is refused with extensions.code DEVICE_LIMIT_REACHED. Optional — omitted, every sign-in starts a new session and, at the limit, the least recently used session is ended, as before.

MobileAcceptInviteInput.firstName ● String scalar​

The person's first name. Optional, because the inviter already entered it.

MobileAcceptInviteInput.lastName ● String scalar​

The person's last name.

MobileAcceptInviteInput.subdomain ● String scalar​

The subdomain of the organization.

MobileAcceptInviteInput.token ● String! non-null scalar​

The invitation token.

Member Of​

mobileAcceptInvite mutation