Changes an existing webhook's url, enabled_events, or auth_header. Send only the fields you want to change.
enabled_eventsreplaces the listThe events you send replace the webhook's current events; they are not added to them. Send the full list you want the webhook to receive.
If the request includes url, even unchanged, Mamo first sends a test POST with the body {"ping":"pong"} to it, which must answer 2xx; otherwise the call fails with 422 and Webhook is unreachable. The test request carries an Authorization header only if you also send auth_header in the same request, so if your endpoint requires it, send auth_header together with url.
The response is the updated webhook, without the signing_secret; the existing secret keeps working. An unknown webhook ID returns 404 with error_code NOT FOUND (with a space).
429Too many requests. You sent more than 100 requests in 30 seconds from one IP address. This response has no JSON body. See Rate limits.
500Unexpected error