Webhooks

Update a webhook

Update an existing webhook's name, URL, events, or active status.

patch/webhooks/{id}

Path parameters

idstring required

Request body

namestring
urlstring uri
eventsstring[]
isActiveboolean

Response

Webhook updated

successboolean

Example response

{
  "webhook": {
    "_id": "507f1f77bcf86cd799439011",
    "name": "My Webhook",
    "url": "https://example.com/webhook",
    "events": [
      "post.published",
      "post.failed"
    ],
    "isActive": true
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.