Zoho Lens - API Get Userinfo
Get User Info
This API fetches the details of an existing user in Zoho Lens.
CopiedGET /user
Request Example
$ curl https://lens.zoho.com/api/v2/user
-X GET
-H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8"
-H "Authorization: Zoho-oauthtoken ba4604e8e433g9c892e360d53463oec5"
Response Example
HTTP/1.1 200 OK
Content-Type:application/json;charset=UTF-8{
"resource_type": "user",
"representation": {
"zuid": "4231895",
"user_role": 0,
"role": {
"role_id": "9000000000884",
"is_editable": false,
"non_editable_role_key": "TECHNICIAN",
"added_by_zuid": "3231895",
"added_time": "9876543222",
"updated_by_zuid": "3231895",
"updated_time": "987654343333",
"is_remote_support_allowed": false,
"is_remote_access_allowed": false,
"permissions": [....],
"modules": [
"LENS_SUPPORT",
"ORGANIZATION_REPORTS",
"REMOTE_SUPPORT_SETTINGS",
"ORGANIZATION_SETTINGS"
]
},
"org_details": {
"zsoid": 25466254,
"org_name": "Zoho Lens"
},
"license": {
"trial_edition": "2",
"license_type": "FREE|TRIAL|LICENSED",
"days_left": 21,
"lens_license": {
"edition": "FREE|STANDARD|PROFESSIONAL",
"count": -1,
"is_enabled": true,
"features": [{...} ],
}
},
"departments": [
{
"department_id": "969371001",
"department_name": "My Department",
"display_name": "My Department",
"is_system_generated": true
}
],
"preferred_department": "969371001"
}
}