User Lookup
- Print
- PDF
User Lookup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Look up a user by user UID.
request
Item | type | Required | Explanation | Remark |
---|---|---|---|---|
projectId | String | O | ProjectId in GamePot SDK | |
userId | String | O | UserId of GamePot SDK |
Request header
Header name | Required | Explanation |
---|---|---|
x-api-key | O | Authentication key issued by GamePot |
accept-language | X | Language used |
answer
Field name | type | Explanation |
---|---|---|
status | Int | Result (1: Success ) |
id | String | User ID |
deleted | Boolean | Whether to delete the member (true: delete, false: normal ) |
store_id | String | Store accessed when creating account (google ...) |
country | String | User country code (based on ISO 3166-1) |
remoteip | String | User IP |
adid | String | Advertising id |
device | String | Device type (android, ios) |
network | String | User access network (WI-FI ...) |
version | String | Client version information |
model | String | User device model name |
token | String | Push token |
push | Boolean | Whether to accept push (true: agree, false: disagree) |
night | Boolean | Night push consent (true: agree, false: disagree) |
ad | Boolean | Ads push consent (true: agree, false: disagree) |
memo | String | Member notes |
device_id | String | Member Device ID |
createdAt | String | Date the member was created |
updatedAt | String | Date the member information was modified |
loginedAt | String | Last access date |
deletedAt | String | Date the member was deleted |
example
Request example
Example response
{
"status": -6,
"message": "projectId was wrong."
}
Was this article helpful?