Get the List of Users
To get the list of all users in an organization.
API: https://meeting.zoho.com/api/v2/{orgId}/user
Method : Get
OAuth Scope : ZohoMeeting.user.READ
Path Params:
orgId - organization id which is retrieved from currentUser api
Params :
index - Page Number. Default value 0.
count - No.Of records.Default value 20.
Request Example
Copiedhttps://meeting.zoho.com/api/v2/1234567/user?index=0&count=1
Response Example
Copied{
"representation": [
{
"userId": "1234567890",
"zuid": "12345678",
"role": "Administrator",
"organization": {
"orgId": "1234567",
"orgName": "Zoho",
"link": "/api/v2/org/1234567"
},
"firstName": "Zlyker",
"lastName": "Meeting",
"fullName": "Zlyker Meeting",
"emailId": "meeting@zlyker.com",
"meetingLicense": {
"enabled": true,
"edition": "Professional"
},
"webinarLicense": {
"enabled": true,
"edition": "Professional"
}
}
],
"totalCount": 2,
"resourceType": "/api/v2/1234567/user"
}
Show full
Show less
POSSIBLE ERROR CASES
1. Invalid DC or Invalid token
HTTP Code: 400
HTTP Body:
Copied{
"error": {
"code": 2000,
"message": "INVALID_OAUTHTOKEN"
}
}
Resolution: Check whether the entered DC is correct and entered token is not expired.
2. Invalid orgId
HTTP Code: 403
HTTP Body:
Copied{
"error": {
"code": 1025,
"message": "Org doesn't matches with request uri"
},
"resourceType": "/meeting/api/v2/1234567/user"
}
Resolution: Check whether the entered organization id is correct.
3. Invalid Org Admin
HTTP Code: 403
HTTP Body:
Copied{
"error": {
"code": 1009,
"message": "Invalid org admin"
},
"resourceType": "/meeting/api/v2/1234567/user"
}
Resolution: Only admin can access this api. Kindly contact the admin.