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

# Send Invitations

Send user onboarding invitations.

**Required entitlements:**

* `inviteUser` (always required)
* `manageUserGroups` or `manageUserStandardGroups` (required only when using the Groups parameter)

<Note>
  External Documentation

  To learn more, visit the [IBM Security Verify documentation](https://docs.verify.ibm.com/verify/reference/inviteuser1).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Expiration In Days | The number of days before the invitation expires.<br /><br />Valid range is `1`-`30`.                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  | Groups             | A comma-separated list of group IDs to which the user will be assigned.<br /><br />Users inherit roles and permissions through group membership.<br /><br />At least one of the following entitlements is required to use this parameter:<br />\* `manageUserGroups`<br />\* `manageUserStandardGroups`                                                                                                                                                                                                                                            |
  | Invitations        | An array of invitations to send.<br /><br />**Invitation structure**:<br />\* `email` (required): The email address of the user to invite.<br />\* `name`: The name of the user to include in the invitation email.<br />\* `stateId`: A custom identifier to associate with the invitation transaction, defaults to `default`.<br /><br />For example:<br /><pre><code>\[<br />  \{<br />    "email": "[user@example.com](mailto:user@example.com)",<br />    "name": "John Doe",<br />    "stateId": "custom-state"<br />  }<br />]</code></pre> |
  | Realm              | The realm or identity source where the user account will be created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | Theme ID           | The identifier of the theme to apply to the invitation email.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                |
  | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Adopter ID            | An identifier for creating a unique invitation based on `Adopter ID` and `Email`. When sending the invitation, any existing invitation with the same `Adopter ID` and `Email` combination is replaced.                                                                                                                                                                                                                                                     |
  | Base Verification URL | A custom URL to override the default invitation acceptance link.<br /><br />For more information about the `Base Verification URL` parameter, refer to [IBM API documentation](https://docs.verify.ibm.com/verify/reference/inviteuser1).                                                                                                                                                                                                                  |
  | Enrollment ID         | The Enrollment ID for the password resetter and username recovery operations. Defaults to the first available enrollment if not specified.<br /><br />Use the value `transient` to verify using the user's profile data. When using this option, parameter `Transient Value` is required.<br /><br />For more information about the `Enrollment ID` parameter, refer to [IBM API documentation](https://docs.verify.ibm.com/verify/reference/inviteuser1). |
  | OTP Correlation       | A custom prefix to prepend to the OTP (One-Time Password) that is sent to the user.<br /><br />For example, if the correlation is `3235`, the user will receive the value `3235-126543` where `126543` is the generated OTP.                                                                                                                                                                                                                               |
  | Redirect URL          | The destination URL to redirect the user after a successful verification when `Base Verification URL` is not specified.                                                                                                                                                                                                                                                                                                                                    |
  | Transient Value       | The user's email address or phone number for verification when `Enrollment ID` parameter is set to `transient`. If not provided, the user's primary contact information from their profile will be used.<br /><br />For more information about the `Enrollment ID` parameter, refer to [IBM API documentation](https://docs.verify.ibm.com/verify/reference/inviteuser1).                                                                                  |
</div>

## Example Output

```json theme={"dark"}
{
	"messageId": "string",
	"messageDescription": "string",
	"results": [
		{
			"trxId": "string",
			"expiration": "string",
			"error": "string",
			"email": "string",
			"result": "failure"
		}
	]
}
```

## Workflow Library Example

[Send Invitations with Ibm Security Verify and Send Results Via Email](https://library.blinkops.com/workflows/send-invitations-with-ibm-security-verify-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/send-invitations-with-ibm-security-verify-and-send-results-via-email/canvas" />
</div>
