The GitBook API uses Personal access tokens to authenticate requests.
curl -H "Authorization: Bearer <your_access_token>" https://api.gitbook.com/v1/user
Access tokens are tied to the GitBook user account for which they were created. A token provides the same level of access & privileges that its associated GitBook user account would have.
Please be sure to keep your API access tokens secure! Do not share them in emails, chat messages, client-side code or publicly accessible sites.