Get an organization by its ID

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

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
inviteIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Responses
200

Invite link in the organization.

application/json

An invite link created in an organization

or
or
get/orgs/{organizationId}/link-invites/{inviteId}
GET /v1/orgs/{organizationId}/link-invites/{inviteId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Invite link in the organization.

{
  "object": "invite",
  "id": "text",
  "role": "admin",
  "redundant": true,
  "teamInvitation": {
    "inviter": "text",
    "teams": [
      {
        "id": "text",
        "title": "text"
      }
    ]
  }
}

Last updated

Was this helpful?

Powered by GitBook