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.
Start a free trial
No card needed; the trial includes the REST API.
Open Settings → API & MCP
Only owners and admins can create keys.
Choose permissions and expiry
Read, create & edit, schedule & reply; 30, 90, 365 days or never.
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.
Authorization: Bearer zk_live_YOUR_KEYA 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.
| Permission | Allows | Typical use |
|---|---|---|
| read | List workspaces and posts, get a post | Dashboards, reporting, backups |
| write (create & edit) | Create posts, edit copy, AI chat edits, delete posts | Content pipelines that need human review |
| publish (schedule & reply) | Set scheduledAt, mark SCHEDULED or PUBLISHED; MCP replies and messages | Fully 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.
| Limit | Value | Applies to |
|---|---|---|
| Requests per minute | 120 | All REST and MCP calls of one account |
| Requests per day | 10,000 | All REST and MCP calls of one account |
| AI requests per minute | 20 | Create with prompt, chat edits, MCP create/edit |
| Request body | 1 MB | Every request |
| Posts per list call | 500 (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.
/workspacesList brand workspaces (clients) with their brand kits/posts?workspaceId=&status=List posts, filter by workspace or status/postsCreate a post; optional prompt lets the AI design it/posts/{id}Get one post document/posts/{id}Update copy, status or schedule/posts/{id}/chatEdit with a plain-English instruction (AI)/posts/{id}Delete a postCreate 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.
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"}'{
"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
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.
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.
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" }) });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": { "code": "insufficient_scope", "message": "This API key isn't allowed to schedule and reply…" } }| Status | Code examples | Meaning |
|---|---|---|
| 400 | invalid_json, invalid_request | The body or a field is not valid |
| 401 | unauthorized | Missing, invalid or expired key |
| 402 | subscription_inactive, insufficient_credits | Trial ended or not enough credits |
| 403 | insufficient_scope, plan_upgrade_required | The key or plan doesn't allow this |
| 404 | not_found | No such post or workspace in your account |
| 413 | payload_too_large | Body over 1 MB |
| 429 | rate_limited | Wait 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 mcp add --transport http zoro-social https://portal.zorosocial.com/api/mcp \
--header "Authorization: Bearer zk_live_YOUR_KEY"{
"mcpServers": {
"zoro-social": {
"type": "http",
"url": "https://portal.zorosocial.com/api/mcp",
"headers": { "Authorization": "Bearer zk_live_YOUR_KEY" }
}
}
}| Tool | What it does | Permission |
|---|---|---|
| list_workspaces, list_posts, get_post | Read workspaces, posts and full post documents | read |
| get_credits | Credit balance and the cost of each action | read |
| create_post, edit_post | Create a post (optionally from a prompt) and edit it in plain English | write |
| schedule_post | Set a post's publish time | publish |
| get_analytics, list_comments | Post performance and recent comments | read |
| list_inbox, get_conversation | Unified inbox and DM threads | read |
| send_message, reply_to_comment, reply_to_review | Reply to people on the brand's accounts | publish |
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.
Last updated: