Completes the email change process by verifying the new email address with a confirmation code. Returns an email token that confirms the email change. After this step, the user may need to re-authenticate.
curl --request POST \
--url https://api.fluxer.app/v1/users/@me/email-change/verify-new \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": "<string>",
"code": "<string>",
"original_proof": "<string>"
}
'{
"email_token": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Success
The email change token to use for updating email
curl --request POST \
--url https://api.fluxer.app/v1/users/@me/email-change/verify-new \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": "<string>",
"code": "<string>",
"original_proof": "<string>"
}
'{
"email_token": "<string>"
}