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

# Create User

Create a new Duo user.

**Note**: This action requires the `Grant resource - Write` API permission.

<Note>
  External Documentation

  To learn more, visit the [Duo documentation](https://duo.com/docs/adminapi#create-user).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                     |
  | --------- | ------------------------------- |
  | Email     | The email address of this user. |
  | Username  | The name of the user to create. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                                                                                                                                                                                                              |
  | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | First Name | The user's given name.                                                                                                                                                                                                                                                                                                                                   |
  | Last Name  | The user's surname.                                                                                                                                                                                                                                                                                                                                      |
  | Notes      | An optional description or notes field. Can be viewed in the Duo Admin Panel.                                                                                                                                                                                                                                                                            |
  | Real Name  | The real name (or full name) of this user.                                                                                                                                                                                                                                                                                                               |
  | Status     | The user's status. One of:<br /><br />-  `Active` - The user must complete secondary authentication. This is the default value if no status is specified.<br />-  `Bypass` - The user will bypass secondary authentication after completing primary authentication.<br />-  `Disabled` - The user will not be able to complete secondary authentication. |
</div>

## Example Output

```json theme={"dark"}
{
	"stat": "OK",
	"response": {
		"alias1": null,
		"alias2": null,
		"alias3": null,
		"alias4": null,
		"aliases": {},
		"created": 1657222760,
		"email": "jperez@example.com",
		"firstname": "",
		"groups": [],
		"is_enrolled": false,
		"last_directory_sync": null,
		"last_login": null,
		"lastname": "",
		"notes": "",
		"phones": [],
		"realname": "Juan Perez",
		"status": "active",
		"tokens": [],
		"u2ftokens": [],
		"user_id": "DU0W79YFWZAJWJV6P00L",
		"username": "jperez",
		"webauthncredentials": []
	}
}
```

## Workflow Library Example

[Create User with Duo and Send Results Via Email](https://library.blinkops.com/workflows/create-user-with-duo-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/create-user-with-duo-and-send-results-via-email/canvas" />
</div>
