The 2026 State of Docs report is here.
Read the report
LogoLogo
CtrlK
ProductPricingLog inSign up
  • Documentation
  • Guides
  • Developers
  • Changelog
  • Developer documentation
  • Build an integration
    • Quickstart
    • Install the CLI
      • CLI reference
    • Configure your integration
    • Develop your integration
      • ContentKit
        • Component reference
        • Markdown
      • Integration runtime
      • Client library
        • GitBook methods
    • Publish your integration
    • Submit your integration for review
    • Concepts
    • Guides
      • Create a custom unfurl action
      • Create interactive blocks
      • Receive webhook notifications
      • Work with HTTP requests
  • GitBook API
    • Quickstart
    • API reference
      • Organizations
        • Organization members
        • Organization invites
        • Organization AI ask
      • Docs sites
        • Site share links
        • Site structure
        • Site auth
        • Site preview
        • Site customization
        • Site agent settings
        • Site spaces
        • Site sections
        • Site section groups
        • Site redirects
        • Site MCP servers
        • Site channels
        • Site ads
        • Site permissions
        • Site insights
        • Site AI
        • Site AI ask
        • Site context
        • Site questions
      • Collections
        • Collection permissions
      • Spaces
        • Space content
        • Space comments
        • Space embeds
        • Space permissions
        • Space integrations
        • Git
      • Change requests
        • Change request content
        • Change request contributors
        • Change request reviewers
        • Change request comments
      • Translations
        • Glossary
      • Imports
      • Integrations
      • URLs
      • OpenAPI
        • OpenAPI spec versions
      • Custom fonts
      • Subdomains
      • Users
      • Teams
        • Team members
      • SSO
      • Storage
      • Custom hostnames
      • System info
      • Download OpenAPI spec
    • Authentication
    • Rate limiting
    • Pagination
    • Errors
    • Concepts
    • Guides
      • Track advanced analytics with GitBook's Events Aggregation API
  • Resources
    • ContentKit playground
    • GitHub examples
Powered by GitBook
On this page
  • GETList all sites
  • POSTCreate a site
  • GETGet a site by its ID
  • DELETEDelete a site
  • PATCHUpdate a site
  • GETGet the JSON schema describing the attributes expected for an Adaptive content site visitor.
  • PUTUpdate the JSON schema of the attributes expected for an Adaptive content site visitor.
  • GETList templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
  • GETGet a published site
  • POSTPublish a site
  • POSTUnpublish a site
  • PATCHMove a site space, site section or site section group to a new position in the site structure.
  • POSTSearch in a site

Was this helpful?

  1. GitBook API
  2. API reference

Docs sites

Manage your published docs sites.

The Docs Sites API lets you programmatically manage published documentation sites within your organization. You can list and update all sites created under a specific organization, making it easy to audit or interact with site metadata at scale.

Last updated 19 hours ago

Was this helpful?

LogoLogo

Resources

  • Showcase
  • Enterprise
  • Status

Company

  • Careers
  • Blog
  • Community

Policies

  • Subprocessors
  • Terms of Service