Skip to main content
Chromiumly supports API key auth (hosted API), basic auth (Gotenberg 8.4+), and custom HTTP headers.

API key (hosted API)

Used for the hosted API at https://api.chromiumly.dev. When both API key and basic auth are set, the API key takes precedence. Environment:
Code:
See Configuration for full setup.

Basic authentication

Gotenberg supports basic auth from v8.4.0. Example Docker run:
Configure Chromiumly via environment:
Or with the config library:
Or in code:

Custom HTTP headers

For Bearer tokens or other headers, use customHttpHeaders:
These headers are sent with every request to Gotenberg (or the hosted API when using an API key).