All integrations
Get an API key
GitBook
Spaces, pages and content in GitBook.
Docs and knowledge
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
Connection details
- Base URL
- https://api.gitbook.com/v1
- Pagination
- cursor
Common endpoints
| who am I | GET /user |
| list spaces | GET /orgs/{orgId}/spaces |
| read page content | GET /spaces/{spaceId}/content |
Worth knowing
- Content is a structured document tree, not markdown, so writes need the document format.