Use the Silotree API and webhooks

The API gives scripts, Zapier and Make the same answers your assistant gets: sites, the Score, links to add, link problems, posts and drafts. Sending links works the same way too: preview a batch, then send that preview. Webhooks tell an address of yours when a scan finishes or links are written into posts or undone.

4 stepsUpdated

Steps

  1. Create an API key

    In Silotree, open Account → Assistants and API and press Create an API key. Name it, choose Read only or Read, and write links it previews, and which sites it covers. The key is shown once: copy it then. It works until you press Revoke.

  2. Call the API

    Send the key as a bearer token. Every answer is JSON:

    curl https://silotree.io/api/v1/sites \
      -H "Authorization: Bearer stk_…"

    {site} is the domain (example.com). Errors come back as { error, next } with a matching status: 401 for a bad key, 403 for a read-only key asked to write, 404 for a site the key does not cover, 429 when the key has made too many requests (see limits).

    GET /api/v1/sites
    Your sites, with plan, Score and last scan.
    GET /api/v1/sites/{site}
    The overview: Score and its parts, the biggest wins, counts and this week’s actions.
    GET /api/v1/sites/{site}/links
    Links to add, each with its sentence. ?show=strong|unlinked|buried|unindexed|new, ?to=, ?from=, ?limit= (up to 20), ?offset=.
    GET /api/v1/sites/{site}/issues
    Broken and redirected links with their fix, and competing posts.
    GET /api/v1/sites/{site}/posts?post=…
    One post by address or title words: links in and out, depth, links to add.
    POST /api/v1/sites/{site}/drafts
    { text, title?, url? }: links a draft could carry, and posts that could link to it.
    GET /api/v1/sites/{site}/scan
    Scan status. POST starts a scan (write).
    GET /api/v1/sites/{site}/batches
    Recent changes, where each came from, and which can be undone.
    POST /api/v1/sites/{site}/decisions
    { links, decision: approve | skip | restore } (write).
    POST /api/v1/sites/{site}/previews
    { links | approved: true | fixes | all_fixes: true }: what a batch would change, and a previewToken (write).
    POST /api/v1/batches
    { preview }: send exactly that preview to WordPress (write).
    POST /api/v1/batches/{id}/undo
    Put the posts back, for a batch applied with one-click apply (write).
    GET | POST /api/v1/webhooks, DELETE /api/v1/webhooks/{id}
    List, add and remove webhooks.
  3. Add a webhook and check its signature

    Under Webhooks on the same page, press Add a webhook (a message Silotree sends to your address when something happens), give an https address and choose the events: scan.finished (with the Score and links waiting), batch.written (links or fixes written into posts with one-click apply; links that wait under Suggestions send no event) and batch.undone. Copy the signing secret when it is shown.

    Each delivery is a POST of JSON:

    { "id": "evt_…", "type": "scan.finished", "created": "2026-10-20T09:00:00Z",
      "site": "example.com", "data": { "pages": 214, "score": 78, "linksWaiting": 12 } }

    It carries Silotree-Signature: t=…,v1=…: v1 is the hex HMAC-SHA256 of t, a full stop and the raw body, keyed with your secret. Compute the same and compare, and refuse a t more than five minutes old.

Keys and assistants share the rules

A key is a connection like an assistant's: the same tools, the same site list, the same activity list in Account → Assistants and API. A key also works as a bearer token in any MCP client that takes a header, at https://silotree.io/api/mcp.

Limits

  • 300 requests every 5 minutes for each key, counted apart from your other keys and assistant connections. Past that the answer is a 429, and its error says how many seconds to wait, as does its Retry-After header.
  • 4 scans an hour for each site, from keys and assistants together. Another is refused with a 400 that says how many minutes to wait.
  • 200 links in one preview. Name more, or ask for approved: true with more than 200 approved, and the preview is refused: write them in several batches. all_fixes: true previews the first 200 fixes.

If it doesn’t work

401: That key is unknown, expired or revoked

Check you sent the whole key, starting stk_. If it was revoked, create a new one.

429: Too many requests

The key made more than 300 requests in 5 minutes. Wait the seconds the error gives, then carry on. A script that pages through links can slow down, or ask for fewer pages.

The webhook switched itself off

It failed 20 times in a row. Check the address answers a POST with a 2xx status, then remove the webhook and add it again.

Questions

Is there a rate limit?

300 requests per five minutes per key. Past that the API answers 429 (“too many requests”) with how long to wait.

What happens when my webhook address is down?

Silotree tries again after 1, 5 and 30 minutes, then 2, 6 and 24 hours. After 20 failures in a row the webhook is switched off, and Account → Assistants and API says so; remove it and add it again once your address works.