1. Register

https://domain/api/auth/register

1.1) request body

name type necessary remark
phone string Y India mobile phone number
phone string Y India mobile phone number
name string Y nickname or realname
passwordConfirm string Y passwordConfirm with md5 encrypted
invitationCode string Y Invitation code given by inviter
otp string Y OTP
brand string Y phone device brand
model string Y phone device model
manufacturer string Y phone device manufacturer
fingerprint string Y phone device fingerprint
osVersion string Y phone device os version
deviceId string Y phone device deviceId
gaid string Y phone device google advertise id
appVersion string Y app version

1.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data T bussiness entity

data description

name type remark
userId string user unique id
username string username for login
token string you can access all api used the token directly and not to login after register

results matching ""

    No results matching ""