# `bird organization invitations create`

## Usage

```bash
bird organization invitations create [flags]
```

## Description

Create an org invitation

Invites a user to the organization with an org role and/or workspace roles.
At least one of org_role or workspace_roles must be provided.

Build the request from flags, a JSON OrganizationInvitationCreate body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.

## Examples

```bash
# print the body shape (no credentials needed)
bird organization invitations create --example
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Options

| Name                | Description                                       |
| ------------------- | ------------------------------------------------- |
| `--email`           | Email address to invite. Normalized to lowercase. |
| `--response-schema` | Print the fields this command returns, then exit  |

## Related

| Name                                                                                          | Description              |
| --------------------------------------------------------------------------------------------- | ------------------------ |
| [`bird organization invitations get`](/docs/cli/reference/organization-invitations-get)       | Get an org invitation    |
| [`bird organization invitations list`](/docs/cli/reference/organization-invitations-list)     | List org invitations     |
| [`bird organization invitations revoke`](/docs/cli/reference/organization-invitations-revoke) | Revoke an org invitation |