---
title: "CreateOrganizationInvite"
method: POST
path: "/gitpod.v1.OrganizationService/CreateOrganizationInvite"
tags: ["gitpod.v1.OrganizationService"]
---

# CreateOrganizationInvite

`POST /gitpod.v1.OrganizationService/CreateOrganizationInvite`

Creates an invite link for joining an organization.
 Any existing OrganizationInvites are invalidated and can no longer be used.

 Use this method to:
 - Generate shareable invite links
 - Manage team growth
 - Control organization access

 ### Examples

 - Create organization invite:

   Generates a new invite link for the organization.

   ```yaml
   organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1CreateOrganizationInviteRequest
  - `organizationId` string, uuid, required

## Response `200`

Success

- GitpodV1CreateOrganizationInviteResponse
  - `invite` GitpodV1OrganizationInvite, required
    - `inviteId` string, uuid, required — invite_id is the unique identifier of the invite to join the organization. Use JoinOrganization with this ID to join the organization.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
