Documentation navigation

Auth

Confirm an attribute change

POST/auth/verify

Verifies a pending email or phone change.

Parameters

AttributeChangeConfirmParams
attribute_name?string
The attribute to change: email or phone.
tokenstring
The verification code.
email?string
The pending email address.
phone?string
The pending phone number.
options.redirectTo?string
Redirect destination after confirmation.
options.captchaToken?string
Captcha verification token.

Returns

userPublicUser | null
sessionAccessTokenResponse | null