How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitBook Integrations API

Install and manage third-party integrations.

GitBook Integrations API is one of 65 APIs that GitBook publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 7 JSON Schema definitions.

Tagged areas include Integration. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, and 7 JSON Schemas.

This API exposes 35 operations across 22 paths, and defines 202 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1-beta.

Requests are made against a single base URL, {host}/v1.

35 operations 22 paths 202 schemas 5 DELETE19 GET3 PATCH7 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1-beta
Server
{host}/v1
Authentication
HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 6

GitBook Integrations API declares 6 security schemes for authenticating requests. It accepts HTTP bearer tokens (user). It accepts HTTP bearer tokens (user-internal). It accepts HTTP bearer tokens (user-staff). It accepts HTTP bearer tokens (integration). It accepts HTTP bearer tokens (integration-installation). It supports OAuth 2.0 (oauth) using the authorizationCode flow, exposing 29 scopes. By default, every request must be authenticated.

Paths & Operations 35

Across 22 paths, the API surfaces 35 operations — 5 DELETE, 19 GET, 3 PATCH, 7 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Integrations 35
POST
/integrations/{integrationName}/installations/{installationId}/spaces
Install an integration on a space
installIntegrationOnSpace 3 params body → 201404
GET
/integrations/{integrationName}/installations/{installationId}/spaces
List all space integration installations
listIntegrationInstallationSpaces 5 params → 200
GET
/integrations
List all public integrations
listIntegrations 10 params → 200
GET
/integrations/{integrationName}
Get an integration by its name
getIntegrationByName 1 param → 200404
POST
/integrations/{integrationName}
Publish an integration
publishIntegration 1 param body → 200404
DELETE
/integrations/{integrationName}
Unpublish an integration
unpublishIntegration 1 param → 204205
GET
/integrations/{integrationName}/installations
List all integration installations
listIntegrationInstallations 4 params → 200
POST
/integrations/{integrationName}/installations
Install an integration
installIntegration 1 param body → 201404
GET
/integrations/{integrationName}/events
List all integration events
listIntegrationEvents 3 params → 200
GET
/integrations/{integrationName}/events/{eventId}
Get an integration event by its ID
getIntegrationEvent 2 params → 200404
GET
/integrations/{integrationName}/spaces
List all integration space installations
listIntegrationSpaceInstallations 5 params → 200
GET
/integrations/{integrationName}/sites
List all integration site installations
listIntegrationSiteInstallations 5 params → 200
PUT
/integrations/{integrationName}/dev
Enable integration dev mode
setIntegrationDevelopmentMode 1 param body → 204404
DELETE
/integrations/{integrationName}/dev
Disable integration dev mode
disableIntegrationDevelopmentMode 1 param → 205
GET
/integrations/{integrationName}/render
Render an integration UI with GET method
renderIntegrationUIWithGet 2 params → 200
POST
/integrations/{integrationName}/render
Render an integration UI with POST method
renderIntegrationUIWithPost 1 param body → 200
POST
/integrations/{integrationName}/tasks
Queue an integration task
queueIntegrationTask 1 param body → 204404
GET
/integrations/{integrationName}/installations/{installationId}
Get an integration installation by its ID
getIntegrationInstallationById 2 params → 200404
PATCH
/integrations/{integrationName}/installations/{installationId}
Update an integration installation
updateIntegrationInstallation 2 params body → 200
DELETE
/integrations/{integrationName}/installations/{installationId}
Uninstall an integration
uninstallIntegration 2 params → 204205
POST
/integrations/{integrationName}/installations/{installationId}/tokens
Create an integration installation API token
createIntegrationInstallationToken 2 params → 200404
GET
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
Get an integration space installation
getIntegrationSpaceInstallation 4 params → 200404
PATCH
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
Update an integration space installation
updateIntegrationSpaceInstallation 4 params body → 200
DELETE
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}
Uninstall an integration from a space
uninstallIntegrationFromSpace 3 params → 204205
GET
/integrations/{integrationName}/installations/{installationId}/sites
List all site integration installations
listIntegrationInstallationSites 5 params → 200
POST
/integrations/{integrationName}/installations/{installationId}/sites
Install an integration on a site
installIntegrationOnSite 3 params body → 201404
GET
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
Get an integration site installation
getIntegrationSiteInstallation 4 params → 200404
PATCH
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
Update an integration site installation
updateIntegrationSiteInstallation 4 params body → 200
DELETE
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
Uninstall an integration from a site
uninstallIntegrationFromSite 3 params → 204205
GET
/orgs/{organizationId}/integrations
List all public integrations along with private ones trusted by the specific org
listOrganizationIntegrations 11 params → 200
GET
/orgs/{organizationId}/integrations/{integrationName}/installation_status
Get the status of an integration
getOrganizationIntegrationStatus 2 params → 200404
GET
/orgs/{organizationId}/installations
List all integration installations
listOrganizationInstallations 4 params → 200
GET
/orgs/{organizationId}/integrations/installations-status
List all integration statuses
listOrganizationIntegrationsStatus 6 params → 200
GET
/orgs/{organizationId}/sites/{siteId}/integration-scripts
List custom scripts injected into a site's published pages
listSiteIntegrationScripts 2 params → 200400
GET
/orgs/{organizationId}/sites/{siteId}/integrations
List third-party integrations enabled on a site
listSiteIntegrations 3 params → 200

Schemas 202

The contract defines 202 schemas that model the data the API accepts and returns. The most detailed are Space (28 properties), Organization (27 properties), Site (23 properties), OrganizationBilling (22 properties). Each schema is shown below with its type and property counts.

GitSyncOperationDirection
string
IntegrationSpaceInstallation
MemberRoleOrGuest
The role of a member in an organization, null for guests
DefaultLevel
Default level for a piece of content
Expression
string
Expression to evaluate
IntegrationInstallationStatus
string
MergeRulesConfigurationInherit
object
The merge rules inherits from the organization configuration.
1 property 1 required
IntegrationInstallationExternalIds
array
External IDs assigned by the integration.
PreviousGitSyncState
object
What is still known about a target's Git Sync after its installation was removed. Never returned alongside gitSync, which describes a live installation.
1 property 1 required
MergeRulesConfigurationRules
object
The merge rules are composed of individual rules that must all pass.
2 properties 2 required
MergeRule
MemberRole
string
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review…
Space
object
28 properties 17 required
VisitorAuth
VisitorAuthCustomBackend
object
1 property 1 required
ContentImportRun
object
14 properties 2 required
GitSyncInstallationStatus
string
GitSyncProvider
string
The provider of the Git Sync installation.
MergeRulesStandaloneConfiguration
Timestamp
string
Emoji
string
Unicode codepoint or character of the emoji
ContentImportSource
ContentVisibility
string
public: Anyone can access the content, and the content is indexed by search engines. unlisted: Anyone can access the content, and the content is not indexed by…
GitSyncState
object
11 properties 3 required
GitSyncOperationErrorAction
object
An action the user can take to resolve a failed Git Sync operation.
2 properties 2 required
MergeRulesSpaceConfiguration
SpaceTitle
string
Title of the space
MergeRulesConfigurationNone
object
The merge rules are disabled, change requests can be merged without review.
1 property 1 required
GitSyncOperationState
string
running: The operation is still running failure: The operation failed success: The operation was successful timeout: The operation timed out
URL
string
ContentImportTarget
object
3 properties 1 required
SpaceEditMode
string
Determines how a Space can be edited. live: Users can directly edit the space locked: All edits are locked for this space.
TranslationLanguage
string
VisitorAuthIntegrationBackend
object
1 property 1 required
IntegrationContentInstallationBase
object
Base properties of an installation of an integration on a site or space.
6 properties 6 required
SpaceEvent
ContentKitText
object
Low level text element.
3 properties 2 required
BlockReason
string
A short description giving context on the reason for the block.
FetchEvent
BillingCreditsBundle
string
The AI credit bundle to top up every month
IntegrationInstallationSiteSelection
string
Describe whether all sites have been selected or there's a selection involved
ContentKitConfirm
object
A confirm object that defines an optional confirmation dialog after the input is clicked.
4 properties 3 required
SiteInstallationSetupEvent
BillingProduct
string
Name of the product
PageFeedbackEvent
CustomizationThemedURL
object
2 properties 2 required
EventVisitor
object
Analytics info on the GitBook's content visitor.
5 properties 4 required
OrganizationSupportCost
What support costs the organization, per ticket or per hour of agent time, used to estimate how much AI answers save in site insights.
BillingInterval
string
Interval for a billing subscription
IntegrationExternalLinks
array
External urls configured by the developer of the integration
ContentKitStepper
object
5 properties 5 required
SpaceContentUpdatedEvent
OrganizationPricePair
object
Pricing pair for monthly and yearly intervals
2 properties 2 required
ContentKitContextConfigurationAccount
ContentKitCodeBlock
object
Code block with syntax highlighting
9 properties 2 required
SiteTitle
string
Title of the site
IntegrationConfigurations
object
3 properties
InstallationSetupEvent
ComputedContentDependencySpace
object
2 properties 2 required
ContentKitIcon
string
ContentKitContext
Object representing the context in which a ContentKit component is rendered.
ContentKitContextConfigurationContentSource
InstalledIntegrationTarget
The resource on which an integration is installed.
SpaceGitSyncCompletedEvent
Site
object
23 properties 13 required
UIRenderEvent
OrganizationCommunityType
string
ContentKitContextDocument
SiteAds
IntegrationCategory
string
ContentKitHStack
object
Horizontal stack of boxes.
3 properties 2 required
IntegrationSummary
string
Long form markdown summary of the integration
ContentKitWebFrame
object
Frame for a webpage
5 properties 2 required
BillingTrialStatus
string
- notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended…
IntegrationNetwork
object
Network configuration for the installation
1 property
ContentKitSelect
object
Creates a drop down menu with a list of options for a user to choose.
9 properties 3 required
OrganizationType
string
OrganizationTarget
object
1 property 1 required
FetchRequest
object
3 properties 3 required
InstalledIntegration
object
An integration installation, its current status, and the resource it targets.
3 properties 3 required
IntegrationEventTrace
object
1 property 1 required
SpaceGitSyncStartedEvent
IntegrationConfigurationSchema
object
Schema for a configuration
2 properties 1 required
IntegrationEventLog
object
3 properties
ComputedContentDependencyTranslation
object
2 properties 2 required
ContentKitURL
object
Specification for an URL in ContentKit.
3 properties 2 required
ContentKitRenderOutput
object
Output of the integration when rendering a UI.
ContentKitLink
object
3 properties 3 required
IntegrationScope
string
IntegrationTitle
string
Title of the integration
SiteIntegrationScript
object
3 properties 2 required
TranslationResult
object
Result of a translation.
3 properties 3 required
ContentKitInput
object
Field for an input.
4 properties 3 required
SiteAdsTopic
string
Topic of the content
SitePointer
object
2 properties 2 required
ContentKitVStack
object
Vertical stack of boxes.
3 properties 2 required
ContentKitRootElement
Element used as root
IntegrationBlockMarkdown
SiteInstallationDeletedEvent
SpaceInstallationSetupEvent
FetchVisitorAuthenticationEvent
IntegrationSecrets
object
Secrets stored on the integration and passed at runtime.
IntegrationTarget
string
The target on which the integration can operate and needs to be configured for
IntegrationBlock
object
6 properties 2 required
IntegrationVisibility
string
TaskEvent
IntegrationBlocks
array
Custom blocks defined by this integration.
ContentKitBox
object
3 properties 2 required
ContentKitContextConfigurationSite
IntegrationConfiguration
OrganizationHostname
string
Default hostname for the organization's public content, e.g. .gitbook.io
IntegrationConfigurationComponent
object
ContentKit component for configuration
1 property 1 required
IntegrationCategories
array
Categories for which the integration is listed in the marketplace
ContentKitRadio
object
5 properties 3 required
SiteCustomizationFeature
string
A list of all premium customizations.
IntegrationInstallation
object
Installation of an integration on an account
12 properties 11 required
ContentKitMarkdown
object
Block with rich text formatting of a markdown content.
2 properties 2 required
ContentKitContextBase
object
Common properties for ContentKit context.
1 property 1 required
SpaceVisibilityUpdatedEvent
BaseEvent
object
Common properties for all events.
2 properties 2 required
RenderIntegrationUI
object
5 properties 3 required
IntegrationContentSource
object
Definition of a content source provided by the integration.
5 properties 3 required
IntegrationSiteInstallation
OpenAPISpecVisibility
string
The visibility setting of the OpenAPI spec. private: The spec is not publicly available. public: The spec is available to anyone with a public link.
SiteFeatureKey
string
The site feature identifier
AICreditThreshold
An AI credit threshold from 5% to 50%, or null when disabled.
ContentKitModal
object
Overlay modal.
7 properties 2 required
PlainObject
UpdateIntegrationInstallation
object
4 properties
OrganizationEmailDomains
array
IntegrationDescription
string
Description of the integration
IntegrationInstallationConfiguration
object
Configuration of the integration at the account level
OrganizationBilling
object
22 properties 13 required
ContentKitButton
object
Pressable button triggering an action.
9 properties 2 required
ContentComputeRevisionEvent
Organization
object
27 properties 12 required
IntegrationPropertyTitle
string
Property title for an integration configuration property
SiteProxy
object
2 properties 2 required
Integration
object
20 properties 14 required
IntegrationScopes
array
Permissions that should be granted to the integration
ContentKitDefaultAction
OrganizationPricing
object
Pricing information for an organization
2 properties 2 required
ContentKitHint
object
Element used to contextualize other elements or info.
2 properties 2 required
ContentKitRenderOutputComplete
object
Output of completed lifecycle of the component.
2 properties 1 required
ContentKitContextConfigurationSpace
InstallationEvent
ContentKitTextInput
object
Text input to prompt the user.
7 properties 2 required
ContentKitDescendantElement
Any element that can be used as children.
IntegrationInstallationTarget
ContentKitSelectOption
object
An individual option in a select element
3 properties 2 required
ContentKitInlineElement
Any element that is inline.
OrganizationAISettings
object
AI preferences. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
13 properties
ContentKitAction
OrganizationTitle
string
Name of the organization
ContentComputeDocumentEvent
SiteFeature
object
A site feature and the plan it is available on.
4 properties 3 required
BlockSource
string
Source for an organization block
SiteBasename
string
Basename for the site. For e.g. api
List
object
2 properties
OrganizationDefaultContent
The default content for the organization
ContentKitRenderOutputElement
object
Output of type element in the lifecycle of the component.
5 properties 3 required
ContentKitDynamicBinding
object
Binding between a property and a state value.
1 property 1 required
SiteHostname
string
Custom hostname for the site, for e.g. docs.mycompany.com
UpdateIntegrationSiteInstallation
object
2 properties
ContentKitBlock
object
Higher level element to represent a custom block.
3 properties 2 required
InstallationDeletedEvent
FetchPublishedScriptEvent
UpdateIntegrationSpaceInstallation
object
2 properties
ContentKitCard
object
7 properties 1 required
IntegrationEvent
object
6 properties 5 required
ContentKitCheckbox
object
4 properties 3 required
PublishIntegration
object
18 properties 5 required
ContentKitImage
object
3 properties 3 required
ContentRefOpenAPI
object
2 properties 2 required
CustomizationFavicon
OrganizationUseCase
string
SiteVisibility
string
The visibility setting of the site determines the audience of the site. public: Anyone can access the site, and the site is indexed by search engines. unlisted…
ContentRefSpace
object
2 properties 2 required
SiteProxyOrigin
string
Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
ComputedContentDependencyResolved
Dependency for a computation, with its resolved value.
SiteAdaptiveContent
object
1 property 1 required
ComputedContentDependencyOpenAPI
object
2 properties 2 required
ContentKitSwitch
object
Renders a boolean input.
6 properties 2 required
ContentComputeEvent
APITemporaryToken
object
1 property 1 required
EntityId
string
A unique entity identifier
ContentKitBuiltInSource
object
Built-in sources that can be used to provide a ContentKitSelect.
1 property 1 required
ContentKitDivider
object
Divider between 2 boxes in a stack.
2 properties 1 required
SpaceInstallationDeletedEvent
SiteEvent
ContentKitConfiguration
object
Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration compo…
2 properties 2 required
ContentKitStepperStep
object
5 properties 3 required
Event
Any event that can be received from GitBook.
User
object
6 properties 4 required
PageFeedbackRating
string
SiteType
string
The type of the site
ContentKitBlockControl
object
Control menu item displayed for the block.
4 properties 2 required
IntegrationContentSecurityPolicy
Security policy to validate the content of the integrations scripts and Contentkit. Will be sent as headers when processing the script fetch event and the bloc…
TranslationRef
object
2 properties 2 required
IntegrationInstallationSpaceSelection
string
Describe whether all spaces have been selected or there's a selection involved
BillingMeterAddon
object
1 property 1 required
SiteViewEvent

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitbook-integrations-api-openapi.yml Raw ↑

Other APIs GitBook publishes across the network.

GitBook Change Request Content API
GitBook Change Request Reviewers API
GitBook Change Requests API
GitBook Collections API
GitBook Custom Hostnames API
GitBook Imports API
GitBook Organization Members API
GitBook Organizations API
GitBook Site Spaces API
GitBook Space Content API
GitBook Spaces API
GitBook URLs API
Where this information came from

This is an independent, third-party profile of GitBook Integrations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.