WEBHOOK INTEGRATION
Auto publish to any site with a custom webhook.
For a Next.js or Astro blog, a headless CMS, or anything else that can take a request. Rankbench plans and writes each article, then sends it as one signed JSON request on its day, with HTML and Markdown and a draft or publish status. You build the endpoint once.
- Signed JSON request
- HTML and Markdown
- Free to connect
Setting it up? How to connect a webhook
Checked against the product on
HOW IT WORKS
From your search data to your own endpoint.
Step 01
Enter your site
Get a free SEO audit and a 30-day content calendar, planned from your own Search Console data.
Step 02
Connect your endpoint
Paste the address of an endpoint you build, and a signing secret.
Step 03
Pro writes each article
An article for each day you schedule, researched from real searches, there to read and edit before it goes.
Step 04
It reaches your endpoint
As one signed request on its calendar day, marked draft or publish.
THE REQUEST
One request per article, every field included.
This is the whole contract. Build your endpoint against it, or hand it to an AI coding assistant.
The contract
- Method
- POST, one request for each article sent
- Content type
- application/json
- Signature
- The x-rankbank-signature header: an HMAC-SHA256 of the raw body, hex encoded, when you set a signing secret
- Source
- "source": "rankbank-content-calendar", beside the article
- Expects back
- A 2xx status, with JSON holding id and url if you want the calendar to link to the post
- Retries
- A passing failure is retried after 1, 2, 4, 8 and 16 hours, so the same article can arrive twice
{
"source": "rankbank-content-calendar",
"article": {
"title": "How to price a small-batch product",
"slug": "how-to-price-a-small-batch-product",
"html": "<h2>Start with landed cost</h2><p>…</p>",
"markdown": "## Start with landed cost\n\n…",
"metaDescription": "A pricing method for makers…",
"status": "draft",
"author": "Jane Doe",
"categories": ["Pricing"],
"tags": ["margins", "wholesale"],
"featuredImageUrl": "https://…/hero.webp",
"featuredImageAlt": "A workbench with price tags",
"images": [
{ "kind": "featured", "url": "https://…/hero.webp", "alt": "A workbench with price tags", "section": null },
{ "kind": "section", "url": "https://…/landed-cost.webp", "alt": "Invoices and a calculator on a desk", "section": "Start with landed cost" }
]
}
}The header and the source keep the product's earlier spelling, so endpoints already built keep working. Match them exactly.
CONNECT A WEBHOOK
Build it once, then send one draft.
Next.js, Astro, a headless CMS or your own server: none of these is a ready-made connector. A small endpoint you write connects them all.
Before you start
- An HTTPS endpoint you control: a Next.js route handler, an Astro endpoint, a Cloudflare Worker, an Express route or anything else that takes a POST.
- Somewhere for posts to go: your CMS, your database or your site's repository.
- A signing secret, which is optional but recommended.
Step 01
Build the endpoint
Write it yourself, or copy the ready-made prompt from the connection form into an AI coding assistant. It covers the request, the rules below and the images.
Step 02
Deploy it
Put it on a public HTTPS address, and keep the signing secret in an environment variable rather than in the code.
Step 03
Add the connection
In Rankbench, open Where it publishes, press Add a connection and choose Your own endpoint. Paste the address and the signing secret, then press Connect and test.
Step 04
Connect and test
The test checks the address is a valid web address before saving it. It sends nothing, so it never creates a stray post.
Step 05
Send one draft by hand
The first send is the real test. Send one article as a draft and check it arrived the way you expect.
Test only checks the address. Rankbench sends no test request, because a real one would create a post on your site.
WHAT YOUR ENDPOINT DOES
Six things to get right, all in the prompt.
Check the signature
Recompute the HMAC-SHA256 over the raw request body with your secret, compare it in constant time, and refuse anything that does not match.
Respect the status
status is draft or publish. A draft must not go live.
Be safe to call twice
A failed request may be retried. Find an existing post by its slug and update it, rather than creating a second one.
Let the images load
Images in the html and markdown are hosted at assets.rankbench.io. Allow it in your Content-Security-Policy img-src and in settings such as Next.js images.remotePatterns, or copy the images to your own storage.
Answer with id and url
Return a 2xx status with JSON holding the post's id and url, and the calendar links to it. On failure, return an error status and a reason.
Or let an AI write it
The connection form has a complete prompt with the request, these rules and the images note, written to paste into an AI coding assistant.
WHAT YOUR ENDPOINT GETS
Every field, in every request.
The webhook is the only connection that carries everything, so your endpoint can use whatever your site stores.
| From Rankbench | Sent | In Custom webhook |
|---|---|---|
| Title | Yes | article.title |
| Slug | Yes | article.slug |
| Article body as HTML | Yes | article.html |
| Article body as Markdown | Yes | article.markdown |
| Meta description | Yes | article.metaDescription |
| Featured image | Yes | article.featuredImageUrl, or null |
| Featured image alt text | Yes | article.featuredImageAlt |
| Author | Yes | article.author, from the connection's Author name |
| Categories | Yes | article.categories, from the connection's Default categories |
| Tags | Yes | article.tags, from the connection's Default tags |
| Draft or live | Yes | article.status: draft or publish |
Posts are created once. Rankbench never changes a post after sending it, so make later edits in your system, and nothing you change there is overwritten.
YOU STAY IN CONTROL
Draft or live, on your schedule.
Draft or live, your call
Each connection has a default, and you can change it for any article. Each request says draft or publish in its status field, and your endpoint decides what that means.
Sent at your publish time
Each article goes out on its calendar day at your site's publish time, 08:00 in the site's time zone unless you change it. With more than one connection, you choose which one gets scheduled articles.
Retried, then reported
When the platform has a passing problem, Rankbench tries again after 1, 2, 4, 8 and 16 hours. When it refuses an article, Rankbench waits for you to fix or test the connection, and tells you once in the app and by email.
Keys kept private
Passwords, keys and tokens are stored encrypted and never shown again after you save them.
Cut access any time
Rotate the signing secret, or stop accepting requests at the address. Removing the connection in Rankbench leaves the posts already sent where they are.
PRICING
Free to connect. Pro writes for you.
Free
Free
for good, no card
- SEO audit and a 30-day content calendar
- One preview article, to read in the app
- Guest posts and the backlink exchange
Pro
$99 a month
per site, $74 for each extra site
- An article written for each day you schedule
- Sent to your endpoint on its day, as a draft or live
- Or Starter at $49 a month, for 8 articles a month
“Rankbench is the growth engine
my business was missing.”
From the team behind CodeDesign.ai4.7 on Trustpilot
Webhook questions.
START WITH YOUR WEBSITE
Enter your site. Custom webhook is one connection away.
Get a free SEO audit and a 30-day content calendar first. Connect Custom webhook when you are ready.



