Skip to content
Docs · For developers

The API, webhooks and Zapier

Connect your own code and tools to Saywick with API keys, choose what each key may do, get webhooks when a post goes live or a form is sent, and find the full API reference.

Saywick has a REST API for your own code and scripts, webhooks that tell other tools when something happens on a site, and an MCP server for AI agents. They come with every paid plan: Personal, Pro and Agency. On the Free plan you can still build and edit your sites in the dashboard, with Saywick's own AI.

Want to work by chatting instead? Connect Claude, ChatGPT or Gemini by signing in, with no key to copy: see Connect Claude, ChatGPT or Gemini.

API keys

Owners and admins create keys under API keys in the sidebar:

  1. Choose New API key and give it a Name, like "Zapier" or "Publishing script".
  2. Tick its Permissions (below).
  3. Under Sites, tick the sites it may use, or leave them all unticked for every site, including future ones. Other sites behave as if they don't exist.
  4. Choose Create key. The key is shown only this once, so copy it and keep it somewhere safe. The same window shows a configuration for MCP clients.

Revoke stops a key at once, for good. Everything a key does is in the Audit log under the key's name.

Permissions

Permission Code What it allows
Read sites sites:read See sites, their domains, addresses and settings
Create sites and take them live sites:write Create sites and make draft sites live
Read posts posts:read See posts, and get post.published webhooks
Create and edit posts posts:write Create posts (they wait in Review) and edit them
Publish posts posts:publish Publish and schedule posts, where the site allows it (below)
Read pages pages:read See pages and their sections
Edit pages pages:write Change pages and the design as drafts, publish them, and change site settings
Upload media media:write Add images and files to a site's media library, and adjust pictures
Read form submissions forms:read See forms and their entries, and get form.submitted webhooks
Use Saywick's AI (uses your allowance) ai:generate Build sites, change the design, write posts and make pictures with Saywick's AI

Give each key only what it needs.

Posts created through the API wait in Review for a person, unless the key has Publish posts and the site has API publishing turned on (on the site's Overview tab, owners and admins). Page and design changes are drafts until they're published.

Calls to Saywick's AI use your plan's AI allowance, as they do in the dashboard. When there isn't enough available, the API says so and why, with a link to add credit. See How AI works in Saywick.

Make a request

The API's address is https://app.saywick.com/api/v1. Send the key as a bearer token:

curl https://app.saywick.com/api/v1/sites -H "Authorization: Bearer your-api-key"

Answers are JSON: {"data": …} when it works, and {"error": {"code", "message"}} when it doesn't, with the reason in plain words. Each key can make 60 requests a minute. Send an Idempotency-Key header on a POST so that sending it again (after a dropped connection, say) doesn't do it twice.

With it you can work with sites and their settings, pages and the design, posts, media and AI pictures, AI writing, forms and their entries, clients and domains.

The full reference

Every endpoint, with its fields and the permission it needs, is in the API's OpenAPI document (OpenAPI 3.1). Open it in a tool like Postman or Insomnia, or use it to generate a client in your language. The API keys page links to it too.

Webhooks

A webhook sends an event to an address of yours when something happens on a site:

Event When it's sent The key needs
post.published A post goes live, including scheduled posts when their time comes Read posts
form.submitted A visitor sends a form. Enquiries that look like spam aren't sent. Read form submissions

Subscribe an address with POST /hooks, giving the event, your targetUrl and, optionally, one siteId. A hook only gets events from the sites its key can use. The answer includes the hook's secret, shown only this once.

Each delivery is a POST with a JSON body:

{
  "id": "the delivery's id",
  "event": "post.published",
  "createdAt": "2026-11-01T09:00:00Z",
  "data": {
    "id": "…",
    "siteId": "…",
    "title": "Keeping sourdough fresh",
    "slug": "keeping-sourdough-fresh",
    "excerpt": "…",
    "tags": [],
    "publishedAt": "2026-11-01T09:00:00Z",
    "url": "https://bloombakery.com/blog/keeping-sourdough-fresh"
  }
}

For form.submitted, data is the entry: id, siteId, formId, formName, createdAt and data, the fields the visitor filled in.

  • Check the signature, so you know a delivery came from Saywick. The X-Webhook-Signature header looks like t=1793523600,v1=5f2b…: v1 is the HMAC-SHA256, in hex, of the t value, a full stop and the raw body ("<t>.<body>"), with the hook's secret as the key. Reject deliveries whose t is more than five minutes old. X-Webhook-Id and X-Webhook-Event come with it.
  • Anything but a 2xx answer is tried again after 30 seconds, 2 minutes, 10 minutes, 1 hour and 6 hours. Redirects aren't followed.
  • To stop, answer 410 Gone or remove the hook. Owners and admins see every hook under Integrations → Zapier and webhooks, with Remove beside each.
  • Addresses must be public: no private networks.

Restoring a backup sends no events, so old posts aren't announced again.

Zapier

Saywick's Zapier app has two triggers, New Published Post and New Form Submission, and one action, Create Post Draft, which writes a post that waits in Review. It isn't listed in Zapier's app directory yet. Until it is, any tool that takes webhooks can get the same events by subscribing its address with POST /hooks.

AI agents (MCP)

The MCP server at https://app.saywick.com/api/mcp takes the same keys, for agents and tools that can't sign in. Copy the configuration shown when you create a key. People using Claude, ChatGPT or Gemini should sign in instead: no key to keep safe, and it can never do more than their own role allows.

Updated November 1, 2026