API docs
Create detailed, interactive API docs your users and customers will love — or generate them automatically from API definition files
API documentation in GitBook gives your users a ton of information at a glance. And because it automatically generates code samples for API endpoints, it’s easy for everyone to find and use the information and code they need.
Organize your docs however you want. Group related operations together, or split them into different pages. Add an introduction, interactive guides, and any other content that will help your users. You have complete control.
Let users and developers try API endpoints right on the page with our OpenAPI blocks powered by Scalar. Simply click Test It to open up an API client where you can add headers, variables and more — then run a live test.
git Sync
With our GitHub Sync and GitLab Sync integrations, you can set up a two-way sync with your codebase. Now, when you make changes to your API, you can update your API docs at the same time — right in GitHub or GitLab.
Documentation your users will love
Change colors, add your own logo, and choose how things appear on every page. API docs in GitBook look great out of the box, but if you want to add some flair, it’s easy.
Choose who gets access to your API documentation with visitor authentication. Keep sensitive information private, so only your chosen customers, team members or authorized users can view your docs.