> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Invites API: Invite People to an Organization

> Invite a person to an organization by email, list open invites, cancel one, and take up an invite with the OneCLI API. Cloud only.

An invite asks a person to join an organization as an admin or a member. Its link is returned once and works once.

Use these endpoints to invite, list and cancel. They exist on OneCLI Cloud only.

## Related guides

* [Editions: what OneCLI Cloud adds](/docs/api-reference/editions.md)

## Endpoints

| Endpoint | Method and path | What it does |
| - | - | - |
| [List invites](/docs/api-reference/invites/list-invites.md) | `GET /v2/invites` | The open and the expired invites of this organization, newest first. |
| [Invite a person](/docs/api-reference/invites/invite-a-person.md) | `POST /v2/invites` | Invites a person by email as an admin or a member, and answers the link once. |
| [Take up an invite](/docs/api-reference/invites/take-up-an-invite.md) | `POST /v2/invites/accept` | Joins the organization an invite link belongs to, as the role the invite offers. |
| [Cancel an invite](/docs/api-reference/invites/cancel-an-invite.md) | `DELETE /v2/invites/{id}` | Cancels an open invite to the organization, or clears an expired one, with the OneCLI API. |

## Next steps

* [API overview](/docs/api-reference.md): base URLs, authentication, and pagination
* [Errors](/docs/api-reference/errors.md): status codes and the error format
* [Editions](/docs/api-reference/editions.md): which endpoints each edition serves


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.