/api/v1/webhooks/{webhookId}
Path parameters
webhookId required | string · uuid Webhook id |
Request bodyrequired
| urloptional | string · uri The new URL. A different URL removes all saved headers first. |
| headersoptional | object Changes only the headers named here: a value sets or replaces that header, null removes it. Headers not named stay, except when url changes: then only the headers sent here are kept. |
| eventTypesoptional | string | string[] The new event types: "all" or a list. Pending deliveries of types no longer in the list are dropped; added types only get events from now on. |
| enabledoptional | boolean Turns on a webhook that was turned off. Events from while it was off are not sent. Any other change turns it on too. |
Response
200Webhook updated.
| webhook | object
| ||||||||||||||||||
| requestId | string · uuid Id of this request, for support and troubleshooting |
Errors
- 400: Bad request
- 401: Unauthorized: missing or invalid API key
- 403: Forbidden
- 404: Not found
- 422: Invalid request payload