Webhooks

Send BabyLoveGrowth articles to any endpoint with a simple bearer-auth POST webhook.

The Webhook integration sends articles in real time to any endpoint you control. We POST a JSON payload every time an article is published — perfect for custom CMS integrations and automated workflows.

Note: How articles look on your site (formatting, mobile-friendliness) depends on your website's theme and CSS. We deliver semantic content; your theme controls the styling. Learn more →

How to Connect Webhooks

Open Settings → Integrations, find Webhook under the Developer tab, and click Connect to launch the setup wizard. The wizard walks you through 3 short steps, mirrored below.

After saving, the Webhook card shows Awaiting test until you publish your first article. Once a payload is delivered successfully it flips to Connected. Click Manage any time to update the URL or token.

Step 1: Add your webhook URLv

Paste the HTTPS endpoint that should receive each new article. We send a JSON POST every time an article is published — for example https://yoursite.com/api/blog-webhook.

Tip: use a POST route that returns 200 within 5 seconds — anything slower may be retried.

Step 2: Authenticate your endpointv

Add a Bearer token (at least 8 characters) so we can prove the request came from us. We send it as Authorization: Bearer <token> on every call — validate it in your endpoint before processing.

Important: Keep this token private. Store it in environment variables, never in code.

Step 3: Test the connectionv

Send a test payload to confirm everything is wired up:

  1. Click Send test request (also available as Publish first article on the connected screen)

  2. Check your endpoint logs — you should see a POST with the article JSON

  3. If you see a 200 response, you're good to go

What We Send (Payload Reference)v

Request Details:

  • Method: POST

  • Headers: Authorization: Bearer <your-webhook-secret>, Content-Type: application/json

Payload Example:

{
"id": 10,
"title": "Test Article for Webhook Integration",
"slug": "test-article-for-webhook-integration",
"metaDescription": "Test article to verify webhook integration is working correctly",
"content_html": "<h1>Test Article for Webhook Integration</h1>",
"heroImageUrl": "https://cdn.example.com/hero-image.jpg",
"content_markdown": "# Test Article for Webhook Integration",
"jsonLd": { "@context": "https://schema.org", "@type": "Article" },
"faqJsonLd": { "@context": "https://schema.org", "@type": "FAQPage" },
"languageCode": "en",
"publicUrl": "https://example.com/test-article-webhook",
"createdAt": "2025-03-20T03:41:18.570Z"
}

content_html can include embedded JSON-LD script tags. You also receive jsonLd and faqJsonLd as structured JSON fields for easier mapping.

Your endpoint should return HTTP 200 to acknowledge successful receipt.

Verify & Go Livev

On the Webhook saved screen, click Publish first article — we send your latest article to your endpoint to confirm the connection is live. After that, with Automatically Publish on (toggle at the top of the Integrations page), every new article is delivered automatically.

  1. Go to your Content Plan and publish / re-publish any article

  2. BabyLoveGrowth sends the article payload to your webhook URL
  3. Check your endpoint logs and confirm it returns HTTP 200
Troubleshooting & FAQv

Getting 401 or auth errors?

Check the bearer token and ensure your endpoint compares it exactly. The format is Bearer <your-secret>.

Webhook marked as failed?

Webhooks are considered failed if your endpoint doesn't return HTTP 200. Always return 200 when successfully processed.

Not receiving any webhooks?

Verify your URL is publicly accessible, accepts POST requests, and isn't blocked by a firewall or WAF.

Test webhook succeeds but real articles fail?

Check your endpoint logs for errors. Ensure you can handle the full article payload, especially large HTML content.

How do I secure my webhook endpoint?

Always validate the bearer token before processing. Store the secret in environment variables, never in code.

What if my endpoint is temporarily down?

Make sure your endpoint is reliable or implement a queue to handle downtime. Slow responses (over 5 seconds) may be retried.

Can I use this with serverless functions?

Yes. Webhooks work great with serverless platforms like AWS Lambda, Vercel, Netlify Functions, and Cloudflare Workers.

Need more help?

Contact support via the chat icon in the bottom-right corner.