Skip to main content
WEBHOOK
page-draft-saved
{
  "data": {
    "id": "upcoming-event",
    "buttercms_id": 9012,
    "page_type": "event",
    "editor": "Event Coordinator",
    "name": "Upcoming Conference Event",
    "timestamp": "2024-01-15T16:45:00",
    "locale": "en",
    "status": "draft",
    "updated": "2024-01-15T16:45:00.987654Z",
    "published": null,
    "scheduled": "2024-02-01T09:00:00.000000Z"
  },
  "webhook": {
    "event": "page.draft",
    "target": "https://yourapp.com/webhooks/buttercms"
  }
}
Triggered when a draft page version is saved. This event fires when:
  • A new page is created and saved as draft
  • An existing draft page is updated and saved
  • A published page is updated but not yet republished

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