Use API keys for CLI access, CI jobs, and automation that call the Connect RPC API.
Create an API key (SaaS UI)
- Open your workspace in the dashboard.
- Go to API Keys.
- Click Create API key, name it, and copy the token.
Environment variables
Set the API key for CLI and worker processes:
GITHOOK_API_KEY=your-api-key
Optional overrides:
GITHOOK_API_BASE_URL=https://api.your-domain.com GITHOOK_CONFIG_PATH=./config.yaml
Headers
The API key is sent as x-api-key on Connect RPC requests.