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

# Add User

Create a new user.

<Note>
  External Documentation

  To learn more, visit the [Atlassian Crowd documentation](https://developer.atlassian.com/server/crowd/rest/v602/api-group-users/#api-rest-usermanagement-1-user-post).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                              |
  | -------------- | -------------------------------------------------------- |
  | Active         | Set whether the entity is active.                        |
  | Directory ID   | The ID of the directory the entity belongs to.           |
  | Directory Name | The name of the directory the entity belongs to.         |
  | Display Name   | The user's display name.                                 |
  | Email          | The user's email address.                                |
  | Expand         | Set if the response should include expanded information. |
  | First Name     | The user's first name.                                   |
  | Key            | The user's unique key.                                   |
  | Last Name      | The user's last name.                                    |
  | Password       | The user's password.                                     |
  | Username       | The username of the user.                                |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Attributes         | Additional attributes of the entity.<br /><br />For example:<br /><pre><code>\{<br />  "attributes": \[<br />    \{<br />      "name": "string",<br />      "values": \["string"]<br />    }<br />  ]<br />}</code></pre>For more information about the `Attributes` parameter, visit [Atlassian Crowd API documentation](https://developer.atlassian.com/server/crowd/rest/v602/api-group-users/#api-rest-usermanagement-1-user-post). |
  | Encrypted Password | The user's encrypted password.                                                                                                                                                                                                                                                                                                                                                                                                          |
  | Link Href          | The URL that points to the related entity.                                                                                                                                                                                                                                                                                                                                                                                              |
  | Link Rel           | The relationship type of the linked entity (e.g., `self`, `next`, `previous`).                                                                                                                                                                                                                                                                                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"link": {
		"href": "https://crowdserver/crowd/rest/usermanagement/1/user?username=sampleuser",
		"rel": "self"
	},
	"name": "sampleuser",
	"password": {
		"link": {
			"href": "https://crowdserver/crowd/rest/usermanagement/1/user/password?username=sampleuser",
			"rel": "edit"
		}
	},
	"key": "557057:927441f1-cc92-4030-b633-8a2bbdf7136e",
	"active": true,
	"attributes": {
		"link": {
			"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts&attributename=requiresPasswordChange",
			"rel": "self"
		},
		"attribute": [
			{
				"link": {
					"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts",
					"rel": "self"
				},
				"name": "invalidPasswordAttempts",
				"values": [
					"0"
				]
			},
			{
				"link": {
					"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts&attributename=requiresPasswordChange",
					"rel": "self"
				},
				"name": "requiresPasswordChange",
				"values": [
					"false"
				]
			}
		]
	},
	"first-name": "Sample",
	"last-name": "User",
	"display-name": "Sample User",
	"email": "sample@user.cool"
}
```

## Workflow Library Example

[Add User with Atlassian Crowd and Send Results Via Email](https://library.blinkops.com/workflows/add-user-with-atlassian-crowd-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/add-user-with-atlassian-crowd-and-send-results-via-email/canvas" />
</div>
