Skip to content

Post Created

The post.created event is triggered when a new post is created in the system.

Event Properties

PropertyTypeDescription
idstringUnique identifier for the post (UUID)
titlestringTitle of the post
subtitlestringSubtitle of the post
excerptstringBrief excerpt of the post content
statestringCurrent state of the post
created_atstringTimestamp when the post was created
updated_atstringTimestamp when the post was last updated
slugstringURL-friendly identifier for the post
publishedbooleanIndicates 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
}
}