Create an organization invite
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[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?