Skip to main content
WEBHOOK
collection-item-unpublished
{
  "data": {
    "id": "promotions",
    "itemid": "/v2/content/?keys=promotions[_id=7890]",
    "label": "Holiday Sale 2023",
    "editor": "Marketing Manager",
    "timestamp": "2024-01-15T21:00:00",
    "locale": "en",
    "status": "draft"
  },
  "webhook": {
    "event": "collectionitem.unpublished",
    "target": "https://yourapp.com/webhooks/buttercms"
  }
}
Triggered when a collection item is unpublished (but not deleted). This event fires when:
  • A published collection item is deliberately unpublished but kept in the system
  • An item is temporarily taken offline without permanent deletion

Body

application/json
data
object

Webhook data payload for collection item events

webhook
object

Webhook metadata included in all webhook payloads

Response

200

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