Skip to main content
Changing your email address is a two-step process that protects against unauthorized account takeovers. First, you initiate the change by providing your new address along with your current password to confirm your identity. The API then sends a verification link to the new inbox. Once you click that link (or submit the token it contains), the change takes effect and the new address becomes active on your account.
The verification link sent to your new email address expires after 24 hours. If it expires before you confirm it, restart the process by calling POST /users/me/email again.

Email Change Flow

1

Initiate the Email Change

Call POST /users/me/email with your desired new email and your current password. The API verifies your password, checks that the new address is not already in use, and dispatches a verification email.POST /users/me/emailBefore sending this request, call GET /auth/csrf-token and include the returned token in the x-csrf-token header.Request Body
string
required
The email address you want to switch to. Must be a valid email format and must not already be registered to another account.
string
required
Your current account password, used to re-authenticate the request.
Response — 202 AcceptedNo response body is returned. A verification email has been queued to the new address.Error Responses
2

Verify the New Email Address

Open the verification email that arrives at your new address and extract the token from the link, or copy it directly. Then call POST /users/me/email/verify with that token while still authenticated.POST /users/me/email/verifyYou must still be authenticated with the same session that initiated the change. Obtain a fresh CSRF token before this call.Request Body
string
required
The opaque verification token from the email link. Single-use and expires after 24 hours.
Response — 200 OK
Your account email address is now updated to the new address. Future logins must use the new email.Error Responses