GET {{baseUrl}}/users?status=active&page_size=30&role_id=<string>&page_number=<string>&include_fields=host_key&next_page_token=<string>&license=zoom_workforce_management
Retrieve a list your account's users. Scopes: Rate Limit Label: user:read:admin
MEDIUM
Body
PARAM
Key | Datatype | Required | Description |
status
|
string | The user's status. * `active` - The user exists on the account. * `inactive` - The user has been deactivated. * `pending` - The user exists on the account, but has not activated their account. See [Managing users](https://support.zoom.us/hc/en-us/articles/201363183) for details. This value defaults to `active`. | |
page_size
|
number | The number of records returned within a single API call. | |
role_id
|
string | The role's unique ID. Use this parameter to filter the response by a specific role. You can use the [**List roles**](/docs/api/rest/reference/account/methods/#operation/roles) API to get a role's unique ID value. | |
page_number
|
string | The page number of the current page in the returned records. | |
include_fields
|
string | Use this parameter to display one of the following attributes in the API call's response: * `custom_attributes` — Return the user's custom attributes. * `host_key` — Return the user's [host key](https://support.zoom.us/hc/en-us/articles/205172555-Using-your-host-key). | |
next_page_token
|
string | Use the next page token to paginate through large result sets. A next page token is returned whenever the set of available results exceeds the current page size. This token's expiration period is 15 minutes. | |
license
|
string | The user's license. Filter the response by a specific license. |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"next_page_token": "<string>",
"page_count": "<integer>",
"page_number": 1,
"page_size": 30,
"total_records": "<integer>",
"users": [
{
"email": "<email>",
"type": 2,
"user_created_at": "<dateTime>",
"created_at": "<dateTime>",
"custom_attributes": [
{
"key": "<string>",
"name": "<string>",
"value": "<string>"
},
{
"key": "<string>",
"name": "<string>",
"value": "<string>"
}
],
"dept": "<string>",
"employee_unique_id": "<string>",
"first_name": "<string>",
"group_ids": [
"<string>",
"<string>"
],
"host_key": "<string>",
"id": "<string>",
"im_group_ids": [
"<string>",
"<string>"
],
"last_client_version": "<string>",
"last_login_time": "<dateTime>",
"last_name": "<string>",
"plan_united_type": "128",
"pmi": "<long>",
"role_id": "<string>",
"status": "inactive",
"timezone": "<string>",
"verified": 1,
"display_name": "<string>"
},
{
"email": "<email>",
"type": 1,
"user_created_at": "<dateTime>",
"created_at": "<dateTime>",
"custom_attributes": [
{
"key": "<string>",
"name": "<string>",
"value": "<string>"
},
{
"key": "<string>",
"name": "<string>",
"value": "<string>"
}
],
"dept": "<string>",
"employee_unique_id": "<string>",
"first_name": "<string>",
"group_ids": [
"<string>",
"<string>"
],
"host_key": "<string>",
"id": "<string>",
"im_group_ids": [
"<string>",
"<string>"
],
"last_client_version": "<string>",
"last_login_time": "<dateTime>",
"last_name": "<string>",
"plan_united_type": "256",
"pmi": "<long>",
"role_id": "<string>",
"status": "active",
"timezone": "<string>",
"verified": 1,
"display_name": "<string>"
}
]
} |
ENDPOINTS