I’m struggling with a weird problem in my Zapier webhook setup. The authentication part works fine, but something strange happens after that.
When Zapier sends me the subscription request with the webhook URL and event details, everything looks normal. But here’s the issue - as soon as I try to send any data back to their webhook URL, it automatically triggers an unsubscribe request. This means the webhook gets disabled right away.
Every time I attempt to send data to the webhook endpoint, I just get back a message saying to unsubscribe. This is really frustrating because I can’t get the integration to work properly.
Initial subscription data from Zapier:
{
"webhook_endpoint": "https://hooks.zapier.com/hooks/catch/1234567/abcd123/",
"callback_url": "https://hooks.zapier.com/hooks/catch/1234567/abcd123/",
"trigger_event": "fetch_user"
}
Headers I receive:
{
"host": "myapp.tunnel.io",
"x-zapier-test": "true",
"content-type": "application/json",
"user-agent": "Zapier",
"authorization": "Basic ABC123DEF456==",
"content-length": "185"
}
Data I’m sending back:
[{
"name": "John",
"surname": "Smith",
"user_id": "USR789",
"trigger_event": "fetch_user",
"contact_email": "[email protected]"
}]
Response I get:
{
"result": "ok",
"delivery_id": "abc-123-def-456",
"hook_id": "hook_789",
"trace_id": "trace_123"
}
Right after getting this response, the unsubscribe callback gets triggered automatically. Has anyone seen this behavior before?