Webhook Delivery Flow
This sequence diagram shows the full lifecycle of a typical content generation integration using webhooks:How It Works
Verify the signature
Your server verifies the HMAC-SHA256 signature in the
X-Webhook-Signature header.Setting Up Webhooks
Via the Dashboard
Go to the API tab in the Dealership Manager, switch to the Webhooks section, and click Add Webhook.Via the API
secret for verifying signatures.
Event Payload
Every webhook delivery sends a JSON payload:Verifying Signatures
Every delivery includes anX-Webhook-Signature header with an HMAC-SHA256 signature of the request body:
Available Events
IdeaCloud Events
IdeaCloud Events
| Event | Description | Payload Data |
|---|---|---|
ideacloud.completed | IdeaCloud research finished | ideacloud_id, keyword |
ideacloud.failed | IdeaCloud research failed | ideacloud_id, keyword, error |
Content Events
Content Events
| Event | Description | Payload Data |
|---|---|---|
content.progress | Generation stage transition | article_id, article_type, component_type, stage, message, progress_percent |
content.completed | Content generation finished | article_id, article_type |
content.failed | Content generation failed | article_id, article_type, error |
Quality Events
Quality Events
| Event | Description | Payload Data |
|---|---|---|
compliance.completed | Compliance check finished | article_id, overall_status, overall_score |
content_tools.completed | Content tools generated | article_id, tools |
Inventory Events
Inventory Events
| Event | Description | Payload Data |
|---|---|---|
inventory.description.completed | Vehicle description generated | vin, year, make, model |
inventory.description.batch_completed | Batch descriptions finished | count, site_id |
inventory.feed.updated | Inventory feed refreshed | vehicle_count |
Content Progress Events
Thecontent.progress event provides real-time visibility into content generation stages. Unlike terminal events (content.completed, content.failed), progress events fire at meaningful stage transitions — typically 4-6 events per content item.
Stages
| Stage | Description | Typical % |
|---|---|---|
researching | Vehicle data being fetched (comparisons & model landing pages only) | 5% |
outlining | Article structure being created | 5% |
writing | Content generation started | 10-80% |
finalizing | Post-processing (links, TOC, formatting) | 95% |
Example Payload
Subscribers must explicitly include
content.progress in their events array when creating or updating a webhook subscription. Existing subscribers only receiving content.completed will not receive progress events unless they update their subscription.Retry Policy
If your endpoint returns a non-2xx status or times out (15s), Hrizn retries with exponential backoff:- Attempt 1: Immediate
- Attempt 2: ~1 minute later
- Attempt 3: ~5 minutes later
- Attempt 4: ~30 minutes later
- Attempt 5: ~2 hours later
After 10 consecutive failures across different events, the webhook subscription is automatically disabled. You’ll need to re-enable it from the dashboard or via
PATCH /webhooks/{id}.Testing
Send a test ping to verify your webhook URL:test.ping event to your URL and returns the response status.
Managing Webhooks
| Action | Method | Endpoint |
|---|---|---|
| Create | POST | /webhooks |
| List | GET | /webhooks |
| Update | PATCH | /webhooks/{id} |
| Delete | DELETE | /webhooks/{id} |
| Test | POST | /webhooks/{id}/test |
| Deliveries | GET | /webhooks/{id}/deliveries |

