Organization Management
Get Organization Members
This API retrieves the list of organization members along with their details.
Required OAuth Scope:
ZohoLens.userapi.READEndpoint:
GET /api/v2/org_membersAccess:
Org Super Admin and Admin role only.Parameters:
department_id (optional):
Department ID of the technician (obtainable from the user API).
Sample Request
Copiedcurl --location --request GET 'https://lens.zoho.com/api/v2/org_members' \
--header 'Authorization: Zoho-oauthtoken {access_token}'
Sample Response
CopiedHTTP/1.1 200 OK
For Remote Support,
Content-Type:application/json;charset=UTF-8
{
"pending": [
{
"ROLE": 0,
"STATUS": "pending",
"ROLEID": "56******",
"EMAIL": "frida.m@zylker.com",
"DEPARTMENTS": [
"Department 1"
],
"ROLENAME": "Technician",
"ACCESS": [],
"INVITATION_ID": 55*********
}
],
"accepted": [
{
"ROLE": 1,
"STATUS": "accepted",
"ROLEID": "56******",
"ZUID": "56******",
"EMAIL": "frida.m@zylker.com",
"ROLENAME": "Technician",
"DEPARTMENTS": [
{
"department_id": "56******",
"department_name": "Department 1",
"display_name": "Department 1",
"is_system_generated": true
}
],
"DISPLAY_NAME": "",
"ACCESS": [
"LENS SUPPORT"
]
},
{
"ROLE": 2,
"STATUS": "accepted",
"ROLE_ID": "56******",
"ROLEID": "56******",
"ZUID": "56******",
"EMAIL": "john.f@zylker.com",
"ROLENAME": "Super Admin",
"DEPARTMENTS": [
{
"department_id": "56******",
"department_name": "Department 1",
"display_name": "Department 1",
"is_system_generated": true
},
{
"department_id": "56******",
"department_name": "Department 2",
"display_name": "Department 2",
"is_system_generated": false,
"zuid": "56******"
}
],
"DISPLAY_NAME": " ",
"ACCESS": [
"LENS SUPPORT"
]
}
]
}