The dangerous AgentMail webhook bug starts with a response that looks completely fine.

POST /v0/webhooks -> 200 OK

Enter fullscreen mode

Exit fullscreen mode

The response body contains the webhook object. It includes your URL, event types, and usually enough fields to make the integration feel done.