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

API reference

Explore the endpoints available from GitBook’s API

The GitBook API provides developers with a powerful and flexible way to interact with GitBook's platform programmatically. It offers endpoints to manage content and integrate GitBook functionalities into external applications.

This API is RESTful and supports standard HTTP methods like GET, POST, PATCH, and DELETE.

API tasks

Use these API references to complete common tasks:

Task
API reference

Manage organizations

Create and manage spaces

Create and manage collections

Create and manage published docs sites

Manage members, teams, and permissions

Import and export pages, files, and reusable content

Create and manage change requests

Create and manage comments

Configure custom hostnames, URLs, and search

Monitor content performance

Manage integrations and OpenAPI documentation

OpenAPI spec

You can view GitBook’s hosted OpenAPI spec used to generate our API docs here. Learn more about creating your own API references in our product docs.

Last updated

Was this helpful?