agenttools
Webhooks

Capture an inbound PATCH request

No auth required

Records the inbound request (method, headers, query, body) as a webhook event. Always returns 200 and never reveals whether the endpoint exists. Accepts any content type. `HEAD` and `OPTIONS` requests are captured the same way. Sensitive headers (`host`, `authorization`, `cookie`, `set-cookie`, `x-forwarded-proto`) are stripped before storage.

PATCH/api/catch/{id}

Parameters

Path
idstringrequired
The webhook endpoint ID (`wh_…`).

Responses

200The request was captured.
receivedtrue
event_idstring

Example request

curl
curl -X PATCH https://agtls.dev/api/catch/{id}