http post /superapp/user/checkUser
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | boolean | Indicates whether the user exists |
http post /superapp/user/getUserAvatar
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | string | The URL of the profile photo. |
http post /superapp/user/getUserNick
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | string | Nickname. |
http post /superapp/user/getUserInfoTemporaryCode
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
Type | string | Value: email or phone |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | object | Data object. |
Data.code | string | Temporary code. |
Data.data | string | Masked data, such as 136****6688. |
http post /superapp/user/getUserPhoneNumber
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
TemporaryCode | string | Temporary code. |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | string | Encrypted mobile number. |
http post /superapp/user/getUserEmail
Field | Type | Description |
UserId | string | Login user ID obtained by the SDK from the app. |
TemporaryCode | string | Temporary code. |
Field | Type | Description |
ReturnCode | string | Status code. |
ReturnMessage | string | Description message. |
Data | string | Encrypted email address. |
Error code | Error code value | Description |
0 | OK | OK |
200000 | request data is not exist | Requested data does not exist. |
200001 | Invalid User | User error or exception |
200002 | Invalid User id | Invalid user ID. |
200003 | ITemporary code error or expired | Temporary code error or expired |
Was this page helpful?