Connect custom webhook
connect_custom_webhookConnects a custom webhook: from then on BlogSEO POSTs every published article as JSON to the endpoint (see get_webhook_contract), and auto-publish is on so generated articles are delivered as soon as they are ready. The endpoint must be deployed and reachable over HTTPS first. With auth_method=generated the tool returns a shared secret exactly once: store it in the deployment's environment variables and verify the X-Webhook-Secret header with it. One webhook per organization (Lovable, Bolt, v0, Replit, Base44 and Next.js connections are webhooks too); it works next to a CMS integration. Call test_custom_webhook afterwards. Free. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the deployed endpoint that receives the articles. | |
| format | No | Format of article.content in the payload: what the endpoint's renderer expects. | markdown |
| platform | No | Builder or framework of the website, one of v0, bolt, replit, base44, lovable, nextjs, so the dashboard shows the connection under it. Omit for anything else. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. | |
| auth_method | No | generated (recommended): BlogSEO creates a shared secret and sends it in the X-Webhook-Secret header. custom: BlogSEO sends the header you name with the value you give. | generated |
| custom_header_name | No | Header name, only with auth_method=custom. | |
| custom_header_value | No | Header value, only with auth_method=custom. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| format | Yes | ||
| auth_method | Yes | ||
| auto_publish | Yes | Always true: generated articles are delivered automatically. | |
| shared_secret | Yes | Returned once, with auth_method=generated: store it in the deployment's environment variables. | |
| custom_header_name | Yes |