Connect any CMS or content system to Wrodium using custom webhooks. This is the most flexible integration option for headless CMS platforms, custom-built systems, or any API-based content source.
Created date:
Dec 5, 2025
—
Updated date:
Dec 11, 2025
When to Use Webhooks
Use the webhook integration when:
Your CMS isn't directly supported (not WordPress, Webflow, Contentful, Ghost, or Framer)
You have a custom-built content management system
You need to integrate with multiple content sources
You want maximum control over the data format
How It Works
You provide two endpoints:
Pull endpoint: Returns a list of articles (GET)
Update endpoint: Receives updated content (POST)
Custom Webhook Integration
Connect any CMS or content system to Wrodium using custom webhooks. This is the most flexible integration option for headless CMS platforms, custom-built systems, or any API-based content source.
When to Use Webhooks
Use the webhook integration when:
Your CMS isn't directly supported (not WordPress, Webflow, Contentful, Ghost, or Framer)
You have a custom-built content management system
You need to integrate with multiple content sources
You want maximum control over the data format
How It Works
You provide two endpoints:
Pull endpoint: Returns a list of articles (GET)
Update endpoint: Receives updated content (POST)
Setup Steps
Step 1: Create Your Pull Endpoint
Build an endpoint that returns articles in this format:
[{"id":"article-123","title":"Your Article Title","content_html":"<p>Your article content...</p>","excerpt":"A brief summary of the article","published_at":"2024-01-15T10:30:00Z","status":"published","url":"https://yourblog.com/article-123"},{"id":"article-456","title":"Another Article","content_html":"<p>More content...</p>","excerpt":"Another summary","published_at":"2024-01-10T14:00:00Z","status":"published","url":"https://yourblog.com/article-456"}]
Verify the API key matches in both Wrodium and your server
Check header name matches exactly (X-API-Key vs Authorization)
"Invalid JSON" Error
Ensure response Content-Type is application/json
Verify JSON structure matches the expected format
Check for encoding issues (use UTF-8)
Timeout Errors
Wrodium waits 15 seconds for responses
Optimize slow database queries
Consider pagination for large article lists
Advanced: Bidirectional Sync
For real-time sync, have your CMS call Wrodium when content changes:
# In your CMS after saving an articleimporthttpxasyncdefnotify_wrodium(article_id: str):
awaithttpx.post("https://api.wrodium.com/webhooks/custom/{brand_id}",json={"event": "article.updated","article_id": article_id},headers={"Authorization": f"Bearer {wrodium_api_key}"},)