Post Created
The post.created
event is triggered when a new post is created in the system.
Event Properties
Property | Type | Description |
---|---|---|
id | string | Unique identifier for the post (UUID) |
title | string | Title of the post |
subtitle | string | Subtitle of the post |
excerpt | string | Brief excerpt of the post content |
state | string | Current state of the post |
created_at | string | Timestamp when the post was created |
updated_at | string | Timestamp when the post was last updated |
slug | string | URL-friendly identifier for the post |
published | boolean | Indicates whether the post is published |
Example Payload
This example shows a typical payload that you’ll receive when a new post is created. All timestamps are in ISO 8601 format and UTC timezone.
{ "type": "post.created", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "title": "Getting Started with Webhooks", "subtitle": "A comprehensive guide", "excerpt": "Learn how to integrate and use webhooks effectively...", "state": "draft", "created_at": "2024-03-21T13:45:30Z", "updated_at": "2024-03-21T13:45:30Z", "slug": "getting-started-with-webhooks", "published": false }}