mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-08-10 08:21:54 +00:00
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>