Authentication
Every call to the API goes to https://app.postbroad.com/v1 and carries an API key in the
Authorization header. Agents that use the MCP server sign in in the browser instead; see
MCP and agents below.
curl https://app.postbroad.com/v1/brands \
-H "Authorization: Bearer $POSTBROAD_TOKEN"#Make an API key
Keys are made and revoked only by a person signed in to the app, under Settings, API. A key, an agent or a connected app can never make another key, whatever it is allowed to do.
The key looks like prk_<organization>.<id>.<secret>. It is shown once, when it is made, and
Postbroad keeps only a hash of it, so store it in your secret manager straight away. If it is lost,
make a new one and revoke the old one.
#What a key may do
A key belongs to one organization and acts inside it only. When you make it you choose:
| Setting | Meaning |
|---|---|
| Kind | personal acts as you, narrowed by the settings below. service holds only the scopes you list and keeps working when people leave. |
| Scopes | What the key may do, from the list below. Empty on a personal key means everything you can do. A key never carries a scope its creator lacks. |
| Brands | The brands the key may touch. Empty means every brand you reach. |
| Read only | Refuses every write, whatever the scopes say. |
| IP allowlist | Single addresses or CIDR blocks. Empty allows every address. |
| Expiry | 90 days unless you choose another date or no expiry. |
Give each integration its own key with the fewest scopes and brands it needs. Then one leaked key can do little, and revoking it stops one integration only. A key has no Approve or Autopilot mode: those are the modes of an agent, and a key never approves a post.
#Scopes
The scopes a key can hold, 25 in all. A route without a scope can be called by any key of the organization, within the key's brands.
| Scope | Operations | For example |
|---|---|---|
analytics.export | 4 | Queue a CSV or JSON export of brand metrics |
analytics.read | 2 | Matching posts ordered by scheduled time or verified network results |
audit.read | 6 | Check a bounded snapshot of the organization audit chain |
brand.create | 3 | Create a brand |
brand.manage | 3 | Change a brand's settings, voice or rules |
brand.settings | 4 | Connect a link shortener to the brand, or change it |
channel.manage | 2 | Rename a channel or choose its preferred connection |
connection.manage | 10 | Register an own app; the secret is write-only |
content.read | 19 | List the signed-in member's MCP grants |
extension.post | 5 | The browser extension checks in |
media.manage | 3 | Change alt text, folder or tags |
media.upload | 5 | Start an upload: a pending session (1 h) and where to send the bytes |
org.delete | 2 | The Owner hands the organization to another member and becomes an Admin |
org.manage | 1 | Rename the organization or change its kind (labels and sidebar only) |
post.approve | 2 | Record an eligible human review decision |
post.create | 4 | Find accounts, roles or pages a post to this channel can tag |
post.delete | 1 | Delete a post that has not gone out; unsent destinations are cancelled first |
post.delete_remote | 1 | Delete a sent post from its network; this cannot be undone |
post.draft | 5 | Read an article once and draft a post for each of the brand's networks |
post.edit | 2 | Edit a post; a scheduled post gets a new version |
post.publish | 7 | Publish now with a preview receipt made in publish_now mode |
post.schedule | 13 | Effective payload, preflight and cost per destination, with a signed receipt |
post.submit | 1 | Revoke a review link and its browser sessions |
token.manage | 1 | Create an API key; the secret is in this answer only |
webhook.manage | 10 | List webhook endpoints |
The scope each endpoint needs is in the Scope column of the API reference.
#Answers when it fails
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthenticated | No key, a malformed key, or a key that is revoked or expired. |
| 403 | forbidden | The key is valid but may not do this: a missing scope, a brand outside its list, or a read only key on a write. |
| 404 | not_found | The object does not exist, or it belongs to a brand or organization the key cannot see. Postbroad does not say which. |
Every error is application/problem+json; the error catalogue lists every code.
#Headers you send
| Header | When | Meaning |
|---|---|---|
Authorization: Bearer <key> | every call | The API key. |
Idempotency-Key | writes | A unique value per intended action. Repeating a call with the same key returns the first answer, so a retry never creates a second post. |
Postbroad-Version | optional | Pins the API version. See versioning. |
If-None-Match | optional, reads | Returns 304 Not Modified when the object has not changed. |
Every answer carries a Request-Id header. Quote it when you contact support. How keys are stored
is on the security page.
#Revoke a key
Revoke a key in Settings, API. The next call with it answers 401. Revoking does not touch
posts the key already made or scheduled.
#MCP and agents
An agent connected through the MCP server signs in in the browser and gets a
grant for the brands the person picks, not a key. The person sees and ends every grant in the app,
and DELETE /v1/mcp/grants/{grantId} ends one through the API. Limits per key are on the
rate limits page.
Last generated 23 Nov 2026, from the contracts the API runs on.