v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Manage Webhooks

Update Webhook

Update the url or event subscriptions for a webhook. You can only update webhooks created by your own app.

patch/webhooks/{id}

Path parameters

idstring required

The id of the webhook.

Request body

urlstring

The new webhook endpoint URL.

eventsstring[]

The list of event types to subscribe to.

Response

The request has been successfully submitted.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}