Skip to content

Mail and account security API ​

📝 TODO — this English page is a skeleton. The structure mirrors the Chinese page, which is fully written.

Email verification ​

MethodPathDescription
POST/api/email/verifyComplete verification with a token (24-hour TTL, single use)
POST/api/email/resendResend the verification mail (requires a session token)

Password reset ​

MethodPathDescription
POST/api/email/forgotRequest a reset link (30-minute TTL)
POST/api/email/resetSet a new password with the token

forgot always returns the same success body whether or not the address is registered, so it cannot be used to enumerate accounts. Resetting a password revokes every existing session.

Transport ​

MethodPathDescription
GET/api/mail/statussmtp when configured, otherwise file (logged to disk, not delivered)
POST/api/mail/testSend a test email

ModelFold — one API for all the best AI models.