Returns the authenticated user's email-verification + MFA state from Stytch.
GET
/account/email_status
const url = 'https://api.siteqwality.com/account/email_status';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/account/email_status \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Email verification state
Media type application/json
object
email_verified
required
Whether the caller’s Stytch member email is verified. Magic-link and Google OAuth signups land verified; email + password signups land unverified until the link in the welcome email is clicked.
boolean
mfa_enrolled
required
Whether the Stytch member has at least one MFA factor enrolled.
boolean
email
required
The email address Stytch has on file. Handy for the banner copy.
string
Example generated
{ "email_verified": true, "mfa_enrolled": true, "email": "example"}Missing or invalid authentication
Internal server error