> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Users

Retrieve a list of directory integration users.

<Note>
  External Documentation

  To learn more, visit the [Kandji documentation](https://api-docs.kandji.io/#b107eb0a-b586-414f-bc4c-3d2b304cfd5f).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                          |
  | ---------------- | -------------------------------------------------------------------- |
  | Archived         | Select to return only archived users.                                |
  | Email            | A comma-separated list of user email addresses to filter results by. |
  | Integration UUID | The `UUID` of the integration to filter results by.                  |
  | Return All Pages | Automatically fetch all resources, page by page.                     |
  | User UUID        | The `UUID` of the user to filter results by.                         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                      |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Cursor    | The cursor used to paginate through the results. Use the value returned in the `next` attribute from a prior response to retrieve the next page. |
</div>

## Example Output

```json theme={"dark"}
{
	"next": "https://accuhive.kandji.io/api/v1/users?cursor=cD0yOTE0Mw%3D%3D",
	"previous": null,
	"results": [
		{
			"active": true,
			"archived": false,
			"created_at": "2024-09-06T21:00:04.304248Z",
			"department": null,
			"deprecated_user_id": "29360",
			"email": "test_user_01@accuhive.io",
			"id": "69c009ca-1f78-4bdf-bb93-08d6d39041db",
			"integration": {
				"id": 634,
				"name": "accuhive",
				"uuid": "f7461096-4ef9-43aa-88e9-ca1967ba0b38",
				"type": "office365"
			},
			"job_title": null,
			"name": "test_user_01",
			"device_count": 2,
			"updated_at": "2024-09-06T21:00:04.304280Z"
		}
	]
}
```

## Workflow Library Example

[List Users with Kandji and Send Results Via Email](https://library.blinkops.com/workflows/list-users-with-kandji-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-users-with-kandji-and-send-results-via-email/canvas" />
</div>
