API Overview
Message Callbacks
Status Codes
Overview
Registration API. Supports account-password, phone-number, and email-address registration.
Request
Authentication: Add authentication headers to the request. See Authentication
Method:
POST
Rate limit:
100 requests/second
Endpoint: https://API domain/jim/register
Content-Type:
application/json
Request parameters
| Parameter | Data type | Required | Description | |
|---|---|---|---|---|
| account | string | No | Account. Letters and digits are recommended; length: 5–20 characters. Provide one of account, phone, or email. | |
| phone | string | No | Phone number | |
| string | No | Email address | ||
| code | string | No | Required for phone-number and email-address registration. The six-digit verification code received. | |
| password | string | Yes | Account password |
Request example
POST /jim/register HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json
{
"account":"username",
"password":"xxxxxx"
}
Response example
{
"code":0,
"msg":"sucess"
}