Skip to content
ZORO Social

REST API v1 · MCP server

ZORO Social API documentation

The ZORO Social API lets your own tools create, edit and schedule social media posts, and let the AI copilot design them from a short brief. The REST API is included in every plan and in the free trial, with the same limits for everyone. On Pro and Agency, the MCP server lets AI agents do the same through a standard tool interface.

By ZORO Social Team · Updated

What can you build with the ZORO Social API?

With the ZORO Social API you can turn new products, blog articles, events or data from your own systems into on-brand social posts automatically. Your code creates a post, optionally asks the AI copilot to design it, edits it in plain English, then schedules it to the social accounts connected to that brand.

  • • Publish a carousel every time you add a product to your store or a post to your blog.
  • • Let an internal tool or spreadsheet queue a month of posts for each client workspace.
  • • Pull your post list and statuses into your own dashboards.
  • • Give AI agents safe, permissioned access through the MCP server.

Base URL: https://portal.zorosocial.com/api/v1. All requests and responses are JSON. Successful responses wrap results in a data field.

How do I get a ZORO Social API key?

Sign in to ZORO Social, open Settings, then API & MCP, give the key a name, choose its permissions and expiry, and click Create key. Copy the key straight away, because it is shown only once. Keys start with zk_live_ and work on every plan and during the free trial.

  1. Start a free trial

    No card needed; the trial includes the REST API.

  2. Open Settings → API & MCP

    Only owners and admins can create keys.

  3. Choose permissions and expiry

    Read, create & edit, schedule & reply; 30, 90, 365 days or never.

  4. Copy and store the key safely

    Keep it in a secret manager, never in front-end code.

How do I authenticate API requests?

Send your API key in the Authorization header as a bearer token on every request. The x-api-key header also works. Requests without a valid, unexpired key get HTTP 401. Make calls from your server, never from a browser or mobile app, so the key is never exposed to your users.

Request header
Authorization: Bearer zk_live_YOUR_KEY

A key stops working when it expires, when you revoke it, or when the person who created it leaves your team or stops being an admin. All keys of one account see every workspace in that account.

What permissions can an API key have?

Each key carries up to three permissions: read, create and edit, and schedule and reply. Read is always included. Give each integration only what it needs, for example a reporting tool needs read only, while a publishing workflow needs all three. A request beyond a key's permissions returns HTTP 403 with the code insufficient_scope.

API key permissions
PermissionAllowsTypical use
readList workspaces and posts, get a postDashboards, reporting, backups
write (create & edit)Create posts, edit copy, AI chat edits, delete postsContent pipelines that need human review
publish (schedule & reply)Set scheduledAt, mark SCHEDULED or PUBLISHED; MCP replies and messagesFully automated publishing

What are the API rate limits?

Every plan and the free trial get the same limits: 120 requests a minute and 10,000 a day per account, shared by all its keys and the MCP server, plus 20 AI requests a minute and 1 MB per request. Over a limit you get HTTP 429 with a Retry-After header in seconds.

Limits (identical on Starter, Pro, Agency and the trial)
LimitValueApplies to
Requests per minute120All REST and MCP calls of one account
Requests per day10,000All REST and MCP calls of one account
AI requests per minute20Create with prompt, chat edits, MCP create/edit
Request body1 MBEvery request
Posts per list call500 (newest first)GET /posts

AI actions also use credits from your balance, the same as in the app (an AI edit costs 8 credits by default). If credits run out, the API returns HTTP 402 with your balance; top-up credits never expire.

Which endpoints does the REST API have?

The REST API has seven endpoints: list workspaces, list posts, create a post (optionally designed by AI), get a post, update a post's copy, status or schedule, edit a post with a plain-English instruction, and delete a post. All paths are relative to the base URL and return JSON.

GET/workspacesList brand workspaces (clients) with their brand kits
GET/posts?workspaceId=&status=List posts, filter by workspace or status
POST/postsCreate a post; optional prompt lets the AI design it
GET/posts/{id}Get one post document
PATCH/posts/{id}Update copy, status or schedule
POST/posts/{id}/chatEdit with a plain-English instruction (AI)
DELETE/posts/{id}Delete a post

Create a post

Fields: workspaceId (defaults to your first workspace), platform (instagram, facebook, tiktok, linkedin, x, youtube, threads, pinterest, reddit, bluesky, googlebusiness), format (SINGLE, CAROUSEL, REEL), title, caption, hook, cta, hashtags and prompt. New posts always start as drafts.

POST /posts
curl -X POST https://portal.zorosocial.com/api/v1/posts \
  -H "Authorization: Bearer zk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"instagram","format":"CAROUSEL","prompt":"5-slide carousel: 3 mistakes new cafe owners make on Instagram"}'
Response 201
{
  "data": { "id": "6f1c…", "status": "DRAFT", "platform": "instagram", "format": "CAROUSEL", "slides": [ … ], "caption": "…" },
  "reply": "Done! I made a 5-slide carousel …",
  "credits": { "plan": 392, "topup": 0 }
}

Edit with plain English

POST /posts/{id}/chat
curl -X POST https://portal.zorosocial.com/api/v1/posts/POST_ID/chat \
  -H "Authorization: Bearer zk_live_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"message":"make slide 2 punchier and use a dark blue background"}'

Schedule a post

Needs a key with the schedule and reply permission. Times are ISO 8601 with a time zone, for example 2026-12-01T09:00:00+04:00 for 9am in Dubai.

PATCH /posts/{id}
curl -X PATCH https://portal.zorosocial.com/api/v1/posts/POST_ID \
  -H "Authorization: Bearer zk_live_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"scheduledAt":"2026-12-01T09:00:00+04:00"}'

How do I call the API from JavaScript or Python?

Use any HTTP client. Send JSON with the Authorization header, read the data field from the response, and when you get HTTP 429, wait for the number of seconds in the Retry-After header before trying again. The examples below list your drafts and create a new post from a prompt.

JavaScript (Node 18+)
const api = (path, init = {}) =>
  fetch("https://portal.zorosocial.com/api/v1" + path, {
    ...init,
    headers: { Authorization: `Bearer ${process.env.ZORO_API_KEY}`, "Content-Type": "application/json", ...init.headers },
  }).then(async (r) => {
    if (r.status === 429) throw new Error(`Rate limited, retry in ${r.headers.get("Retry-After")}s`);
    const body = await r.json();
    if (!r.ok) throw new Error(body.error.message);
    return body.data;
  });

const drafts = await api("/posts?status=DRAFT");
const post = await api("/posts", { method: "POST", body: JSON.stringify({ platform: "linkedin", prompt: "Announce our new pricing page" }) });
Python (requests)
import os, requests

s = requests.Session()
s.headers["Authorization"] = f"Bearer {os.environ['ZORO_API_KEY']}"

drafts = s.get("https://portal.zorosocial.com/api/v1/posts", params={"status": "DRAFT"}).json()["data"]
r = s.post("https://portal.zorosocial.com/api/v1/posts", json={"platform": "instagram", "prompt": "Weekend brunch offer, 3 slides"})
r.raise_for_status()
print(r.json()["data"]["id"])

What errors can the API return?

Errors return a JSON body with an error object that has a machine-readable code and a human-readable message, together with a standard HTTP status. Check the status first, then the code. Retry only 429 and 5xx responses; fix the request for any other 4xx error before sending it again.

Error body
{ "error": { "code": "insufficient_scope", "message": "This API key isn't allowed to schedule and reply…" } }
HTTP status codes
StatusCode examplesMeaning
400invalid_json, invalid_requestThe body or a field is not valid
401unauthorizedMissing, invalid or expired key
402subscription_inactive, insufficient_creditsTrial ended or not enough credits
403insufficient_scope, plan_upgrade_requiredThe key or plan doesn't allow this
404not_foundNo such post or workspace in your account
413payload_too_largeBody over 1 MB
429rate_limitedWait for Retry-After seconds

How do I connect the ZORO Social MCP server?

The MCP server lets AI agents use ZORO Social as a set of tools. Add the server URL to your MCP client with your API key in the Authorization header. It uses Streamable HTTP, the same keys, permissions and rate limits as the REST API, and is included on the Pro and Agency plans.

Claude Code
claude mcp add --transport http zoro-social https://portal.zorosocial.com/api/mcp \
  --header "Authorization: Bearer zk_live_YOUR_KEY"
MCP client config (JSON)
{
  "mcpServers": {
    "zoro-social": {
      "type": "http",
      "url": "https://portal.zorosocial.com/api/mcp",
      "headers": { "Authorization": "Bearer zk_live_YOUR_KEY" }
    }
  }
}
MCP tools
ToolWhat it doesPermission
list_workspaces, list_posts, get_postRead workspaces, posts and full post documentsread
get_creditsCredit balance and the cost of each actionread
create_post, edit_postCreate a post (optionally from a prompt) and edit it in plain Englishwrite
schedule_postSet a post's publish timepublish
get_analytics, list_commentsPost performance and recent commentsread
list_inbox, get_conversationUnified inbox and DM threadsread
send_message, reply_to_comment, reply_to_reviewReply to people on the brand's accountspublish

Where is the OpenAPI specification?

The full OpenAPI 3.1 specification is public at portal.zorosocial.com/api/v1/openapi.json and needs no key to read. Import it into Postman, Insomnia or a code generator to get typed requests and responses for every endpoint, including field types, permissions, error responses and the rate limit headers.

Open the OpenAPI spec · API & MCP feature overview · Plans and credits

API questions

Is the ZORO Social API free?

Yes. The REST API is included in every plan, Starter, Pro and Agency, and in the 7-day free trial with no card. There is no extra fee for API access. Actions that run the AI copilot, such as creating a post from a prompt, use credits exactly like they do in the app.

Are the API limits different on each plan?

No. Every plan and the free trial get the same limits: 120 requests a minute and 10,000 a day per account, shared by all its keys, plus 20 AI requests a minute and 1 MB per request. Your plan only changes how many credits, workspaces and seats you have.

Can I publish posts through the API?

Yes. Create or edit a post, then set scheduledAt with a key that has the schedule and reply permission. Scheduled posts publish to the social accounts connected to that workspace once its brand kit is approved. Keys without that permission can draft and edit but never schedule or publish.

Which plan includes the MCP server?

The MCP server, which lets AI agents such as desktop AI assistants use ZORO Social as a tool, is included on the Pro and Agency plans. It uses the same API keys, permissions and rate limits as the REST API, so one key can work with both.

Is there an OpenAPI specification?

Yes. The full OpenAPI 3.1 description is public at https://portal.zorosocial.com/api/v1/openapi.json. Import it into Postman, Insomnia or your code generator to get typed requests and responses for every endpoint, including the error format and the rate limit headers.

Share these docs: LinkedIn X Email

Last updated:

Build with ZORO Social today

Every plan and the 7-day free trial include the REST API. Create your key in minutes, no card needed.