Supported Events
| Event | Trigger |
|---|---|
post.created | A new post is created |
post.updated | A post is updated |
post.published | A post status changes to Published |
post.deleted | A post is deleted |
category.created | A new category is created |
category.updated | A category is updated |
category.deleted | A category is deleted |
tag.created | A new tag is created |
tag.updated | A tag is updated |
media.uploaded | New media is added to the library |
Setup
Configure webhooks through the Publive Dashboard:- Go to Settings > Webhooks
- Click Add Webhook
- Enter your endpoint URL
- Select the events you want to subscribe to
- Save
Payload Format
Verification
Webhook requests include a signature header for verification:Best Practices
- Respond with 200 quickly, process the payload asynchronously
- Implement idempotency as webhooks may be delivered more than once
- Use HTTPS endpoints for security
- Validate signatures to ensure requests are from Publive