← Files GitBookARCHIVED FILE

references/env.example

605 Bytes · Sep 30, 2026 · 22:47 UTC

↓ Download file

# Copy to .env and fill in. .env is gitignored — never commit it.
# The API-driven skills read TWO secrets from here (unlike the CLI skills, which
# use the `gitbook2` auth store). Never print either value.

# GitBook API token — the ONLY auth for the direct-API flow. Create one at
# https://app.gitbook.com/account/developer and paste it here. Sent as
# `Authorization: Bearer $GITBOOK_TOKEN` on every api.gitbook.com call.
GITBOOK_TOKEN=gb_api_...

# Slack notify is optional — only needed for the notify step (a curl POST to this webhook).
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...

SHA-256: 3f1ffad89a188a229858e3fe7e94dacdca1ddc824b014d2137772c795f3cc958