AugmentCode自动注册 API

此API提供AugmentCode注册过程中所需的功能

验证卡密

GET /api/check-license?key=YOUR_LICENSE_KEY

验证卡密是否有效

返回格式: { success: boolean, message: string, email?: string }

获取邮箱

GET /api/get-email?key=YOUR_LICENSE_KEY

获取邮箱地址 (如果当天已有记录则返回已有邮箱,否则生成新邮箱)

返回格式: { success: true, email: string, message: string, isNewEmail: boolean }

获取验证码

GET /api/get-code?key=YOUR_LICENSE_KEY&email=EMAIL_ADDRESS

获取指定邮箱中的最新验证码,带有重试机制

返回格式: { success: boolean, code?: string, attempt?: number, message?: string, email: string }

关注公众号「code 未来」获取更多技术资源