Webhooks deliver article data to a public HTTPS API endpoint you control. Your receiver must authenticate the request and implement the logic that creates or updates posts in your CMS or automation workflow.
Add a destination
- Open Settings → Integrations → Webhooks and choose Add language destination.
- Enter a name and the receiving API URL. A public blog page URL will not accept articles unless a developer has implemented a receiver there.
- Choose Original language, Selected languages, or All languages to control which articles the destination receives.
- Choose Signature or Bearer authentication and select the article events your receiver handles.
- Save the destination, copy the secret shown once, and configure that secret in your receiver.
- Use Send test and inspect the delivery log before publishing a real article.
Authentication and tests
- Signature mode sends the HMAC-SHA256 signature in X-ContentPeaks-Signature and Authorization: sha256=<signature>. Verify it against the raw request body using the destination’s secret.
- Bearer mode sends Authorization: Bearer <secret>.
- Requests include event, delivery, and timestamp headers. Test payloads have test: true; acknowledge them without creating a post.
- Each destination has its own secret and delivery history. Rotating a secret requires updating the receiver too.
Article payloads and updates
Payloads include article_id, source_article_id, language, title, content_html, content_markdown, slug, meta_description, images, timestamps, status, and is_republish. Use article_id to create or update the same entry safely. Each translation has its own article_id; source_article_id links it to the original.
Language routing
Use a separate destination and secret for each language URL, or one All languages receiver that routes by the payload’s language. Every ready version needs a matching active destination for its event. A translation does not fall back to an original-language destination when its mapping is missing.