> ## 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

Get users from the specified directory. Filtering is supported with a single exact match  (`eq`) against the `userName` and `externalId` attributes.

**Note**: While this API enables pagination, sorting functionality is not supported.

<Note>
  External Documentation

  To learn more, visit the [Atlassian User Provisioning documentation](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                                         |
  | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
  | Count               | Desired maximum number of query results in the list response page.                                                                  |
  | Excluded Attributes | Resource attributes to be excluded from response. Mutually exclusive from `attributes`. Example: `timezone,emails.type,department`. |
  | Filter              | Filter for `userName` or `externalId`. Example: `userName eq "Atlassian"`.                                                          |
  | Start Index         | A 1-based index of the first query result.                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"Resources": [
		{
			"active": false,
			"department": "User's department.",
			"displayName": "User's display name.",
			"emails": [
				{
					"primary": false,
					"type": "Type of email address, for example \"work\" or \"personal\".",
					"value": "Email address."
				}
			],
			"externalId": "Identifier defined by provisioning client. This is a case-sensitive field. Uniqueness is  controlled by client.\n",
			"groups": [
				{
					"$ref": "string",
					"display": "string",
					"type": "string",
					"value": "string"
				}
			],
			"id": "Unique identifier defined by Atlassian SCIM Service. CaseExact. This is a read-only field and will be disregarded if included in the payload during user creation or modification.\n",
			"meta": {
				"created": "The DateTime that the resource was added to Atlassian SCIM service. This is a read-only field.\n",
				"lastModified": "The most recent DateTime that the details of this resource were updated. This  is a read-only field.\n",
				"location": "The URI of the resource being returned. This is a read-only field.",
				"resourceType": "The name of the resource type of the resource. This is a read-only and  case-sensitive field.\n"
			},
			"name": {
				"familyName": "The family name of the User.",
				"formatted": "The full name, including all middle names, titles, and suffixes as appropriate, formatted for display.",
				"givenName": "The given name of the User.",
				"honorificPrefix": "The honorific prefix(es) of the User, or title in most Western languages.",
				"honorificSuffix": "The honorific suffix(es) of the User, or suffix in most Western languages.",
				"middleName": "The middle name(s) of the User."
			},
			"nickName": "User's nickname.",
			"organization": "User's organization.",
			"phoneNumbers": [
				{
					"primary": false,
					"type": "Type of phone number, for example `work` or `personal`",
					"value": "Phone number."
				}
			],
			"preferredLanguage": "User's preferred language.",
			"schemas": [
				"string"
			],
			"timezone": "User's timezone. e.g. America/Los_Angeles .",
			"title": "User's title.",
			"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
				"department": "Department the user belongs to.",
				"organization": "Organization the user belongs to."
			},
			"urn:scim:schemas:extension:atlassian-external:1.0": {
				"atlassianAccountId": "string"
			},
			"userName": "Unique identifier defined by the provisioning client. Atlassian SCIM service will verify  the value and guarantee its uniqueness. This is a required field during  user creation or modification.\n"
		}
	],
	"itemsPerPage": 0,
	"schemas": [
		"string"
	],
	"startIndex": 0,
	"totalResults": 0
}
```

## Workflow Library Example

[List Users with Atlassian User Provisioning and Send Results Via Email](https://library.blinkops.com/workflows/list-users-with-atlassian-user-provisioning-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-atlassian-user-provisioning-and-send-results-via-email/canvas" />
</div>
