Webhook Payload
The payload mirrors what you see inside the editor. Use content_md if you render with Markdown or content_html for static exports. The content_block field (not shown below) is a serialized BlockNote document for block-based editors.
payload.json
json
{
"title": "Copilot untuk Social Apps",
"slug": "copilot-untuk-social-apps",
"content_md": "# Copilot untuk Social Apps...",
"content_html": "<h1>...</h1>",
"excerpt": "Copilot membantu mengelola konten...",
"cover_image_url": "https://getcopi.app/og.webp",
"primary_keyword": "copilot social media",
"secondary_keywords": ["ai copilot", "marketing ai"],
"llm_faq": [
{
"question": "Apakah copilot mendukung semua platform?",
"answer": "Ya..."
}
],
"schema_article_jsonld": "{\"@context\": ...}",
"schema_faq_jsonld": "{\"@context\": ...}"
}Field notes:
- content_block holds block-editor data; store it if you plan to round-trip content.
- schema_article_jsonld and schema_faq_jsonld are pre-baked JSON strings that can be dropped straight into
<script type="application/ld+json">tags. - llm_faq is an array you can loop through to populate accordions, chatbots, or knowledge-base entries.
Need a quick smoke test? Use cURL from your local machine:
curl.sh
bash
curl -X POST https://your-domain.com/api/articles \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d @payload.json