Read your site's data over HTTP
Every Studio Buddy site has a read-only REST API for its details, domains, add-ons, page-view analytics and team. Authenticate with a site API key and call the endpoints below.
In the API and MCP server, a deploy is a site: the same thing, under its API name.
Base URL
All endpoints live under a single versioned base URL:
https://studiobuddy.radioworkflow.com/api/v1
This address changed on 8 October 2026, when the product was renamed. If an integration or an MCP client is still set up with https://webbuddy.radioworkflow.com, change it to the address above; your keys do not change and nothing else about the request does. Do not rely on a redirect from the old address: most HTTP clients, curl and fetch among them, drop the Authorization header when a redirect changes host, so a redirected call arrives without its key and fails with 401 unauthorized.
The API is read-only today. Content writes (articles and the like) happen in your site's own admin, not here. What v1 guarantees, and what would cost a new version segment, is on the versioning page.
Authentication
Create a key under Developers, API keys in the console, or on a site's API tab (site owners only). A key looks like wb_live_… and is shown in full exactly once, at creation. We store only a hash, so copy it somewhere safe. Each key is scoped to the one site it was created for, and there is no way to ask for another: the key is the site selector.
The site API key as a bearer token: Bearer wb_live_…. It is the only credential. There are no cookies, no session and no CSRF token in this API.
curl 'https://studiobuddy.radioworkflow.com/api/v1/site' \ -H "Authorization: Bearer wb_live_your_key_here"
Scopes
A key carries only what you tick when you create it, and the choice is permanent: scopes cannot be added to an existing key. Call an endpoint whose scope your key does not carry and it answers insufficient_scope, every time, for the life of that key. Give a key the least it needs; a public analytics widget has no business reading your team's email addresses.
| Scope | What it unlocks | Endpoints |
|---|---|---|
| site:read Site | Read the site's identity, serving URLs, custom domains and their DNS records, add-ons, and console links. | |
| analytics:read Analytics | Read page-view counts, totals and top paths. | |
| members:read Team | Read the team list, including every member's email address. |
A key minted before scopes existed carries none and grants everything; the console labels it Full access · legacy on the site's API tab and on the API keys page. Replace one when you see it: it is the only key shape that cannot be narrowed.
Needs no scope: GET /api/v1/key. Any live key for the site can call it, including a key minted with no scopes at all.
Endpoints
9 endpoints, grouped by what they read. Each page carries its parameters, response fields, error codes and ready-to-run samples, and a Try it form that sends the real request with your own key and shows you the real answer. Try get the site now.
The form runs in your browser and calls the API on this same origin. The key you paste goes into the Authorization header of that one request and nowhere else (not to the documentation, and not into storage on your device). It is a real call, so it counts against the same rate limit and shows up in your site's API log. Signed in to the console? The playground under Developers runs every endpoint from one page.
Site
- GET
/api/v1/siteGet the sitesite:readMCP toolThe key's own site: identity, serving URLs, and its custom domains with live HTTPS status. - GET
/api/v1/domainsList custom domainssite:readMCP toolThe site's custom domains, with verification and HTTPS state and the DNS records each one needs. - GET
/api/v1/add-onsList add-onssite:readMCP toolThe add-ons the site can use, and which of them are switched on. - GET
/api/v1/linksGet console linkssite:readMCP toolLinks a person can follow to manage the site: its console page, its admin, and its public address.
Analytics
- GET
/api/v1/analytics/dailyDaily page viewsanalytics:readMCP toolPage-view counts per day over a window, oldest first and zero-filled. - GET
/api/v1/analytics/top-pathsTop pathsanalytics:readMCP toolThe most-viewed paths over a window, highest first. - GET
/api/v1/analytics/summaryPage-view totalsanalytics:readMCP toolTotal page views today, over the last 7 and 30 days, and all time.
Team
API key
What every response carries
Set by the wrapper every endpoint shares, on success and on failure alike:
| Header | Value | Why |
|---|---|---|
| cache-control | no-store | Every response is per-key and live, so nothing in this API is cacheable by an intermediary. Cache on your side if you poll, keyed by whatever freshness your integration actually needs. |
| X-API-Version | v1 | Which API version answered. The base path already implies it; the header makes it visible in a log or a request trace, where a proxy sitting in front of something else would otherwise be invisible. |
| X-RateLimit-Limit | 120 | Requests allowed per key per 60-second window, on the instance that answered. See the rate-limit note: this is a per-instance brake, not a global budget. |
| X-RateLimit-Remaining | 119 | Requests left in the current window after this one. Absent on a 401, which cannot be attributed to a key. |
| X-RateLimit-Reset | 1787896102 | When the window rolls over, as UNIX SECONDS (not a duration and not milliseconds). A 429 additionally carries Retry-After in whole seconds, floored at 1. |
Errors
Failures answer a non-2xx status and a JSON envelope with a stable machine-readable code and a human-readable message. Branch on the code: the message is prose for a person and may be reworded at any time.
{
"error": {
"code": "unauthorized",
"message": "Provide a valid API key as an 'Authorization: Bearer wb_live_...' header.",
"docs_url": "https://studiobuddy.radioworkflow.com/docs/errors#error-unauthorized"
}
}These can arrive from any endpoint:
- 401
unauthorized: No usable API key on the request. TheAuthorizationheader was missing or malformed, the token did not match any key, the key has been revoked, or the key's site is no longer active. - 403
insufficient_scope: The API key is valid, but does not carry the scope this endpoint requires. Scopes are chosen when a key is created and cannot be changed afterwards. - 429
rate_limited: The key exceeded 120 requests in the current 60-second window. The same code also answers a caller that has presented too many tokens which do not resolve. That brake is counted per network address rather than per key, because a request nobody can attribute to a key has no key bucket to charge, and looking a bad token up still costs a database call. - 500
internal_error: The request failed inside the server. The cause is never disclosed to the caller: the wrapper swallows the exception so a stack trace cannot reach an API consumer.
The full catalogue, with what to do about each one, is on the errors page.
Rate limits
Each API key is limited to 120 requests per minute, counted per key, so two keys on the same site do not share a budget. Beyond that the API answers rate_limited until the window resets.
Counted per API key in a fixed 60-second window, per serving instance. Treat it as an abuse brake rather than a guaranteed budget: cache what you poll, and spread bulk reads out.
Health check
Answers 200 ok while the server process is running. It does NOT touch the database: a 200 here means the process is up, not that the console is fully functional. It lives at /api/health rather than /healthz because Google's front end reserves that path on *.run.app and answers it before the request reaches us.
https://studiobuddy.radioworkflow.com/api/healthNo key requiredIt sits outside /api/v1 and outside every promise on the versioning page: it belongs to the infrastructure, not to the product API, and its shape can change without that being a breaking change. Poll it for uptime; do not build on it.
Machine-readable contract
The whole surface is published as an OpenAPI 3.1 document. Generate a client from it, import it into Postman or Bruno, or keep a copy and diff it after a release to see whether anything you depend on moved.
https://studiobuddy.radioworkflow.com/api/v1/openapi.jsonNo key requiredcurl -s https://studiobuddy.radioworkflow.com/api/v1/openapi.json > api-$(date +%F).json diff <(jq -S . api-2026-01-01.json) <(jq -S . api-$(date +%F).json)
It is generated from the same catalogue this page is, so it cannot describe an endpoint the docs do not. The document's own shape follows the OpenAPI specification rather than our versioning policy: the promises on that page are about the API, not about this file.
Keeping keys safe
- Treat a key like a password. Anyone who has it can read everything these endpoints expose for your site.
- Tick the least it needs. A key for a traffic dashboard needs
analytics:readand nothing else. Leavingmembers:readticked puts every member's email address behind a token that is going to live in a config file somewhere. See Scopes. - Store keys in a secret manager or an environment variable. Never commit them to source control or paste them into client-side code. The samples on each endpoint page show a placeholder for exactly this reason.
- The full key is shown only once. If you lose it, create a new one rather than trying to recover the old.
- Rotate by creating a new key, switching your integration to it, then revoking the old one. Revoking takes effect immediately.
- If a key is ever exposed, revoke it right away from the API keys page or the site's API tab.
Developers, API keys in the console lists the keys of every site you belong to: create them, see when each was last used, and revoke them. Each site's API tab shows the same keys for that site, with its recent requests. Only site owners can create or revoke keys; editors can view the list.