POST Send Login MFA Code endpoint.
Endpoint
POST
/web/v1/partner/auth/login/mfa/send WEBAuthentication
- Chain: WEB
- JWT Token: false
- API Key: false
- Permissions: []
- Secure Channel: REQUIRED
Rate Limit
5 requests per 60 seconds.
Headers
Frontend Headers
| Header | Required | Description |
|---|---|---|
| X-LOCALE | Yes | 用户的 locale |
| Accept-Language | No | 语言偏好 |
Cloudflare Headers
| Header | Required | Description |
|---|---|---|
| CF-Connecting-IP | Yes | Client IP from Cloudflare |
| CF-IPCountry | Yes | Client country code |
| CF-Ray | Yes | Cloudflare Ray ID |
| CF-Visitor | Yes | Visitor scheme |
| X-Real-IP | Yes | Real client IP |
Nginx Headers
| Header | Required | Description |
|---|---|---|
| X-PORTAL-ACCESS-CODE | Yes | Portal access code |
| X-Real-IP | Yes | 客户端真实 IP |
| X-Forwarded-For | Yes | 代理链 |
| X-Forwarded-Proto | Yes | 协议 |
Request Parameters
Body (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
| sessionId | String | Yes | 登录会话 ID |
| method | Integer | Yes | MFA 方式代码 (10011001=EMAIL, 10011002=OTP, 10011005=BACKUP_CODE) |
Response
200 OK
| Field | Type | Description |
|---|---|---|
| sent | boolean | 验证码是否发送成功 |
| cooldownSeconds | int | 下次发送等待秒数 |
| codeExpiresIn | int | 验证码过期秒数 |