VerifyEmailOtpInput
Checks the one-time code to sign in.
input VerifyEmailOtpInput {
code: String!
deviceId: String
email: String
identifier: String
subdomain: String
}
Fields
VerifyEmailOtpInput.code ● String! non-null scalar
The one-time code.
VerifyEmailOtpInput.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.
VerifyEmailOtpInput.email ● String scalar
The email address. Optional when identifier is sent; kept so older app builds keep working.
VerifyEmailOtpInput.identifier ● String scalar
What was typed in the sign-in box: an email address or a WhatsApp number. Takes precedence over email.
VerifyEmailOtpInput.subdomain ● String scalar
ARC org subdomain this white-label build is pinned to (Constants.expoConfig.extra.orgSubdomain). MUST match the value sent to requestEmailOtp so the OTP key resolves. Optional only for backward-compat / dev fallback (MOBILE_BUYER_ORG_ID).
Member Of
mobileVerifyRegistrationOtp mutation ● verifyEmailOtp mutation