Files
crewAI/docs/v1.10.1
Iris Clawd 74308e851d docs: fix HITL webhook signature headers and payload format
The documentation for HITL webhook callbacks had three mismatches
with the actual implementation (crewai-plus WebhookNotifierJob):

1. Signature header names: docs said `X-Signature` and `X-Timestamp`,
   but the implementation sends `X-CrewAI-Signature` and
   `X-CrewAI-Timestamp`.

2. Payload structure: docs showed a nested format with `event`,
   `request`, and `deployment` objects. The implementation sends a
   flat payload with all fields at the top level.

3. Field names: docs used `emit_options` (array inside nested
   `request`), but the implementation sends `emit` at top level,
   along with `event_type` (not `event`), `status`, `output`,
   `response_token`, `deployment_id`, `deployment_name`, etc.

These mismatches caused consumers to get 401 errors when validating
signatures (wrong header names) and parse failures (wrong payload
shape).

Co-authored-by: Pedro Moura <pedro@crewai.com>
2026-08-02 15:35:21 +00:00
..