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

# Invite Users To Organization

Invite users to your organization with specified roles, directories, and groups.

**Note:** This action is only available to customers who have at least one paid subscription in their organization.

<Note>
  External Documentation

  To learn more, visit the [Atlassian Organizations documentation](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v2-orgs-orgid-users-invite-post).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Additional Groups | A comma-separated list of group IDs to add the invited users to. Can be obtained by using the `List Organization Groups` action.                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Email Addresses   | A comma-separated list of email addresses to invite to your organization. Maximum of `25` email addresses can be provided.                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | Organization ID   | The unique ID of your organization.<br /><br />Can be obtained by using the `List Organizations` action.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Permission Rules  | A list of permission rules to assign to the invited users. Each rule specifies a resource and a role.<br /><br />**Available roles:** <br />\* `atlassian/user`<br />\* `atlassian/admin`<br />\* `atlassian/guest`<br />\* `atlassian/contributor`<br />\* `atlassian/customer`<br />\* `atlassian/basic`<br />\* `atlassian/stakeholder`<br />\* `atlassian/viewer`<br /><br />**For Example:**<br /><pre><code>\[<br />  \{<br />    "resource": "ari:cloud:jira::site/7c3",<br />    "role": "atlassian/user"<br />  }<br />]</code></pre> |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                              |
  | ----------------------- | -------------------------------------------------------- |
  | Notification Text       | A custom message to include in the email invitation.     |
  | Send Email Notification | Select to send an email invitation to the invited users. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"id": "619034:4eb0cd3f-3cb6-4561-8d6a-0546e66cab3d",
			"email": "user@example.com",
			"results": [
				{
					"roleAssignmentResult": [
						{}
					],
					"groupAssignmentResult": [
						{}
					]
				}
			]
		}
	]
}
```

## Workflow Library Example

[Invite Users to Organization with Atlassian Organizations and Send Results Via Email](https://library.blinkops.com/workflows/invite-users-to-organization-with-atlassian-organizations-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/invite-users-to-organization-with-atlassian-organizations-and-send-results-via-email/canvas" />
</div>
