GitBook Integrations API

Install and manage third-party integrations.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 35

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

0 of 35 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

POST /integrations/{integrationName}/installations/{installationId}/spaces Install an integration on one space · Install an integration on a space #
Ask an LLM
“How do I enable an existing organization installation on a single space?”
“Can I install an integration on just one space rather than the whole organization?”
Tell an agent
Install {integration} installation {installation} on space {space}.
Enable organization installation {installation} of {integration} on space {space}.
GET /integrations/{integrationName}/installations/{installationId}/spaces List spaces an integration is installed on · List all space integration installations #
Ask an LLM
“Which spaces has a given integration installation been enabled on?”
“Can I see the integration's configuration per space for an installation?”
Tell an agent
List the spaces integration {integration} installation {installation} is enabled on.
Show every space in installation {installation} of {integration} with extended set to {extended}.
GET /integrations Browse integrations in the marketplace · List all public integrations observed #
Ask an LLM
“What integrations are available in the GitBook marketplace?”
“Can I find an integration by its block domain or content source?”
Tell an agent
List all integrations in the marketplace.
Find integrations in category {category} with block domain {blockDomain}.
GET /integrations/{integrationName} Get an integration's details · Get an integration by its name #
Ask an LLM
“What permissions and configuration does a specific integration request?”
“Can I look up an integration by its name before installing it?”
Tell an agent
Get the integration {integration}.
Show the scopes and configuration expected by integration {integration}.
POST /integrations/{integrationName} Publish an integration · Publish an integration #
Ask an LLM
“How do I publish my own integration to the marketplace?”
“What do I need to provide to publish an integration, like script and scopes?”
Tell an agent
Publish integration {integration} owned by {organization} with script {script} and scopes {scopes}.
Create a marketplace listing for integration {integration} titled {title} described as {description}.
DELETE /integrations/{integrationName} Unpublish an integration · Unpublish an integration #
Ask an LLM
“How do I remove my integration from the marketplace?”
“Can I unpublish an integration I no longer maintain?”
Tell an agent destructive · confirm first
Unpublish integration {integration}.
Remove integration {integration} from the marketplace.
GET /integrations/{integrationName}/installations List an integration's installations · List all integration installations #
Ask an LLM
“Which organizations have installed a given integration?”
“Can I find an integration installation by its external ID?”
Tell an agent
List all installations of integration {integration}.
Find installation {externalId} of integration {integration}.
POST /integrations/{integrationName}/installations Install an integration at the organization level · Install an integration #
Ask an LLM
“How do I install an integration so it can be enabled on spaces and sites?”
“What do I need to set up before installing an integration on an organization?”
Tell an agent
Install integration {integration} on organization {organization}.
Create an organization-level installation of {integration} for {organization}.
GET /integrations/{integrationName}/events List events for an integration · List all integration events #
Ask an LLM
“What events has an integration fired?”
“Can I page through an integration's event history?”
Tell an agent
List events for integration {integration}.
Show the last {limit} events of {integration}.
GET /integrations/{integrationName}/events/{eventId} Get an integration event · Get an integration event by its ID #
Ask an LLM
“How do I read one event an integration fired?”
“Can I fetch a single integration event by its ID?”
Tell an agent
Get event {eventId} of integration {integration}.
Show the details of integration {integration} event {eventId}.
GET /integrations/{integrationName}/spaces List space installations of an integration · List all integration space installations #
Ask an LLM
“Which spaces have an integration installed?”
“Can I list only the space-level installations of an integration?”
Tell an agent
List space installations of integration {integration}.
Show every space installation of {integration} with extended {extended}.
GET /integrations/{integrationName}/sites List site installations of an integration · List all integration site installations #
Ask an LLM
“Which sites have an integration installed?”
“Can I list only the site-level installations of an integration?”
Tell an agent
List site installations of integration {integration}.
Show every site installation of {integration} with extended {extended}.
PUT /integrations/{integrationName}/dev Enable development mode for an integration · Enable integration dev mode #
Ask an LLM
“How do I test an integration against a local tunnel?”
“Can I forward all integration events to my development server?”
Tell an agent
Enable development mode for integration {integration} and forward events to {tunnelUrl}.
Point integration {integration} development events to {tunnelUrl} with all set to {all}.
DELETE /integrations/{integrationName}/dev Disable development mode for an integration · Disable integration dev mode #
Ask an LLM
“How do I stop sending integration events to my tunnel?”
“Can I turn off development mode for an integration?”
Tell an agent destructive · confirm first
Disable development mode for integration {integration}.
Stop forwarding integration {integration} events to my tunnel.
GET /integrations/{integrationName}/render Render an integration UI with a GET request · Render an integration UI with GET method #
Ask an LLM
“Can I render an integration's UI with a GET request?”
“What does the GET form of integration UI rendering expect?”
Tell an agent
Render the UI of integration {integration} with GET request {request}.
Fetch the integration {integration} UI using the GET form and request {request}.
POST /integrations/{integrationName}/render Render an integration UI with a POST request · Render an integration UI with POST method #
Ask an LLM
“How do I render an integration's UI with a POST request?”
“Can I pass props and state to an integration UI render?”
Tell an agent
Render component {componentId} of integration {integration} with props {props} and context {context}.
POST a render request to integration {integration} for component {componentId} with state {state}.
POST /integrations/{integrationName}/tasks Queue a task for an integration · Queue an integration task #
Ask an LLM
“How do I schedule a background task for an integration?”
“Can I delay an integration task before it runs?”
Tell an agent
Queue task {task} for integration {integration}.
Schedule integration {integration} task {task} to run in {schedule} seconds.
GET /integrations/{integrationName}/installations/{installationId} Get an integration's organization installation · Get an integration installation by its ID #
Ask an LLM
“What configuration does an organization-level integration installation have?”
“How many spaces does an integration installation manage?”
Tell an agent
Get installation {installation} of integration {integration}.
Show the account configuration of integration {integration} installation {installation}.
PATCH /integrations/{integrationName}/installations/{installationId} Update an integration's installation · Update an integration installation #
Ask an LLM
“How do I change which spaces an integration installation applies to?”
“Can I update the account-level configuration of an installation?”
Tell an agent
Update installation {installation} of integration {integration} with configuration {configuration}.
Set the space selection of integration {integration} installation {installation} to {space_selection}.
DELETE /integrations/{integrationName}/installations/{installationId} Uninstall an integration · Uninstall an integration #
Ask an LLM
“How do I remove an integration from an organization?”
“Can I uninstall an integration installation?”
Tell an agent destructive · confirm first
Uninstall integration {integration} installation {installation}.
Remove integration {integration} from organization installation {installation}.
POST /integrations/{integrationName}/installations/{installationId}/tokens Create a temporary API token for an integration installation · Create an integration installation API token #
Ask an LLM
“How do I get a temporary API token for an integration's installation?”
“Can I create an install token for a single space of an integration?”
Tell an agent
Create an install token for integration {integrationName} installation {installationId}.
Generate a temporary API token for installation {installationId} of {integrationName}.
GET /integrations/{integrationName}/installations/{installationId}/spaces/{spaceId} Get an integration's installation on one space · Get an integration space installation #
Ask an LLM
“What configuration does an integration have on a specific space?”
“Can I see the space-level settings of an integration?”
Tell an agent
Get the installation of {integrationName} on space {spaceId} in installation {installationId}.
Show the space-level settings of {integrationName} for installation {installationId} on space {spaceId}.
PATCH /integrations/{integrationName}/installations/{installationId}/spaces/{spaceId} Update an integration's space-level settings · Update an integration space installation #
Ask an LLM
“How do I change the configuration of an integration on one space?”
“Can I set external IDs for an integration at the space level?”
Tell an agent
Update the space-level configuration of {integrationName} in installation {installationId} on space {spaceId}.
Set external IDs {externalIds} for {integrationName} on space {spaceId} in installation {installationId}.
DELETE /integrations/{integrationName}/installations/{installationId}/spaces/{spaceId} Uninstall an integration from one space · Uninstall an integration from a space #
Ask an LLM
“How do I remove an integration from a single space?”
“Can I uninstall an integration from one space without touching the rest?”
Tell an agent destructive · confirm first
Uninstall {integrationName} from space {spaceId} in installation {installationId}.
Remove {integrationName} from installation {installationId} on space {spaceId}.
GET /integrations/{integrationName}/installations/{installationId}/sites List sites an integration installation is enabled on · List all site integration installations #
Ask an LLM
“Which sites has an integration installation been enabled on?”
“Can I see the site-level settings of an integration for each site?”
Tell an agent
List the sites {integrationName} installation {installationId} is enabled on.
Show the site-level configuration of {integrationName} for installation {installationId}.
POST /integrations/{integrationName}/installations/{installationId}/sites Install an organization integration on a site · Install an integration on a site #
Ask an LLM
“How do I add an organization-owned integration to one of my sites?”
“Can I enable a GitBook App for a single site without installing it organization-wide?”
Tell an agent
Install {integrationName} installation {installationId} on site {siteId}.
Enable the {integrationName} organization app on site {siteId} using installation {installationId}.
GET /integrations/{integrationName}/installations/{installationId}/sites/{siteId} Get an integration's installation on one site · Get an integration site installation #
Ask an LLM
“What configuration does an integration have on a specific site?”
“Can I see the site-level settings of an integration?”
Tell an agent
Get the installation of {integrationName} on site {siteId} in installation {installationId}.
Show the site-level settings of {integrationName} for installation {installationId} on site {siteId}.
PATCH /integrations/{integrationName}/installations/{installationId}/sites/{siteId} Update an integration's site-level settings · Update an integration site installation #
Ask an LLM
“How do I change the configuration of an integration on one site?”
“Can I set external IDs for an integration at the site level?”
Tell an agent
Update the site-level configuration of {integrationName} in installation {installationId} on site {siteId}.
Set external IDs {externalIds} for {integrationName} on site {siteId} in installation {installationId}.
DELETE /integrations/{integrationName}/installations/{installationId}/sites/{siteId} Uninstall an integration from one site · Uninstall an integration from a site #
Ask an LLM
“How do I remove an integration from a single site?”
“Can I uninstall an integration from one site without affecting other sites?”
Tell an agent destructive · confirm first
Uninstall {integrationName} from site {siteId} in installation {installationId}.
Remove {integrationName} from installation {installationId} on site {siteId}.
GET /orgs/{organizationId}/integrations List integrations available to an organization · List all public integrations along with private ones trusted by the specific org #
Ask an LLM
“Which integrations are available to my organization, including private ones it trusts?”
“Can I filter the organization's integrations by category or block domain?”
Tell an agent
List the integrations available to organization {organizationId}.
Find organization {organizationId} integrations in category {category}.
GET /orgs/{organizationId}/integrations/{integrationName}/installation_status Check whether an integration is installed in an org · Get the status of an integration #
Ask an LLM
“Is a particular integration installed in my organization?”
“What status does a GitBook App have for the whole organization?”
Tell an agent
Get the status of {integrationName} in organization {organizationId}.
Show whether {integrationName} is installed in {organizationId}.
GET /orgs/{organizationId}/installations List all integration installations for an organization · List all integration installations #
Ask an LLM
“What integration installations exist for my organization?”
“Can I search an organization's installations by name?”
Tell an agent
List all installations for organization {organizationId}.
Search organization {organizationId} installations for {search}.
GET /orgs/{organizationId}/integrations/installations-status List installation statuses for an organization · List all integration statuses #
Ask an LLM
“Which integrations are installed in my organization, and on what target?”
“Can I see only the installations for one site or space?”
Tell an agent
List the installation statuses for organization {organizationId}.
Show installations for site {site} in organization {organizationId}.
GET /orgs/{organizationId}/sites/{siteId}/integration-scripts List scripts injected into a site's pages · List custom scripts injected into a site's published pages #
Ask an LLM
“Which analytics trackers or chat widgets are injected into a site's published pages?”
“Can I audit the third-party scripts running on a site?”
Tell an agent
List the integration scripts on site {siteId} in organization {organizationId}.
Show which third-party scripts are active on site {siteId} for organization {organizationId}.
GET /orgs/{organizationId}/sites/{siteId}/integrations List third-party integrations enabled on a site · List third-party integrations enabled on a site #
Ask an LLM
“Which third-party integrations are currently enabled on a site?”
“Can I search the integrations on one site by name?”
Tell an agent
List the integrations enabled on site {siteId} in organization {organizationId}.
Find integrations on site {siteId} for organization {organizationId} matching {search}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gitbook:gitbook-integrations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gitbook-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitBook Integrations API
  description: The GitBook API
  termsOfService: https://policies.gitbook.com
  contact:
    name: API Support
    url: https://gitbook.com/support
    email: support@gitbook.com
  version: 0.0.1-beta
servers:
- url: '{host}/v1'
  variables:
    host:
      default: https://api.gitbook.com
security:
- user: []
- user-internal: []
- user-staff: []
- integration: []
- integration-installation: []
tags:


# --- truncated at 32 KB (171 KB total) ---
# Full source: https://artifacts.apis.io/gitbook/openapi/gitbook-integrations-api-openapi.yml