verifyEmailWithTokenPair
Verify an email address with the verification ID and secret token from a verification email. Returns the email address only when the pair matches a pending, unexpired verification request, which is then completed. Otherwise the email is null.
Arguments
Input for verifying an email address with a token pair.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation VerifyEmailWithTokenPair($input: VerifyEmailWithTokenPairInput!) {
verifyEmailWithTokenPair(input: $input) {
email
}
}
Variables
{
"input": VerifyEmailWithTokenPairInput
}
Response
{
"data": {
"verifyEmailWithTokenPair": {
"email": "thank-now-customer-measure-machine"
}
}
}