Overview
The SoPresence API lets your own software do what the SoPresence apps do: set up brands, have the AI draft posts, send them for approval, schedule and publish them, read comments, and be told when things happen. Everything the apps can do goes through this same API, and nothing is published without the approvals you set up.
Base address: https://api.sopresence.com/v1. Requests and responses are JSON. The path starts with /v1; changes that add things do not change the version, and anything that would break existing code will arrive as /v2.
Every request is limited to one organisation. A key for one organisation can never read or change another one, and asking for something outside your organisation gets the same "not found" as something that does not exist.
Authentication
Servers authenticate with an organisation API key sent as a bearer token. An owner or admin creates keys in the web app under Developers. The full key is shown once; we keep only a keyed hash, so a lost key cannot be recovered, only replaced.
curl https://api.sopresence.com/v1/brands \
-H "Authorization: Bearer sos_live_XXXXXXXXXXXX_..."- A key belongs to one organisation, so you do not send X-Org-Id.
- A key has an explicit list of permissions (for example content:read, content:create). It can never hold a permission its creator does not, and it stops working if the creator loses it.
- Keys expire (you choose how soon) and can be revoked at any time.
- Some actions need a person at a keyboard and refuse API keys: creating API keys or webhooks, and anything that asks for a second factor.
- Keep keys on your server. Never put one in a web page or a phone app.
Errors, limits and safe retries
Every error has the same shape. The code is stable and meant for your code; the message is meant for people. Quote the requestId if you contact support.
{
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [{ "path": "platforms", "message": "Too small" }],
"requestId": "3f2a9c1e-..."
}
}| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is not valid in a way validation did not describe |
| 401 | unauthenticated | Missing, wrong, expired or revoked key |
| 403 | forbidden | The key lacks the permission, or the action needs a person |
| 404 | not_found | It does not exist, or it is not in your organisation |
| 409 | conflict | The request clashes with the current state (for example scheduling something not yet approved) |
| 412 | precondition_failed | The item changed since the version you sent in If-Match |
| 422 | validation_failed | A field is missing or invalid; details lists each one |
| 429 | rate_limited | Too many requests; wait and retry |
| 502/503 | provider_error, ai_unavailable | A platform or the AI service is unavailable; retry later |
Limits: 300 requests a minute per API key (and 600 a minute per address). Use exponential backoff on 429 and 5xx.
Idempotency: send an Idempotency-Key header (8 to 100 letters, digits, - or _) on any request that changes something. If a request is repeated with the same key, you get the original response back with the header Idempotent-Replayed: true instead of the work happening twice. A key is remembered for 24 hours and is tied to the exact request: reuse with a different body is an error.
Concurrent edits: items that people can edit carry a version number. Send it back in If-Match when you update or decide on them, so you never overwrite or approve text nobody saw.
Quickstart: from idea to scheduled post
This uses a key with the permissions brand:read, content:create, content:submit, content:approve, content:schedule and ai:use. Replace the placeholders with your own ids.
export KEY="sos_live_XXXXXXXXXXXX_..."
export API=https://api.sopresence.com/v1
# 1. Find the brand
curl -s $API/brands -H "Authorization: Bearer $KEY"
# 2. Ask the AI for drafts, one per platform
curl -s -X POST $API/content/generate \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -H "Idempotency-Key: gen-2026-10-14-001" \
-d '{"brandId":"BRAND_ID","idea":"Three tips for cold brew at home","platforms":["linkedin"],"category":"educational"}'
# 3. Send a draft for approval, then approve it (a person, or a key with content:approve)
curl -s -X POST $API/content/VARIANT_ID/submit -H "Authorization: Bearer $KEY"
curl -s -X POST $API/content/VARIANT_ID/decision \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -H "If-Match: 1" \
-d '{"decision":"approve"}'
# 4. Schedule it on a connected account
curl -s -X POST $API/content/VARIANT_ID/schedule \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"scheduledAt":"2026-10-20T09:00:00Z","accountIds":["ACCOUNT_ID"]}'Your organisation can require approval by a different person than the author, and some categories of content always need approval. Calls that would break those rules are refused with 403 or 409, with a message that says why.
Webhooks
Instead of asking repeatedly, have SoPresence tell your server. Create a webhook in the web app (Developers) or through POST /v1/webhooks with a signed-in session, choose the events, and keep the signing secret that is shown once. Your address must be https and publicly reachable.
| Event | When | data |
|---|---|---|
| content.approved | A person approved a draft | variantId, contentId, brandId, platform, version |
| content.rejected | A draft was rejected | same |
| content.changes_requested | Changes were requested | same |
| content.published | A post went out | variantId, scheduleId, platform, accountId, externalPostId, url, publishedAt |
| content.publish_failed | Publishing failed | variantId, scheduleId, platform, code, message |
| autopilot.drafted | Autopilot drafted posts for approval | brandId, runId, drafted, trigger |
| inbox.comment_received | A new comment arrived | itemId, brandId, platform, accountId |
Events carry ids and status, never the text of posts or comments: fetch the item with the API if you need it. Each delivery is a POST with this body:
{
"id": "9b1c...", // the event id: the same on every retry
"type": "content.published",
"createdAt": "2026-10-14T16:02:11.000Z",
"orgId": "...",
"brandId": "...",
"data": { "variantId": "...", "platform": "linkedin", "url": "https://..." }
}Headers: SoPresence-Event (the type), SoPresence-Delivery (the event id) and SoPresence-Signature: t=<unix seconds>,v1=<hex>. The v1 value is the HMAC-SHA256, with your signing secret as the key, of the text "<t>.<raw request body>". Check it against the raw body (before any JSON parsing), compare in constant time, and reject if t is more than five minutes old.
import { createHmac, timingSafeEqual } from 'node:crypto';
export function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
if (Math.abs(Date.now() / 1000 - Number(parts.t)) > 300) return false;
const expected = createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
return expected.length === parts.v1.length && timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}import hmac, hashlib, time
def verify(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split('=', 1) for p in header.split(','))
if abs(time.time() - int(parts['t'])) > 300:
return False
expected = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts['v1'])- Answer with any 2xx status within 10 seconds. Anything else counts as a failure.
- Delivery is at least once. Use the event id to ignore repeats.
- Failures are retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, and then given up on. If five deliveries to one address are given up on within three days, the webhook is switched off (you can switch it back on).
- Events are not guaranteed to arrive in order. Use createdAt, or fetch the current state.
- We never follow redirects, and we refuse addresses that resolve to private networks.
Permissions
Each operation in the reference below names the permission it needs. A key is created with a chosen subset. Roles in the apps hold fixed sets of the same permissions (viewer, reviewer, editor, manager, admin, owner), and a key can never exceed its creator.
| Permission | owner | admin | manager | editor | reviewer | viewer |
|---|---|---|---|---|---|---|
org:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
org:update | ✓ | ✓ | ||||
org:delete | ✓ | |||||
member:read | ✓ | ✓ | ✓ | |||
member:invite | ✓ | ✓ | ||||
member:update_role | ✓ | ✓ | ||||
member:remove | ✓ | ✓ | ||||
workspace:create | ✓ | ✓ | ||||
workspace:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
workspace:update | ✓ | ✓ | ||||
workspace:delete | ✓ | ✓ | ||||
brand:create | ✓ | ✓ | ✓ | |||
brand:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
brand:update | ✓ | ✓ | ✓ | |||
brand:delete | ✓ | ✓ | ||||
social_account:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
social_account:connect | ✓ | ✓ | ✓ | |||
social_account:disconnect | ✓ | ✓ | ✓ | |||
content:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
content:create | ✓ | ✓ | ✓ | ✓ | ||
content:update | ✓ | ✓ | ✓ | ✓ | ||
content:delete | ✓ | ✓ | ✓ | ✓ | ||
content:submit | ✓ | ✓ | ✓ | ✓ | ||
content:approve | ✓ | ✓ | ✓ | ✓ | ||
content:schedule | ✓ | ✓ | ✓ | |||
content:publish | ✓ | ✓ | ✓ | |||
inbox:read | ✓ | ✓ | ✓ | ✓ | ||
inbox:reply | ✓ | ✓ | ✓ | |||
analytics:read | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
ai:use | ✓ | ✓ | ✓ | ✓ | ||
ai:configure | ✓ | ✓ | ||||
audit:read | ✓ | ✓ | ||||
security:read | ✓ | ✓ | ||||
api_key:manage | ✓ | ✓ | ||||
billing:read | ✓ | ✓ | ||||
publishing:pause | ✓ | ✓ | ✓ | |||
publishing:resume | ✓ | ✓ | ||||
billing:manage | ✓ | |||||
privacy:export | ✓ | ✓ | ||||
privacy:delete | ✓ |
What is not here yet
- There are small clients for TypeScript (Node 18 or newer) and Python (3.9 or newer, standard library only). Both retry safely with one idempotency key per call, give typed errors and check webhook signatures. They are not on a package registry yet: we share them on request. For any other language the API is plain JSON over HTTPS, and /v1/openapi.json can generate a client.
- No white-label branding or per-customer sign-in (SSO) yet.
- Publishing to a platform needs the account to be connected by a person through that platform's own sign-in. Keys cannot connect accounts.
- Facebook, Instagram and card payments are built but wait for the platforms' approval; LinkedIn is the live network.
Reference
Built from the live route table, so it matches what the API does. The same description, for code generators and API clients, is at /v1/openapi.json.
Content
| Method | Path | Permission |
|---|---|---|
| GET | /v1/contentList content variants for a brand Query: brandId, status?, platform? | content:read |
| DELETE | /v1/content/{id}Archive a variant (not allowed once scheduled or published) | content:delete |
| GET | /v1/content/{id}Content detail: quality report, versions, approvals, comments, publishing attempts | content:read |
| PATCH | /v1/content/{id}Edit a variant (new version; resets approval; re-runs quality checks) Body: body: stringhashtags?: string[]mediaNotes?: string | content:update |
| POST | /v1/content/{id}/briefsAdd a photo set or a video script to this post's idea Body: kind: "photo_set" | "video_script"platform?: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business" | content:create |
| DELETE | /v1/content/{id}/briefs/{briefId}Delete a brief | content:update |
| POST | /v1/content/{id}/cardDraw a branded card from this post's opening line and attach it as the picture (only when the post has none) | content:update |
| POST | /v1/content/{id}/commentsComment on content (collaboration) Body: body: string | content:read |
| GET | /v1/content/{id}/creator-infoWhat the connected account on this post's platform may do (TikTok: nickname and the visibility choices it has), to build the posting form | content:read |
| POST | /v1/content/{id}/duplicateDuplicate a variant as a new draft | content:create |
| POST | /v1/content/{id}/mediaAdd a photo (PNG, JPG, GIF) or an MP4 video to a post (multipart field "file", optional "altText" for images). A post has up to 20 images or one video. Counts as an edit: approval is reset | content:update |
| DELETE | /v1/content/{id}/media/{mediaId}Remove a photo or video from a post. Counts as an edit: approval is reset | content:update |
| PATCH | /v1/content/{id}/media/{mediaId}Describe an image for people who cannot see it (alt text). Counts as an edit: approval is reset Body: altText: string | content:update |
| PUT | /v1/content/{id}/media/orderSet the order of the media on a post (every item exactly once). Counts as an edit: approval is reset Body: mediaIds: string[] | content:update |
| PUT | /v1/content/{id}/platform-optionsSave the choices a platform requires for this post (TikTok: who can see it, comments, duet, stitch, commercial disclosure). Counts as an edit: approval is reset Body: tiktok?: objectyoutube?: object | content:update |
| POST | /v1/content/{id}/regenerateRegenerate a variant with an optional instruction Body: instruction?: string | content:update |
| GET | /v1/content/{id}/setAll the versions of this post's idea (one per platform) with their status and where each can be published | content:read |
| POST | /v1/content/{id}/set/captionUse this version's caption and hashtags on the other versions, cut to each platform's limits | content:update |
| POST | /v1/content/captureCapture: turn photos or a video (multipart "files", plus brandId, platforms, optional note) into drafts. Photos are shown to the AI; the files are attached to each draft | content:create |
| POST | /v1/content/from-urlTurn a public web page into platform-native drafts (the page is read through the SSRF guard and treated as data) Body: brandId: stringurl: stringplatforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]category?: "educational" | "evergreen" | "community" | "behind_the_scenes" | "thought_leadership" | "product" | "promotional" | "product_launch" | "pricing" | "legal" | "financial" | "medical" | "testimonial" | "sensitive" | "news" | content:create |
| POST | /v1/content/generateGenerate platform-native drafts from one idea (AI, grounded in BrandBrain, quality-checked) Body: brandId: stringidea: stringplatforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]objective?: "generate_leads" | "increase_sales" | "website_traffic" | "awareness" | "grow_followers" | "build_authority" | "promote_products" | "promote_events" | "engagement" | "personal_brand" | "product_launch"pillar?: stringcategory?: "educational" | "evergreen" | "community" | "behind_the_scenes" | "thought_leadership" | "product" | "promotional" | "product_launch" | "pricing" | "legal" | "financial" | "medical" | "testimonial" | "sensitive" | "news"format?: "text_post" | "image_post" | "carousel" | "short_video" | "long_video" | "thread" | "article" | "story" | content:create |
| GET | /v1/content/image-guideThe shapes and sizes each platform wants for photos (with where each figure comes from), used by "fit to platform" | content:read |
| POST | /v1/content/packOne idea (or web page) to every format: text posts for each platform plus a photo set and a video script Body: brandId: stringidea?: stringurl?: stringplatforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]category?: "educational" | "evergreen" | "community" | "behind_the_scenes" | "thought_leadership" | "product" | "promotional" | "product_launch" | "pricing" | "legal" | "financial" | "medical" | "testimonial" | "sensitive" | "news"briefs?: "photo_set" | "video_script"[] | content:create |
Autopilot
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/autopilotAutopilot settings and status: planned times, drafts waiting for approval, recent runs, and the accounts it may publish to | brand:read |
| PUT | /v1/brands/{brandId}/autopilotSave the Autopilot plan (days, time, platforms, publishing accounts). Does not turn it on Body: weekdays: integer[]postTime: stringplatforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]accountIds: string[]planAheadDays?: integermaxPending?: integerformat?: "text" | "tip_card"tipTopics?: string[] | ai:configure |
| PUT | /v1/brands/{brandId}/autopilot/auto-modeSwitch automatic mode on or off: Autopilot approves and schedules its own posts, within a daily limit and with a hold before publishing. Needs "publish content" on for the AI Body: enabled: booleandailyCap?: integerholdMinutes?: integer | ai:configureneeds a person (no API keys) |
| POST | /v1/brands/{brandId}/autopilot/disableTurn Autopilot off. Drafts already made are kept | ai:configure |
| POST | /v1/brands/{brandId}/autopilot/enableTurn Autopilot on. The AI drafts posts on the plan and sends them for approval; nothing publishes without approval | ai:configureneeds a person (no API keys) |
| POST | /v1/brands/{brandId}/autopilot/resumeResume after Autopilot stopped itself (failed runs, or a disconnected account) | ai:configure |
| POST | /v1/brands/{brandId}/autopilot/runDraft now instead of waiting for the next run (same limits as a scheduled run) | content:create |
Inbox
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/inboxComments on published posts, sorted by priority, with the AI's category and a suggested reply for a person to review Query: status? | inbox:read |
| POST | /v1/brands/{brandId}/inbox/syncCheck for new comments now | inbox:read |
| POST | /v1/inbox/{id}/dismissMark a comment as not needing a reply | inbox:reply |
| POST | /v1/inbox/{id}/replySend a reply as the connected account. The text is what the person approved; nothing is sent automatically Body: text: string | inbox:reply |
| POST | /v1/inbox/{id}/suggestWrite a fresh suggested reply for a comment (AI) | inbox:read |
Campaigns
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/campaignsCampaigns for a brand, with how many posts are planned, scheduled and published | content:read |
| POST | /v1/brands/{brandId}/campaignsCreate a campaign (name, goal and dates) Body: name: stringobjective?: stringstartsOn: stringendsOn: string | content:create |
| GET | /v1/campaigns/{id}A campaign and its posts, with the time each was planned for | content:read |
| PATCH | /v1/campaigns/{id}Rename, change the goal of, or archive a campaign Body: name?: stringobjective?: stringstatus?: "draft" | "active" | "archived" | content:create |
| POST | /v1/campaigns/{id}/planDraft a spread of posts across the campaign dates (AI). Nothing is submitted, approved or scheduled Body: posts?: integerplatforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]postTime?: string | content:create |
Research
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/watchFollowed competitor and industry feeds and what they published recently | brand:read |
| POST | /v1/brands/{brandId}/watchFollow a public website or RSS/Atom feed (read through the SSRF guard; nothing is scraped from social networks) Body: name: stringurl: stringkind: "competitor" | "industry" | brand:update |
| POST | /v1/brands/{brandId}/watch/checkCheck the followed feeds for new posts now | brand:update |
| GET | /v1/brands/{brandId}/watch/digestThe latest research digest: themes in what others published, and original post ideas | brand:read |
| POST | /v1/brands/{brandId}/watch/digestMake a new research digest from recent posts (AI; describes what was published, makes no claims about performance) | content:create |
| DELETE | /v1/watch/{id}Stop following a source | brand:update |
Brands
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brandsBrands you can access | brand:read |
| POST | /v1/brandsCreate a brand in a workspace Body: workspaceId: stringname: string | brand:create |
| GET | /v1/brands/{brandId}Brand with its BrandBrain, settings, strategy and preferences | brand:read |
| GET | /v1/brands/{brandId}/page-kitDraft name, tagline and About text for creating a company page, from the brand profile | brand:read |
| PATCH | /v1/brands/{brandId}/settingsUpdate automation level, AI permissions, approval policy and guardrails Body: automationLevel?: "manual" | "assisted" | "autopilot"aiCapabilities?: "READ_BRAND_DATA" | "CREATE_DRAFT" | "EDIT_DRAFT" | "CREATE_CAMPAIGN" | "READ_ANALYTICS" | "CREATE_SCHEDULE" | "PUBLISH_CONTENT" | "DELETE_CONTENT" | "RESPOND_TO_MESSAGE"[]approvalPolicy?: objectmaxPostsPerPlatformPerDay?: integertimezone?: stringpreferredPlatforms?: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]videoVoice?: "ava" | "ben" | "cleo" | "dan" | "eve" | "finn"autoPictures?: "off" | "instagram" | "instagram_facebook"cardColor?: string | brand:update |
Social
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/page-setup/{platform}Saved page details for a brand, prefilled from its profile, with what is still missing | brand:read |
| PUT | /v1/brands/{brandId}/page-setup/{platform}Save the page details (partial saves allowed) | social_account:connect |
| POST | /v1/brands/{brandId}/page-setup/{platform}/confirmRecord that the person created the page on the platform Body: pageUrl?: string | social_account:connect |
| POST | /v1/brands/{brandId}/page-setup/{platform}/createCreate the page: sent to the platform when it has an API for that, otherwise returns the details to paste and where | social_account:connect |
| GET | /v1/social/page-setup/{platform}The fields a platform requires to create a company or brand page, and whether SoPresence can create it or the person must | social_account:read |
| POST | /v1/social/setup-check/{platform}Where are you starting from? Plain questions about the person's account on a platform; once answered, what to do next and which pitfalls apply Body: answers?: object | social_account:read |
| POST | /v1/social/setup-orderThe order to set several platforms up in: what a platform needs (a Facebook Page for Instagram) comes first and is added if not chosen Body: platforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[] | social_account:read |
Assets
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/assetsBrand asset library | brand:read |
| POST | /v1/brands/{brandId}/assetsUpload an asset (multipart field "file"; ?kind=logo|image|video|document|guideline|other) | brand:update |
| DELETE | /v1/brands/{brandId}/assets/{assetId}Delete an asset | brand:update |
| GET | /v1/brands/{brandId}/assets/{assetId}/downloadDownload an asset (always as an attachment) | brand:read |
| GET | /v1/public-media/{token}Short-lived signed address for one file, used by platforms that fetch media themselves | none |
Calendar
| Method | Path | Permission |
|---|---|---|
| GET | /v1/content/calendarCalendar feed (scheduled + unscheduled content) Query: brandId, from, to | content:read |
Analytics
| Method | Path | Permission |
|---|---|---|
| GET | /v1/analytics/overviewMeasured performance: totals, followers, by platform/pillar/format, best and worst posts Query: brandId, days? | analytics:read |
| GET | /v1/analytics/summaryAI performance summary: what happened (facts), why it may have happened, what to do next Query: brandId, days? | analytics:read |
Webhooks
| Method | Path | Permission |
|---|---|---|
| GET | /v1/webhooksList webhooks (signing secrets are never returned) | api_key:manage |
| POST | /v1/webhooksCreate a webhook. The signing secret is shown once Body: url: stringdescription?: stringevents: "content.approved" | "content.rejected" | "content.changes_requested" | "content.published" | "content.publish_failed" | "autopilot.drafted" | "inbox.comment_received"[]brandId?: string | api_key:manageneeds a person (no API keys) |
| DELETE | /v1/webhooks/{id}Delete a webhook | api_key:manage |
| PATCH | /v1/webhooks/{id}Switch a webhook on or off Body: enabled: boolean | api_key:manage |
| GET | /v1/webhooks/{id}/deliveriesThe last 50 deliveries to a webhook and how each went | api_key:manage |
| POST | /v1/webhooks/{id}/testSend a test event (ping) to a webhook now | api_key:manage |
| GET | /v1/webhooks/eventsThe events a webhook can subscribe to | api_key:manage |
API keys
| Method | Path | Permission |
|---|---|---|
| GET | /v1/api-keysList API keys (secrets are never returned) | api_key:manage |
| POST | /v1/api-keysCreate an API key (shown once) Body: name: stringpermissions: "org:read" | "org:update" | "org:delete" | "member:read" | "member:invite" | "member:update_role" | "member:remove" | "workspace:create" | "workspace:read" | "workspace:update" | "workspace:delete" | "brand:create" | "brand:read" | "brand:update" | "brand:delete" | "social_account:read" | "social_account:connect" | "social_account:disconnect" | "content:read" | "content:create" | "content:update" | "content:delete" | "content:submit" | "content:approve" | "content:schedule" | "content:publish" | "inbox:read" | "inbox:reply" | "analytics:read" | "ai:use" | "ai:configure" | "audit:read" | "security:read" | "api_key:manage" | "billing:read" | "publishing:pause" | "publishing:resume" | "billing:manage" | "privacy:export" | "privacy:delete"[]expiresInDays?: integer | api_key:manageneeds a person (no API keys) |
| DELETE | /v1/api-keys/{id}Revoke an API key | api_key:manage |
Portfolio
| Method | Path | Permission |
|---|---|---|
| GET | /v1/portfolioEvery brand you can reach in one view: what needs attention, what is going out, what was published lately | brand:read |
Billing
| Method | Path | Permission |
|---|---|---|
| POST | /v1/billing/checkoutStart a card subscription: returns the address of Stripe's hosted payment page Body: plan: "starter" | "growth" | "pro" | "agency"period?: "monthly" | "yearly"country: string | billing:manage |
| GET | /v1/billing/entitlementCurrent plan and where it came from (same on every device) | billing:read |
| POST | /v1/billing/notifications/{platform}Store server notification webhook (signature verified) | none |
| GET | /v1/billing/plansPlans and the store products that unlock them | billing:read |
| POST | /v1/billing/portalOpen Stripe's page to change card, switch plan or cancel | billing:manage |
| GET | /v1/billing/pricingPlan prices for a country (two-letter code, default GB), with the price band that applies | billing:read |
| POST | /v1/billing/redeemSend an in-app purchase receipt for server verification and apply the plan Body: platform: "ios" | "android" | "mock"receipt: string | billing:manage |
| POST | /v1/billing/stripe/webhookStripe webhook (signature verified) | none |
| POST | /v1/billing/video-packBuy a pack of video credits: returns the address of Stripe's hosted payment page Body: credits: integer | billing:manage |
Approvals
| Method | Path | Permission |
|---|---|---|
| GET | /v1/content/{id}/approversColleagues who can approve this post (to ask one of them) | content:submit |
| POST | /v1/content/{id}/decisionApprove, request changes or reject Body: decision: "approve" | "request_changes" | "reject"comment?: string | content:approve |
| POST | /v1/content/{id}/set/approveSubmit and approve every version of this idea (each is checked on its own) | content:approve |
| POST | /v1/content/{id}/submitSubmit a draft for approval, optionally asking one colleague to approve it Body: askUserId?: stringnote?: string | content:submit |
| GET | /v1/content/approvalsMobile approval queue: posts in review across your brands, oldest first, cursor-paged Query: limit?, cursor? | content:approve |
Assistant
| Method | Path | Permission |
|---|---|---|
| GET | /v1/assistant/actionsExplainable log of AI actions (what, why, information used, what next) Query: brandId | brand:read |
| POST | /v1/assistant/actions/{id}/confirmConfirm an action the assistant proposed | ai:use |
| GET | /v1/assistant/historyYour recent conversation with the assistant for a brand Query: brandId | ai:use |
| POST | /v1/assistant/messagesTalk to Social Copilot (natural-language control) Body: brandId: stringmessage: string | ai:use |
Auth
| Method | Path | Permission |
|---|---|---|
| POST | /v1/auth/ai-consentAgree to (or withdraw from) sending your text to the AI providers. The phone app asks before any AI feature runs. Body: accept: boolean | any signed-in key |
| GET | /v1/auth/csrfCSRF token for this session (send as X-CSRF-Token on unsafe requests) | any signed-in key |
| POST | /v1/auth/logoutSign out of this session | any signed-in key |
| POST | /v1/auth/magic-linkRequest a passwordless sign-in link (always 202; no account enumeration) Body: email: string | none |
| POST | /v1/auth/magic-link/verifyExchange a magic-link token for a session (or an MFA challenge) Body: token: string | none |
| GET | /v1/auth/meCurrent user, memberships and effective permissions | any signed-in key |
| POST | /v1/auth/mfa/totp/confirmConfirm MFA setup with a code; other sessions are signed out Body: code: string | any signed-in key |
| POST | /v1/auth/mfa/totp/setupStart authenticator-app MFA setup | any signed-in key |
| POST | /v1/auth/mfa/verifyComplete sign-in with a TOTP code Body: challengeId: stringcode: string | none |
| POST | /v1/auth/passkeys/login/optionsBegin passkey sign-in | none |
| POST | /v1/auth/passkeys/login/verifyComplete passkey sign-in Body: challengeId: stringresponse: object | none |
| POST | /v1/auth/passkeys/register/optionsBegin adding a passkey | any signed-in key |
| POST | /v1/auth/passkeys/register/verifyFinish adding a passkey Body: response: objectname?: string | any signed-in key |
| GET | /v1/auth/sessionsActive sessions (device management) | any signed-in key |
| DELETE | /v1/auth/sessions/{id}Revoke one of your sessions | any signed-in key |
| POST | /v1/auth/sessions/revoke-othersSign out everywhere else | any signed-in key |
| GET | /v1/auth/sso/callbackWhere the identity provider sends the person back; finishes sign-in and redirects to the app | none |
| GET | /v1/auth/sso/domain-hintWhether an organisation has proved it owns your email domain, so you can ask for an invitation instead of creating a second organisation | any signed-in key |
| POST | /v1/auth/sso/startWhether an email address signs in with single sign-on, and the address to send the person to Body: email: string | none |
Auth (mobile)
| Method | Path | Permission |
|---|---|---|
| GET | /v1/auth/app-linkMobile: open an emailed sign-in link in the app, or offer the App Store / the website when the app is not installed (email clients do not open custom schemes directly) | none |
| POST | /v1/auth/native/magic-link/verifyMobile: exchange a magic-link token for an access + refresh token pair (or an MFA challenge) Body: token: stringdevice: object | none |
| POST | /v1/auth/native/mfa/verifyMobile: complete sign-in with a TOTP code Body: challengeId: stringcode: stringdevice: object | none |
| POST | /v1/auth/native/refreshMobile: rotate the refresh token and get a new access token. A reused refresh token revokes the session. Body: refreshToken: string | none |
| POST | /v1/auth/native/review-loginMobile, App Store review only: sign in the one configured demo account with its review code. Answers 404 unless the server has it switched on. Body: email: stringcode: stringdevice: object | none |
| POST | /v1/auth/sso/native/exchangePhone: exchange the one-time code from the app link, with the secret from the start, for access and refresh tokens Body: code: stringsecret: stringdevice: object | none |
| POST | /v1/auth/sso/native/startPhone: whether an email address signs in with single sign-on; returns the address to open and a secret to keep for the exchange Body: email: string | none |
BrandBrain
| Method | Path | Permission |
|---|---|---|
| POST | /v1/brands/{brandId}/onboardingAnalyse onboarding answers, website and materials to build the BrandBrain Body: businessName: stringwhatYouSell?: stringproblemSolved?: stringcustomers?: stringlocations?: stringdifferentiators?: stringobjectives?: "generate_leads" | "increase_sales" | "website_traffic" | "awareness" | "grow_followers" | "build_authority" | "promote_products" | "promote_events" | "engagement" | "personal_brand" | "product_launch"[]platforms?: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]websiteUrl?: stringmaterials?: string[] | brand:update |
| POST | /v1/brands/{brandId}/preferencesAdd a structured content preference (preference memory) Body: statement: string | brand:update |
| DELETE | /v1/brands/{brandId}/preferences/{id}Remove a preference | brand:update |
| PUT | /v1/brands/{brandId}/profileSave an edited BrandBrain (creates a new version) Body: profile: objectchangeNote?: string | brand:update |
| GET | /v1/brands/{brandId}/profile/historyBrandBrain version history | brand:read |
Config
| Method | Path | Permission |
|---|---|---|
| GET | /v1/configRemote config and feature flags for this user, organisation and client (web, ios, android) | org:read |
| PUT | /v1/config/flags/{key}Override a feature flag for this organisation (enabled: null clears the override) Body: enabled: boolean | org:update |
Dashboard
| Method | Path | Permission |
|---|---|---|
| GET | /v1/dashboardCommand Centre: today, upcoming, approvals, performance, recommendations Query: brandId, tz? | brand:read |
Learning
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brands/{brandId}/learningStyle suggestions learned from how drafts were edited before approval (counts as evidence; no claims about performance) | brand:read |
| POST | /v1/brands/{brandId}/learning/acceptAccept a suggestion: it becomes a style preference used when drafting Body: key: string | brand:update |
| POST | /v1/brands/{brandId}/learning/dismissTurn down a suggestion so it is not offered again Body: key: string | brand:update |
Notifications
| Method | Path | Permission |
|---|---|---|
| GET | /v1/links/resolveResolve a deep link (screen + id) after authentication; 404 if you may not see it | org:read |
| GET | /v1/notificationsYour notifications | org:read |
| GET | /v1/notifications/preferencesWhich notification categories send you a push (security alerts are always on) | org:read |
| PUT | /v1/notifications/preferencesChoose which notification categories send you a push Body: preferences: object | org:read |
| POST | /v1/notifications/readMark notifications as read Body: ids: string[] | "all" | org:read |
| DELETE | /v1/push/devicesMobile: stop push notifications for this device | any signed-in key |
| POST | /v1/push/devicesMobile: register this device for push notifications (bound to the current session) Body: token: stringplatform: "ios" | "android" | any signed-in key |
Organisations
| Method | Path | Permission |
|---|---|---|
| POST | /v1/invitations/acceptAccept an invitation sent to your email Body: token: string | any signed-in key |
| GET | /v1/organisationCurrent organisation, plan and settings | org:read |
| PATCH | /v1/organisationUpdate organisation name and security/AI/retention settings Body: name?: stringsettings?: object | org:updateneeds a person (no API keys) |
| POST | /v1/organisationsCreate an organisation (you become its owner) Body: name: stringkind?: "business" | "individual" | "creator" | "agency" | any signed-in key |
| GET | /v1/workspacesWorkspaces you can access | workspace:read |
| POST | /v1/workspacesCreate a workspace Body: name: string | workspace:create |
Privacy
| Method | Path | Permission |
|---|---|---|
| POST | /v1/privacy/exportExport all organisation data (portability) | privacy:exportneeds a person (no API keys) |
| DELETE | /v1/privacy/meDelete your own account: erases your personal data in every organisation, ends all sessions and anonymises your sign-in. Refused while you are the only owner of an organisation with other people, or of one with a paid subscription. Body: confirmEmail: string | any signed-in keyneeds a person (no API keys) |
| DELETE | /v1/privacy/organisationDelete the organisation (30-day grace period, then permanent purge) Body: confirmName: string | org:deleteneeds a person (no API keys) |
| GET | /v1/privacy/processingData processing record: what is processed, where, retention, AI providers, training use | org:read |
| POST | /v1/privacy/subject-requestsHandle a data-subject access or erasure request for a member Body: email: stringkind: "export" | "delete" | privacy:exportneeds a person (no API keys) |
Publishing
| Method | Path | Permission |
|---|---|---|
| POST | /v1/content/{id}/publish-nowPublish approved content as soon as possible, to one or more connected accounts Body: accountIds?: string[] | content:publish |
| POST | /v1/content/{id}/retryRetry failed destinations of a post (all, or one account); same idempotency key Body: accountId?: string | content:publish |
| DELETE | /v1/content/{id}/scheduleUnschedule a post | content:schedule |
| PATCH | /v1/content/{id}/scheduleMove a scheduled post (drag and drop) Body: scheduledAt: string | content:schedule |
| POST | /v1/content/{id}/scheduleSchedule approved content (anti-spam and duplicate guardrails apply) Body: scheduledAt: stringaccountIds?: string[] | content:schedule |
| POST | /v1/content/{id}/set/publishPublish every approved version to its platform's connected account, now or at a time Body: scheduledAt?: string | content:publish |
| POST | /v1/publishing/pauseEmergency: pause all publishing for the organisation (requires confirm: true) Body: confirm: truereason?: string | publishing:pauseneeds a person (no API keys) |
| POST | /v1/publishing/resumeResume publishing after a pause (requires confirm: true) Body: confirm: true | publishing:resumeneeds a person (no API keys) |
| GET | /v1/publishing/statusIs publishing paused for this organisation? | content:read |
Security
| Method | Path | Permission |
|---|---|---|
| GET | /v1/security/audit-logSearchable, tamper-evident audit trail Query: action?, actorType?, resourceId?, q?, before?, limit? | audit:read |
| GET | /v1/security/audit-log/verifyVerify the audit hash chain has not been tampered with | audit:read |
| GET | /v1/security/eventsSecurity alerts for this organisation | security:read |
Single sign-on
| Method | Path | Permission |
|---|---|---|
| DELETE | /v1/ssoRemove single sign-on and its domains | org:updateneeds a person (no API keys) |
| GET | /v1/ssoSingle sign-on settings, the domains and the DNS records to add (the client secret is never returned) | org:update |
| PATCH | /v1/ssoSwitch single sign-on on or off, and require it for the verified domains Body: enabled?: booleanenforce?: boolean | org:updateneeds a person (no API keys) |
| PUT | /v1/ssoSave the OpenID Connect provider (issuer, client id and secret) Body: issuer: stringclientId: stringclientSecret?: stringdefaultRole?: "viewer" | "reviewer" | "editor" | "manager" | org:updateneeds a person (no API keys) |
| POST | /v1/sso/domainsAdd an email domain to prove ownership of Body: domain: string | org:update |
| DELETE | /v1/sso/domains/{domain}Remove a domain | org:updateneeds a person (no API keys) |
| POST | /v1/sso/domains/{domain}/verifyCheck the DNS record and verify the domain | org:update |
Social accounts
| Method | Path | Permission |
|---|---|---|
| DELETE | /v1/social/accounts/{id}Disconnect an account (revokes and deletes tokens, cancels pending posts) | social_account:disconnect |
| POST | /v1/social/accounts/{id}/moveMove a connected account to another brand of the organisation (it was connected to the wrong one). Waiting posts for it are cancelled Body: brandId: string | social_account:connect |
| GET | /v1/social/brands/{brandId}/accountsConnected accounts for a brand (tokens are never returned) | social_account:read |
| GET | /v1/social/brands/{brandId}/healthSocial Account Health dashboard data | social_account:read |
| POST | /v1/social/connectStart OAuth connection (returns the provider authorisation URL) Body: brandId: stringplatform: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"accountType?: "personal" | "page" | social_account:connect |
| GET | /v1/social/oauth/callback/{platform}OAuth callback (browser redirect) | any signed-in key |
| GET | /v1/social/pending/{id}Pages offered after a company-page sign-in (only the member and session that signed in) | social_account:connect |
| POST | /v1/social/pending/{id}/selectConnect the chosen company pages Body: externalIds: string[] | social_account:connect |
| POST | /v1/social/platform/{app}/data-deletionMeta data deletion request callback (signed_request verified): disconnects and erases what we hold from the platform; returns a status address and confirmation code | none |
| POST | /v1/social/platform/{app}/deauthorizeMeta deauthorize callback (signed_request verified): disconnects the person's accounts and deletes their tokens | none |
| GET | /v1/social/platform/requests/{code}Progress of a platform deauthorize or deletion request, by its confirmation code | none |
| GET | /v1/social/providersAvailable social providers and their capabilities (mock providers are labelled) | social_account:read |
Strategy
| Method | Path | Permission |
|---|---|---|
| POST | /v1/brands/{brandId}/strategyGenerate a social media strategy from the BrandBrain Body: platforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]days?: integer | ai:use |
Sync
| Method | Path | Permission |
|---|---|---|
| GET | /v1/sync/changesContent and schedule changes since a cursor (for multi-device sync) Query: brandId, cursor?, limit? | content:read |
Team
| Method | Path | Permission |
|---|---|---|
| GET | /v1/membersOrganisation members | member:read |
| DELETE | /v1/members/{id}Remove a member | member:removeneeds a person (no API keys) |
| PATCH | /v1/members/{id}Change a member role or workspace scope Body: role: "owner" | "admin" | "manager" | "editor" | "reviewer" | "viewer"workspaceIds?: string[] | member:update_roleneeds a person (no API keys) |
| POST | /v1/members/invitationsInvite a member (role cannot exceed your own) Body: email: stringrole: "owner" | "admin" | "manager" | "editor" | "reviewer" | "viewer"workspaceIds?: string[] | member:invite |
Video
| Method | Path | Permission |
|---|---|---|
| GET | /v1/content/{id}/videoVideo status for a post: what a video costs, your credits, the voices and the latest video job | content:read |
| POST | /v1/content/{id}/videoMake a video from the post's script or photo set (one click). Reserves credits, then a worker makes it and adds it to the post; approval is reset when it lands Body: voiceId?: "ava" | "ben" | "cleo" | "dan" | "eve" | "finn"textOnScreen?: booleanbriefId?: string | content:update |
| POST | /v1/content/{id}/video/{jobId}/cancelCancel a video that has not started yet (credits are returned) | content:update |
| GET | /v1/video/creditsVideo credits: this month's plan allowance, bought credits, and the packs on offer | content:read |
| GET | /v1/video/voicesThe stock voices for video voiceovers, with the address of a sample of each (empty when voices are not switched on) | content:read |
| GET | /v1/video/voices/{voiceId}/sampleHear a voice: a short audio sample, made once and kept | content:read |
White-label
| Method | Path | Permission |
|---|---|---|
| GET | /v1/brandingThe organisation's own name, colour and logo shown in the app | org:read |
| PUT | /v1/brandingSet the display name, accent colour and logo (PNG or JPEG up to 100 KB) Body: displayName?: stringaccentColor?: stringlogoBase64?: string | org:update |