---
title: "bird invitations"
description: "Manage workspace invitations"
canonical: "https://bird.com/docs/cli/reference/invitations"
---

# `bird invitations`

## Usage

```bash
bird invitations
```

## Description

An invitation goes to an email address and stays pending until the recipient accepts it out
of band, it is revoked, or it expires — there is no call that accepts on their behalf. An
address that already belongs to an organization member is added to the workspace directly
instead.

Reads return JSON; list is paginated. Mutations take flags and/or a --body-file JSON body (flags overriding); run --example to print the body shape or --dry-run to preview the request.

## Procedure

**Invite a user to a workspace and manage the invitation**

Invite an email address to the workspace, which emails the recipient a link to accept. Acceptance happens out of band (the recipient follows the link); there is no API call to accept on their behalf. Track status with a get, and revoke a still-pending invitation to cancel it.

Requires: The invitation must still be pending; an accepted or already-revoked invitation cannot be revoked.

1. `bird invitations create` — Invites an email to the workspace. If the address already belongs to an org member, they are added directly and a member is returned; otherwise a pending invitation is created and the recipient is emailed a link. The type discriminator on the response says which happened. When a member was returned, the user was already in the org and is now in the workspace; there is nothing to accept. When an invitation was returned, the recipient opens the emailed link to accept and the invitation moves from `pending` to `accepted`; no API call accepts on their behalf. Next: bird invitations get or bird invitations revoke
2. `bird invitations get` — Returns the invitation with its current status (pending, accepted, revoked, expired) and expiry time.
3. `bird invitations revoke` — Cancels the pending invitation so its link no longer works.

## Commands

| Name                                               | Description                   |
| -------------------------------------------------- | ----------------------------- |
| [`create`](/docs/cli/reference/invitations-create) | Create a workspace invitation |
| [`get`](/docs/cli/reference/invitations-get)       | Get a workspace invitation    |
| [`list`](/docs/cli/reference/invitations-list)     | List workspace invitations    |
| [`revoke`](/docs/cli/reference/invitations-revoke) | Revoke a workspace invitation |

## Related resources

- [Should I use an API key or an OAuth token, and how do I rotate one?](/explained/platform/api-key-or-oauth-token-and-how-do-i-rotate-one) (answer)
- [Authentication & API keys](/docs/guides/authentication) (docs)

[Get an implementation brief](/learn/workspace?topic=account-access)
