RobinPod
Sign in Start free

RobinPod API

Work with your studio account from scripts and other apps. Make a key on the API keys page and send it as Authorization: Bearer <key>. Limits are per key and depend on the account's plan; a 429 says when to try again in Retry-After. On Free the API needs the $1-a-month API add-on, and while a payment has been overdue for more than 7 days it's off: either way every call but /me is a 402 (api_not_included, payment_overdue). A suspended account's keys may still read (GET); anything else is a 403 account_suspended. Lists are paged: pass the response's next_cursor as cursor until it is null. An AI agent you already use can write a show's days: it asks what's due (/shows/{id}/work), reads a day's brief, takes the day, and saves its research, written steps and title with a key that has the write scope; every save is checked whole and refused with its reasons (invalid_piece), and nothing it writes is rendered before a person says so. Webhooks (under webhooks and the Webhooks tag) push events to your app instead; each request is signed in Webhook-Signature.

Authentication

Make a key on your studio's API keys page (sidebar Account → API keys; owners and admins). A key is shown once, so store it somewhere safe; if it's lost, revoke it and make another. Send it on every request:

curl -H "Authorization: Bearer pcs_…" https://www.robinpod.com/api/v1/me

Each key has scopes, chosen when it's made:

ScopeWhat it allows
readSee the account, its shows and episodes.
writeChange shows and episodes.
analyticsDownload and listener figures.

A missing or unknown key is a 401 with WWW-Authenticate; a key without the scope an endpoint needs is a 403. Calls are logged (key, method, path, status, time; never a body) and kept 30 days.

Rate limits

Limits are per key, by the account's plan, as a token bucket that refills each minute:

PlanRequests a minute
free60
prefix-5300
prefix-251000
starter300
creator1000
network3000
operatorNo limit
Any other plan60

Responses carry X-RateLimit-Limit and X-RateLimit-Remaining. Over the limit is a 429 with Retry-After in seconds. The MCP server shares the key's bucket: each POST to it is one request.

Paging and dates

Lists come a page at a time: pass the response's next_cursor back as cursor until it is null. Cursors are opaque. Dates are UTC days written YYYY-MM-DD; ranges are inclusive. URLs in responses are the public ones podcast apps use, and answer only while the show is public.

Endpoints

Base URL https://www.robinpod.com/api/v1. Every response is JSON; any origin may call it (CORS).

GET /api/v1/me

The key's account and the key itself. Any key may call this, whatever its scopes.

Key: Any key.

Example response (200):

{
  "account": {
    "id": "…",
    "slug": "…",
    "name": "…",
    "plan": "…",
    "status": "active"
  },
  "key": {
    "name": "…",
    "prefix": "…",
    "scopes": [
      "read"
    ]
  }
}

Errors: 401 No key, or a key that isn't valid or was revoked. · 429 Too many requests for this key's plan.

GET /api/v1/shows

The account's shows. Every show (any status), oldest first, a page at a time. Needs the read scope.

Key: Needs the read scope.

ParameterInTypeDescription
limit query integer, default 50 How many to return (1–100, default 50).
cursor query string The previous page's next_cursor.

Example response (200):

{
  "shows": [
    {
      "id": "…",
      "slug": "…",
      "title": "…",
      "description": "…",
      "status": "draft",
      "start_date": "2026-11-01",
      "series_root_id": "…",
      "feed_url": "https://www.robinpod.com/…",
      "page_url": "https://www.robinpod.com/…",
      "artwork_url": "https://www.robinpod.com/…",
      "episode_count": 12,
      "created_at": "2026-11-01T09:00:00.000Z"
    }
  ],
  "next_cursor": "…"
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "read" scope. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}

One show.

Key: Needs the read scope.

ParameterInTypeDescription
id required path string The show's id.

Example response (200):

{
  "show": {
    "id": "…",
    "slug": "…",
    "title": "…",
    "description": "…",
    "status": "draft",
    "start_date": "2026-11-01",
    "series_root_id": "…",
    "feed_url": "https://www.robinpod.com/…",
    "page_url": "https://www.robinpod.com/…",
    "artwork_url": "https://www.robinpod.com/…",
    "episode_count": 12,
    "created_at": "2026-11-01T09:00:00.000Z"
  }
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "read" scope. · 404 No such show in this account. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/episodes

A show's released episodes. Released episodes only (published, out by today, with audio), newest first, a page at a time. Needs the read scope.

Key: Needs the read scope.

ParameterInTypeDescription
id required path string The show's id.
since query string (date) Released on or after this date.
until query string (date) Released on or before this date.
limit query integer, default 50 How many to return (1–100, default 50).
cursor query string The previous page's next_cursor.

Example response (200):

{
  "show_id": "…",
  "episodes": [
    {
      "day": 1,
      "title": "…",
      "release_date": "2026-11-01",
      "audio_url": "https://www.robinpod.com/…",
      "duration_seconds": 12,
      "size_bytes": 12,
      "page_url": "https://www.robinpod.com/…",
      "transcript_url": "https://www.robinpod.com/…"
    }
  ],
  "next_cursor": "…"
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "read" scope. · 404 No such show in this account. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/episodes/{day}

One released episode.

Key: Needs the read scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The episode's day number.

Example response (200):

{
  "show_id": "…",
  "episode": {
    "day": 1,
    "title": "…",
    "release_date": "2026-11-01",
    "audio_url": "https://www.robinpod.com/…",
    "duration_seconds": 12,
    "size_bytes": 12,
    "page_url": "https://www.robinpod.com/…",
    "transcript_url": "https://www.robinpod.com/…"
  }
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "read" scope. · 404 No such show, or that day isn't released. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/downloads

A show's downloads. Downloads counted as the studio's Analytics page counts them: once per listener per day; listeners are distinct hashed IPs; dates are UTC. By default bots, crawlers, link previewers and data-center networks are left out (traffic=listeners); traffic=all counts every download and traffic=bots only what was flagged, and by=app names each client and its kind (app, browser, bot, other). At most 366 days a request. Needs the analytics scope.

Key: Needs the analytics scope.

ParameterInTypeDescription
id required path string The show's id.
from query string (date) First day (default: 29 days before to).
to query string (date) Last day, inclusive (default: today).
by query string (day | episode | app | country | region), default day How to group the rows.
include_starts query boolean, default false Count the show's weekly starts too (for a series' main show).
traffic query string (listeners | all | bots), default listeners listeners: bots left out; all: every download; bots: only what was flagged.

Example response (200):

{
  "show_id": "…",
  "from": "2026-11-01",
  "to": "2026-11-01",
  "by": "day",
  "include_starts": false,
  "traffic": "listeners",
  "series": [
    {
      "source": "measured",
      "total": {
        "downloads": 12,
        "listeners": 12
      },
      "rows": [
        {
          "date": "2026-11-01",
          "downloads": 12,
          "listeners": 9
        },
        {
          "date": "2026-11-02",
          "downloads": 15,
          "listeners": 11
        }
      ]
    }
  ]
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "analytics" scope. · 404 No such show in this account. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/downloads/hits

A measured show's requests, one row each. Every request through the measurement prefix for one of the account's measured (prefix) shows, counted or filtered (with why: bot, probe, partial, duplicate), oldest first, a page at a time. Kept 90 days. Never an IP address, user agent or postal code; coordinates are rounded to one decimal (about 10 km). Paid plans only (Prefix 5, Prefix 25). Needs the analytics scope. CSV with format=csv or Accept: text/csv: the columns are id, at, show_id, episode_id, episode_guid, counted, filtered, app, platform, country, region, region_code, city, metro_code, timezone, network, latitude, longitude, and the next page is in the X-Next-Cursor and Link headers.

Key: Needs the analytics scope.

ParameterInTypeDescription
id required path string The measured show's id (from its Prefix stats page).
since query string From this time (a date = that UTC day's start; default 90 days ago).
until query string Before this time (a date = through that UTC day; default now).
limit query integer, default 500 Rows a page (1–1000, default 500).
cursor query string The previous page's next_cursor (or X-Next-Cursor).
format query string (json | csv) json (default) or csv.

Example response (200):

{
  "show_id": "…",
  "since": "2026-11-01T09:00:00.000Z",
  "until": "2026-11-01T09:00:00.000Z",
  "hits": [
    {
      "id": 12,
      "at": "2026-11-01T09:00:00.000Z",
      "show_id": "…",
      "episode_id": 12,
      "episode_guid": "…",
      "counted": false,
      "filtered": "",
      "app": "…",
      "platform": "…",
      "country": "…",
      "region": "…",
      "region_code": "…",
      "city": "…",
      "metro_code": "…",
      "timezone": "…",
      "network": "…",
      "latitude": 12,
      "longitude": 12
    }
  ],
  "next_cursor": "…"
}

Errors: 400 A parameter or cursor isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "analytics" scope, or the account's plan doesn't include the export (upgrade_required). · 404 No such measured show in this account. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/work

The days of a show that need writing. For an AI agent that writes the show. Only the days the show's schedule gives to an agent: the schedule says "Written by your agent", is on, and the day is inside its range. Of those, the days releasing from yesterday to days ahead that still need research, a written step or a title, soonest due first, each with due_at: when the day must be in. Replayed days and days with nothing left for an agent are left out. A show whose schedule isn't the agent's gets an empty list and a note saying how to turn it on. Needs the read scope.

Key: Needs the read scope.

ParameterInTypeDescription
id required path string The show's id.
days query integer, default 7 How many days ahead to look (1–60, default 7).

Example response (200):

{
  "show_id": "…",
  "today": "2026-11-01",
  "days_ahead": 12,
  "days": [
    {
      "day": 1,
      "release_date": "2026-11-01",
      "due_at": "2026-11-01T09:00:00.000Z",
      "status": "none",
      "missing": {
        "research": [
          {
            "step": "…",
            "label": "…"
          }
        ],
        "pieces": [
          {
            "step": "…",
            "label": "…"
          }
        ],
        "title": false,
        "studio": [
          "scripture"
        ]
      },
      "claimed": false,
      "claimed_until": "2026-11-01T09:00:00.000Z"
    }
  ]
}

Errors: 400 A parameter isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "read" scope. · 404 No such show in this account, or the show has no such day. · 429 Too many requests for this key's plan.

GET /api/v1/shows/{id}/days/{day}/brief

Everything an agent needs to write one day. The show, the day's focus and readings, and every step of the day in order. A research step and each written step carry the exact system and user prompts the studio's own writer gets, the word target, the cast for a conversation, how to send the result, whether it's already written and whether it's locked (a host's recording, or ready Gemini Notebook audio). A research step's prompts hold the stories already covered and any mail the show received for research, so it needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.

Example response (200):

{
  "show": {
    "id": "…",
    "title": "…",
    "description": "…"
  },
  "content": {
    "name": "…",
    "description": "…",
    "total_days": 12
  },
  "day": 1,
  "release_date": "2026-11-01",
  "agent_day": false,
  "due_at": "2026-11-01T09:00:00.000Z",
  "focus": "…",
  "readings": [
    "…"
  ],
  "status": "none",
  "title": {
    "current": "…",
    "style": "…",
    "max_chars": 12
  },
  "claimed": false,
  "claimed_until": "2026-11-01T09:00:00.000Z",
  "missing": {
    "research": [
      {
        "step": "…",
        "label": "…"
      }
    ],
    "pieces": [
      {
        "step": "…",
        "label": "…"
      }
    ],
    "title": false,
    "studio": [
      "scripture"
    ]
  },
  "steps": [
    {
      "id": "…",
      "kind": "text",
      "label": "…",
      "written": false,
      "locked": false,
      "writable": false,
      "save_with": "save_research",
      "output": "research"
    }
  ],
  "tags": {
    "built_in": [
      {
        "name": "…",
        "says": "…"
      }
    ],
    "yours": [
      {
        "name": "…",
        "says": "…"
      }
    ],
    "note": "…"
  }
}

Errors: 400 A parameter isn't valid. · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope. · 404 No such show in this account, or the show has no such day. · 409 replay_day or unsupported_format: nothing for an agent to write. · 429 Too many requests for this key's plan.

POST /api/v1/shows/{id}/days/{day}/claim

Take the day before writing it. Takes the day's claim, so the studio and a second agent can't write it at the same time, and gives back a token every save needs. The claim holds 15 minutes; send the token back here to renew it (the answer has a new token). For a show made from a fact library the day's facts are picked now, so the brief's prompts carry them. Needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.

Body (JSON):

FieldTypeDescription
token string A token from an earlier start_day, to renew that claim. Leave out to take the day.

Example response (200):

{
  "show_id": "…",
  "day": 1,
  "token": "…",
  "expires_at": "2026-11-01T09:00:00.000Z",
  "renewed": false
}

Errors: 400 A parameter or the body isn't valid (invalid_parameter, invalid_body). · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope, or the account is suspended. · 404 No such show in this account, or no such day or step. · 409 day_busy: something else holds the day; claim_lost: the token to renew isn't current; not_agent_day; replay_day; unsupported_format.

PUT /api/v1/shows/{id}/days/{day}/research/{step}

Save a research step's brief. The brief the later steps are written from, with the pages it relies on. Checked whole before anything is saved: the brief at most 100,000 characters, at least one source and at most 100, every source an http or https address. The same body twice is one save. Needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.
step required path string The step's id, as the day's brief gives it.

Body (JSON):

FieldTypeDescription
token required string The claim's token, from start_day.
brief required string The research brief, as plain text.
sources required array Every page the brief relies on.
stories array Optional: the stories considered (at most 80), as the research prompts' <stories> list describes them.

Example response (200):

{
  "show_id": "…",
  "day": 1,
  "step": "…",
  "saved": false,
  "changed": false,
  "sources": 12,
  "stories": 12,
  "status": "none"
}

Errors: 400 A parameter or the body isn't valid (invalid_parameter, invalid_body). · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope, or the account is suspended. · 404 No such show in this account, or no such day or step. · 409 claim_lost: the token is missing, ran out or was replaced (call start_day again); step_locked: a host's recording or ready Gemini Notebook audio is what's played; not_agent_day: the show's schedule doesn't give this day to an agent; wrong_step_kind; replay_day; unsupported_format. · 422 invalid_piece: nothing was saved; error.problems lists every reason in plain words. · 429 too_many_saves: the show took 200 saves from agents today (UTC); or too many requests for this key's plan.

PUT /api/v1/shows/{id}/days/{day}/pieces/{step}

Save one written step. A step's spoken words: text for a one-voice step, turns for a conversation (every speaker must be in the step's cast). At most 40,000 characters; a {tag} the show doesn't have is refused. Checked whole before anything is saved; the same body twice is one save. A day that was rendered or marked ready goes back to draft. Needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.
step required path string The step's id, as the day's brief gives it.

Body (JSON):

FieldTypeDescription
token required string The claim's token, from start_day.
text string The words, for a one-voice step.
turns array The conversation, for a step with a cast.

Example response (200):

{
  "show_id": "…",
  "day": 1,
  "step": "…",
  "kind": "ai",
  "saved": false,
  "changed": false,
  "words": 12,
  "target_words": 12,
  "status": "none"
}

Errors: 400 A parameter or the body isn't valid (invalid_parameter, invalid_body). · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope, or the account is suspended. · 404 No such show in this account, or no such day or step. · 409 claim_lost: the token is missing, ran out or was replaced (call start_day again); step_locked: a host's recording or ready Gemini Notebook audio is what's played; not_agent_day: the show's schedule doesn't give this day to an agent; wrong_step_kind; replay_day; unsupported_format. · 422 invalid_piece: nothing was saved; error.problems lists every reason in plain words. · 429 too_many_saves: the show took 200 saves from agents today (UTC); or too many requests for this key's plan.

PUT /api/v1/shows/{id}/days/{day}/title

Save the episode's title. One line, at most 120 characters. The token is optional here; one that's sent must be current. Needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.

Body (JSON):

FieldTypeDescription
token string The claim's token, from start_day.
title required string

Example response (200):

{
  "show_id": "…",
  "day": 1,
  "saved": false,
  "changed": false,
  "title": "…"
}

Errors: 400 A parameter or the body isn't valid (invalid_parameter, invalid_body). · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope, or the account is suspended. · 404 No such show in this account, or no such day or step. · 409 claim_lost: the token is missing, ran out or was replaced (call start_day again); step_locked: a host's recording or ready Gemini Notebook audio is what's played; not_agent_day: the show's schedule doesn't give this day to an agent; wrong_step_kind; replay_day; unsupported_format. · 422 invalid_piece: nothing was saved; error.problems lists every reason in plain words. · 429 too_many_saves: the show took 200 saves from agents today (UTC); or too many requests for this key's plan.

POST /api/v1/shows/{id}/days/{day}/finish

Say the day is done. Says whether the day now has everything, and what's missing if not. On a complete day of a show that reviews its scripts, the show's reviewer reads the steps the agent wrote: when it wants changes they come back as review.edits (by step), the claim stays held, and the agent rewrites those steps and calls this again, at most the show's review rounds per step. Otherwise the claim is let go (when the token is the current one) and, as the show's schedule says, the day is marked ready and its audio queued (marked_ready, render_queued), or it waits as a draft and the show's owners are emailed once (owner_emailed). note says which happened. Needs the write scope.

Key: Needs the write scope.

ParameterInTypeDescription
id required path string The show's id.
day required path integer The day number, as list_work gives it.

Body (JSON):

FieldTypeDescription
token string The claim's token, from start_day.

Example response (200):

{
  "show_id": "…",
  "day": 1,
  "complete": false,
  "missing": {
    "research": [
      {
        "step": "…",
        "label": "…"
      }
    ],
    "pieces": [
      {
        "step": "…",
        "label": "…"
      }
    ],
    "title": false,
    "studio": [
      "scripture"
    ]
  },
  "status": "none",
  "marked_ready": false,
  "render_queued": false,
  "owner_emailed": false,
  "released": false,
  "note": "…"
}

Errors: 400 A parameter or the body isn't valid (invalid_parameter, invalid_body). · 401 No key, or a key that isn't valid or was revoked. · 403 The key lacks the "write" scope, or the account is suspended. · 404 No such show in this account, or no such day or step. · 409 not_agent_day: the show's schedule doesn't give this day to an agent; replay_day: the day replays another; unsupported_format: the day has no designed steps.

GET /api/v1/openapi.json

This document.

Key: No key needed.

Example response (200):

{}

Errors

Errors have one shape, with a stable code to branch on and a message to show a person:

{
  "error": {
    "code": "insufficient_scope",
    "message": "This key can't do that: it needs the \"analytics\" scope."
  }
}
CodeMeaning
unauthorizedNo key was sent.
invalid_keyThe key isn't one of ours, or has been deleted.
key_revokedThe key was revoked on the API keys page.
account_suspendedThe account is suspended: keys may still read (GET) but nothing else.
insufficient_scopeThe key lacks the scope the endpoint needs.
api_not_included
payment_overdue
rate_limitedToo many requests for the plan; wait Retry-After seconds.
not_foundNo such endpoint, show or episode in this account.
invalid_parameterA parameter is missing, malformed or out of range.
invalid_cursorThe cursor isn't one the API gave out; start again without it.
upgrade_required
invalid_piece
claim_lost
day_busy
step_locked
too_many_saves

MCP server

The same reads are an MCP server, so an AI assistant can look up your shows and figures for you. It is read-only and answers exactly what the endpoints above answer.

Claude Code:

claude mcp add --transport http robinpod https://www.robinpod.com/mcp \
  --header "Authorization: Bearer pcs_…"

Other clients that take a URL and headers (an .mcp.json file, editors and agent frameworks):

{
  "mcpServers": {
    "robinpod": {
      "type": "http",
      "url": "https://www.robinpod.com/mcp",
      "headers": {
        "Authorization": "Bearer pcs_…"
      }
    }
  }
}

Clients that only start local servers (Claude Desktop's config file, for one) can reach it through the mcp-remote bridge: npx mcp-remote https://www.robinpod.com/mcp --header "Authorization: Bearer pcs_…". Clients that sign in with OAuth instead of a key (such as custom connectors on claude.ai) aren't supported yet.

ToolWhat it does
whoamiThe account this API key belongs to (name, plan, status) and the key itself (its name and scopes). Use it to check which tools the key may use. Any API key may use it.
list_showsLists the account's shows (every status), oldest first, with their ids, feed and page URLs and how many episodes are out. Pass next_cursor back as cursor for the next page. Needs an API key with the "read" scope.
get_showOne show by its id: title, description, status, start date, its series' main show, feed, page and artwork URLs, released episode count. Needs an API key with the "read" scope.
list_episodesA show's released episodes (published, out by today, with audio), newest first: day number, title, release date, audio, page and transcript URLs, length. Filter by release date with since / until; page with cursor. Needs an API key with the "read" scope.
get_episodeOne released episode of a show by its day number. Needs an API key with the "read" scope.
get_downloadsA show's downloads and listeners between two dates (inclusive, UTC; default the last 30 days, at most 366), grouped by day (every day, zeros too), episode, app, country or region. include_starts adds a series' weekly starts. Bots are left out unless traffic is all or bots. Needs an API key with the "analytics" scope.
list_workFor an agent that writes a show: the days the show's schedule gives to an agent that still need research, a written step or a title, soonest due first, from yesterday to days ahead (default 7), each with due_at (when it must be in). An empty list with a note means the show's schedule isn't set to "Written by your agent". Call it before each writing session. Needs an API key with the "read" scope.
get_day_briefEverything needed to write one day: the show, the day's focus and readings, and each step in order with the exact prompts to write from, its word target, the cast of a conversation, how to send the result, and whether it's already written or locked. Write the steps in order: later steps are written from the research before them, so read the brief again after saving research. Needs an API key with the "write" scope.
start_dayTakes a day before you write it, so nothing else writes it at the same time, and gives the token every save needs. It holds 15 minutes: pass the token back here to renew it (you get a new token). If the day is busy, try later. Needs an API key with the "write" scope.
save_researchSaves a research step: the brief and every page it relies on (http or https addresses, at least one), and optionally the stories you considered. Open the pages yourself and cite only what you read. Checked whole: a refused save lists every reason and saves nothing. Needs an API key with the "write" scope.
save_pieceSaves one written step of a day: text for a one-voice step, or turns ([{speaker, text}]) for a conversation, using only the step's cast. Keep to the step's word target. Checked whole: a refused save lists every reason and saves nothing. Saving the same thing twice is harmless. Needs an API key with the "write" scope.
save_titleSaves the episode's title: one line, in the show's title style when the day's brief gives one. Needs an API key with the "write" scope.
finish_daySays you're done with a day and reports whether it now has everything, and what's missing if not. If the show's reviewer wants changes they come back as review.edits: rewrite those steps, save them and call this again. Otherwise your claim is let go and, as the show's owner chose, the day is marked ready and rendered, or waits as a draft for a person; note says which. Needs an API key with the "write" scope.

Try it by hand:

curl https://www.robinpod.com/mcp -H "Authorization: Bearer pcs_…" \
  -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: tools/call" -H "Mcp-Name: list_shows" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_shows","arguments":{},
       "_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{}}}}'

Webhooks

Webhooks tell your app when something happens in your account, instead of your app asking. Add an endpoint on the Webhooks page of your studio (owners and admins): an https:// address on the public internet and the events it wants. Each endpoint gets a signing secret, whsec_…, shown once (rotate it there if it's lost).

Events

The request

A POST with a JSON body {"id", "type", "created_at", "account": {"id", "slug"}, "data"} and these headers:

Verifying

Compute the HMAC over the timestamp, a full stop and the body exactly as received (before any JSON parsing), compare it with each v1 in constant time, and refuse a t more than five minutes from your clock. In JavaScript:

async function verifyWebhook(secret, signatureHeader, rawBody, toleranceSeconds = 300) {
  // signatureHeader: the Webhook-Signature header, "t=<unix seconds>,v1=<hex>".
  // rawBody: the request body exactly as received (read it as text before parsing the JSON).
  let t = NaN;
  const signatures = [];
  for (const part of signatureHeader.split(",")) {
    const [key, value] = [part.slice(0, part.indexOf("=")), part.slice(part.indexOf("=") + 1)];
    if (key === "t") t = Number(value);
    if (key === "v1") signatures.push(value);
  }
  if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
  const enc = new TextEncoder();
  const key = await crypto.subtle.importKey("raw", enc.encode(secret), { name: "HMAC", hash: "SHA-256" }, false, ["sign"]);
  const mac = new Uint8Array(await crypto.subtle.sign("HMAC", key, enc.encode(t + "." + rawBody)));
  const expected = Array.from(mac, (b) => b.toString(16).padStart(2, "0")).join("");
  // Compare without stopping at the first difference.
  return signatures.some((s) => s.length === expected.length
    && [...s].reduce((diff, c, i) => diff | (c.charCodeAt(0) ^ expected.charCodeAt(i)), 0) === 0);
}

In Python:

import hashlib, hmac, time

def verify_webhook(secret: str, signature_header: str, raw_body: bytes, tolerance_seconds: int = 300) -> bool:
    parts = [p.split("=", 1) for p in signature_header.split(",") if "=" in p]
    t = next((v for k, v in parts if k == "t"), "")
    signatures = [v for k, v in parts if k == "v1"]
    if not t.isdigit() or abs(time.time() - int(t)) > tolerance_seconds:
        return False
    expected = hmac.new(secret.encode(), t.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
    return any(hmac.compare_digest(expected, s) for s in signatures)

Answering and retries

Answer with any 2xx within 10 seconds; do slow work after answering. Anything else (another status, a timeout, a redirect to a non-https or private address) is a failure, retried 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours later (retries go out from a check every 15 minutes, so the first ones can be a little later), then given up; the page can redeliver it. Redirects to other https addresses are followed (at most 3). An endpoint whose every delivery has failed for 3 days is turned off, and the page says so; turn it back on when it's fixed. Deliveries are at least once and not always in order.