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

Install an integration on a site

Enables an existing organization-level installation on one site. The organization must already have the integration installed.

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

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

Identifier of the installation

Query parameters
extendedbooleanOptional

If true, returns the site object in each items. If false, returns the site ID in each items.

Default: false
Body
siteIdstringRequired

ID of the site to install the integration on

Responses
201

Integration installed successfully on site

application/json
post/integrations/{integrationName}/installations/{installationId}/sites
POST /v1/integrations/{integrationName}/installations/{installationId}/sites HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "siteId": "text"
}
{
  "integration": "text",
  "installation": "text",
  "status": "active",
  "configuration": {},
  "externalIds": [
    "text"
  ],
  "urls": {
    "location": "https://example.com",
    "publicEndpoint": "https://example.com",
    "publicContentEndpoint": "https://example.com"
  },
  "site": "text"
}

Last updated

Was this helpful?

Powered by GitBook