Skip to content

Send Registration Code

POST/web/v1/users/self/auth/register/code/send None

Sends a verification code to the user's email during the registration flow.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
AuthorizationBearerJWT access token

Request Parameters

NameTypeRequiredInDescription
requestObjectRequiredbodyRegisterCodeSendRequest object (see request body schema)

Success Response

Success 200
{
  "version": "1.3.0",
  "timestamp": 1709337600000,
  "success": true,
  "code": "2000",
  "message": "SUCCESS",
  "data": {
    "sent": true,
    "maskedTarget": "u***@example.com"
  }
}

Error Responses

Unauthorized 401
{
  "success": false,
  "code": "4010",
  "message": "Invalid or expired token"
}

Notes

  • Rate limited to 5 requests per 60-second window.
  • The sessionId must come from a prior initiateRegister call.
  • Request body is strictly validated — unknown or unexpected fields will be rejected with HTTP 400.

SlaunchX Internal Documentation