Skip to main content
Update/edit a Webhook

Update a webhook's details using PUT or PATCH method with desired changes.

Updated over 7 months ago

You can edit a webhook to change the address, add or edit the secret, change its events, or disable it.

Endpoint:

https://api.formaloo.net/v1.0/forms/{FORM_SLUG}/webhooks/{WEBHOOK_SLUG}/

Method: PUT and PATCH

Fields: The same fields as the webhook creation endpoint.

Example

// Request https://api.formaloo.net/v1.0/forms/{FORM_SLUG}/webhooks/{WEBHOOK_SLUG}/ (PATCH) { "url": "https://example.net/webhook/new-address", "secret": "NEW_SECET_TEXT", "active": false } // Response { "status": 200, "errors": { "general_errors": [], "form_errors": {} }, "data": { "webhook": { "url": "https://example.net/webhook/new-address", "secret": "NEW_SECET_TEXT", "form_submit_events": true, "row_update_events": true, "row_payment_events": true, "active": false, "created_at": "2021-09-04T16:37:26.920125+04:30", "updated_at": "2021-09-04T16:42:11.377163+04:30", "slug": "FW1Otww5" } } }

Did this answer your question?