How to Connect a Custom Webhook to Writelio
Send each published article to your own endpoint as JSON.
Use the Webhook integration to publish to anything. Writelio POSTs each article to your endpoint as JSON, so you can push content into a headless CMS, a Next.js blog, a static-site repo, Zapier/Make, or any custom app. Connection is just your endpoint URL.
Before you start
- An HTTPS endpoint that accepts POST requests and returns a 2xx status.
- Somewhere to route the payload (your app, a serverless function, Zapier/Make, etc.).
What you’ll need from Webhook
Connect Webhook in 4 steps
Create an HTTPS endpoint (a serverless function, API route, or automation webhook) that accepts a POST with a JSON body and returns a 200.
In Integrations, open the Webhook card → Configure, paste your Webhook URL, and click Save.
In the editor, open Share & Publish → Webhook and click Test to send a sample payload and confirm your endpoint responds.
Click Publish. Writelio POSTs the article JSON to your URL; your code decides what to do with it (store it, commit it, forward it).
What gets published
Writelio sends a JSON POST containing:
title— the article title.content— the cleaned article HTML.slug— a URL-friendly slug.metadata— meta description, banner image and related fields.
This is the most flexible integration — anything that can receive a webhook can publish from Writelio.