API Overview
Message Callbacks
Status Codes
Overview
Registers an account using an account name and password, a phone number, or an email address.
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"
}