Webhooks

Update a webhook

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

patch/webhooks/{id}

Request

  • Base URL
    https://api.publora.com/api/v1
  • Auth
    API key in header x-publora-key

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 operation across all 13 revisions of this API.