For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create an organization invite

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Body
or
or
Responses
201

The organization invite has been created

application/json

An invite link created in an organization

or
or
post/orgs/{organizationId}/link-invites
POST /v1/orgs/{organizationId}/link-invites HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "role": "admin"
}
201

The organization invite has been created

{
  "object": "invite",
  "id": "text",
  "role": "admin",
  "redundant": true
}

Last updated

Was this helpful?

Powered by GitBook