Returns the user details of a user.
token |
Your admin secret token. |
function |
Enter get-user. |
user_id |
The ID of the user. |
extra |
Set it to true to get the additional user details. Default: false. |
Response
{
"success": true,
"response": {
"id": "123456",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"profile_image": "https://aix.rpaix.com/user.svg",
"user_type": "visitor",
"creation_time": "2023-05-12 14:28:57",
"last_activity": "2023-05-12 14:28:57",
"department": null,
"token": "a521773c5a566a661c3fb00e93162b20ff955b12",
"password": "",
"details": [
{
"slug": "location",
"name": "Location",
"value": "Los Angeles, United States"
},
{
"slug": "country_code",
"name": "Country code",
"value": "America/New_York"
}
...
]
}
}
Returns {"success":true, "response":false}
if the user is not found.