It runs as whoever made it
Requests resolve to that person and their role. A key made by someone who cannot publish still cannot publish, through the API or anywhere else.
DEVELOPER API
A JSON REST API where every request carries a key and the brand it acts on.
Draft, schedule, publish, reschedule, upload media, and read analytics across eight networks. The key holds exactly the permissions of the person who made it, which is the part most APIs get wrong.
/api/public/v1
Confirm which organization, brand, and user a key resolves to.
REQUIRESbrands:read
curl $API/me \
-H "Authorization: Bearer pst_live_..." \
-H "x-brand-id: $BRAND_ID"RESPONSE{
"organization": { "id": "org_...", "name": "Acme Inc" },
"brand": { "id": "brand_...", "name": "Acme" },
"user": { "id": "usr_...", "email": "you@acme.com" }
}Successful calls return the resource itself, with no wrapper envelope. The full reference carries every endpoint and its parameters.
WHAT A REQUEST CARRIES
An account can hold several brands, so a key alone is not enough to say what a request means. Every call names the brand it acts on.
POST /posts401API_KEY_REQUIREDThis endpoint requires an API key. Send it as `Authorization: Bearer pst_...`.
+ Authorization: Bearer pst_live_...400BRAND_ID_REQUIREDPublic API requests must include an x-brand-id header.
+ x-brand-id: brand_...403INSUFFICIENT_SCOPEThis API key is missing the required scope: posts:write
+ a key whose owner can publish200One post id per account you targeted.
Every refusal carries a stable code beside its message, so a client branches on a constant rather than parsing prose.
Each route declares the one it needs.
posts:read | List and read posts |
|---|---|
posts:write | Create, schedule, reschedule, and delete |
media:write | Upload files and remote URLs |
analytics:read | Read profile and post analytics |
brands:read | List brands and read account context |
mcp:use | Drive the MCP server with the same key |
A stable code beside every message.
| 401 | API_KEY_REQUIREDNo bearer token on the request |
|---|---|
| 401 | INVALID_API_KEYThe key is unknown or has been rotated away |
| 400 | BRAND_ID_REQUIREDNo x-brand-id header |
| 403 | BRAND_ORG_MISMATCHThat brand is not in this key’s organization |
| 403 | INSUFFICIENT_SCOPEThe route needs a scope the key lacks |
| 403 | API_KEY_OWNER_DEACTIVATEDThe person who made the key is no longer active |
| 402 | The upload would pass your storage allowance |
| 429 | Throttled for this key |
ONE CALL, EVERY ACCOUNT
Add an entry to posts[] for each account you are targeting. Each one keeps its own content and its own settings, and comes back with its own post id.
ONE REQUEST BODY
{
"type": "schedule",
"date": "2026-09-01T14:30:00Z",
"posts": [
{ "integration": { "id": "..." },
"value": [{ "content": "..." }],
"settings": { "__type": "x" } },
{ "integration": { "id": "..." },
"value": [{ "content": "..." }],
"settings": { "__type": "instagram",
"post_type": "post" } },
{ "integration": { "id": "..." },
"value": [{ "content": "..." }],
"settings": { "__type": "youtube",
"title": "...", "type": "public" } }
]
}ONE RESULT PER ACCOUNT
post_7f2ano extra fieldspost_7f2bpost_type: "post"post_7f2ctitle, type: "public"Each entry keeps the fields only its network has. Nothing is flattened to the set they all share.
Illustration using the documented request shape. Ids are made up.
THE KEY IS A PERSON
An API key is usually the one credential that outranks every role you set up. This one does not, by construction.
Requests resolve to that person and their role. A key made by someone who cannot publish still cannot publish, through the API or anywhere else.
Deactivate the person and every request on their key is refused, without anyone hunting for which integrations to turn off.
Rotating mints a new key and the old one stops at once, including any app, MCP client, or URL still carrying it.
A public route that does not declare the scope it needs refuses to serve traffic rather than defaulting to open.
Settings holds one personal key for both surfaces. Point an MCP client at it and Claude or Codex works the same account and the same brands, with nothing new to provision.
The getting-started guide walks the whole path: reveal a key, confirm it with /me, upload an image, and schedule the post. A live OpenAPI reference is served from the API itself.
A LITTLE MORE CLARITY
Keys, scopes, brands, and what happens when a call is refused.
Two headers on every request. Authorization carries your key as a bearer token, and x-brand-id names the brand the request acts on. A call to GET /me confirms which organization, brand, and user the key resolves to.
Settings has one personal key that serves both the REST API and the MCP server. You can reveal it, copy it, and rotate it. Rotating takes effect immediately, so anything still using the old key stops working.
No. Requests run as the person who created the key and inherit their role, so a key made by someone who cannot publish still cannot publish. Deactivate that person and the key stops working.
Each route declares the scope it needs: posts:read, posts:write, media:write, analytics:read, brands:read, or mcp:use. A request without that scope is refused with a 403 naming the scope it was missing.
Yes. Add an entry to posts[] for each connected account, each with its own content and its own settings.__type. The response comes back with one post id per account.
Traffic is throttled per API key, and going over returns 429. The reference documentation carries the current numbers.
ONE KEY, TWO HEADERS
Join the waitlist for a REST API that reaches eight networks from one endpoint, under the permissions you already set.
We will email you about early access. Joining does not start a subscription.
Browse worked examplesGrow your social media presence with Postally. Schedule, analyze, and engage with your audience.
Join the waitlist