Auth

Send a code to link or change the email of the account

An address of another account is refused with 409 email_taken only after the code is confirmed. Sets the otprun_email_bind cookie. Answers 503 with code unavailable while email sign-in is turned off and 403 with code reauth_required when the sign-in is older than 15 minutes.

post/api/v1/me/email/start

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/me/email/start
  • Auth: HTTP bearer

Headers

User-Agentstring
Accept-Languagestring

Language of the email, the account language when it is not supported

Request body

emailstring email required

Response

OK

challenge_idstring uuid required
expires_atstring date-time required

The code and the link in the email stop working at this moment

resend_atstring date-time required

Earliest moment a new email can be requested

Changes

No recorded changes to this operation across all 1 revision of this API.