Skip to main content
WEBHOOK
page-unpublished
{
  "data": {
    "id": "maintenance-notice",
    "buttercms_id": 7890,
    "page_type": "notice",
    "editor": "Site Administrator",
    "name": "Maintenance Notice",
    "timestamp": "2024-01-15T22:00:00",
    "locale": null,
    "status": "draft",
    "updated": "2024-01-15T22:00:00.333444Z",
    "published": null,
    "scheduled": null
  },
  "webhook": {
    "event": "page.unpublished",
    "target": "https://yourapp.com/webhooks/buttercms"
  }
}
Triggered when a published page is unpublished (but not deleted). This event fires when:
  • A published page is deliberately unpublished but kept in the system
  • A page is temporarily taken offline without permanent deletion

Body

application/json
data
object

Webhook data payload for page events

webhook
object

Webhook metadata included in all webhook payloads

Response

200

Return a 200 status to indicate that the data was received successfully