GET /v1/meta/webhook-ips — IP allowlist hint for webhook subscribers.
Pattern lifted from Linear (6 static IPs page) and GitHub
(GET /meta with hooks field). Subscribers behind enterprise
firewalls need to know which source IPs to trust; without this
they either disable signature-based trust or refuse our deliveries.
Source of truth is the PEGANA_WEBHOOK_EGRESS_IPS env var
(comma-separated). Default falls back to the Hetzner production
box’s static IP. When we add a second box, set the env to
49.12.240.164,<new-ip> — no code change required.
GET
GET /v1/meta/webhook-ips — IP allowlist hint for webhook subscribers.
Response
200 - application/json
Webhook egress IP allowlist
Previous
GET /v1/meta/webhook-keys — active Ed25519 public keys for verifying
inbound webhook signatures.Lifted from the GitHub pattern (`GET /meta` with `ssh_keys`).
During key rotation we publish BOTH the outgoing primary AND the
incoming secondary here, so receivers can pre-trust the new key
before we cut over. See `pegana_common::webhook_sign` for the
full rotation playbook.
Next
GET /v1/meta/webhook-ips — IP allowlist hint for webhook subscribers.