Skip to content
Docs

Webhook security

How ProjectBrain limits where webhooks can go and signs each request so your server can check it.

GAOwnerExecutiveLast updated 15 November 2026

A workflow can send a webhook to another system when a step runs. These rules decide where it can go and how your server knows it came from ProjectBrain. To set up a receiver, see Webhooks.

You need webhooks.manage to approve destinations and rotate secrets. Owners can give it to other roles at Organization settings > Roles and permissions.

ProjectBrain sends webhooks only to hostnames your organization has added at Organization settings > Webhook Allowlist. The hostname must match exactly. A webhook step pointing anywhere else fails, and the task’s Activity shows why. Each organization keeps its own list.

Each approved hostname has its own signing secret. Every request carries an X-Signature header, the HMAC-SHA256 of the request body made with that secret. Your server checks the signature and rejects any request that does not match.

Keep the secret on your server only. Anyone who has it can sign requests that pass your check.

If a secret may have leaked, rotate it at Organization settings > Webhook Allowlist. For seven days after a rotation, requests also carry X-Signature-Previous, signed with the old secret, so your server keeps working while you update it. Move to the new secret, then accept X-Signature only.