SoPresence API developer guide

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_..."

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-..."
  }
}
StatusCodeMeaning
400bad_requestThe request is not valid in a way validation did not describe
401unauthenticatedMissing, wrong, expired or revoked key
403forbiddenThe key lacks the permission, or the action needs a person
404not_foundIt does not exist, or it is not in your organisation
409conflictThe request clashes with the current state (for example scheduling something not yet approved)
412precondition_failedThe item changed since the version you sent in If-Match
422validation_failedA field is missing or invalid; details lists each one
429rate_limitedToo many requests; wait and retry
502/503provider_error, ai_unavailableA 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.

EventWhendata
content.approvedA person approved a draftvariantId, contentId, brandId, platform, version
content.rejectedA draft was rejectedsame
content.changes_requestedChanges were requestedsame
content.publishedA post went outvariantId, scheduleId, platform, accountId, externalPostId, url, publishedAt
content.publish_failedPublishing failedvariantId, scheduleId, platform, code, message
autopilot.draftedAutopilot drafted posts for approvalbrandId, runId, drafted, trigger
inbox.comment_receivedA new comment arriveditemId, 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'])

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.

Permissionowneradminmanagereditorreviewerviewer
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

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

MethodPathPermission
GET/v1/content
List 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: string
hashtags?: string[]
mediaNotes?: string
content:update
POST/v1/content/{id}/briefs
Add 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}/card
Draw 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}/comments
Comment on content (collaboration)
Body: body: string
content:read
GET/v1/content/{id}/creator-info
What 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}/duplicate
Duplicate a variant as a new draft
content:create
POST/v1/content/{id}/media
Add 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/order
Set 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-options
Save 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?: object
youtube?: object
content:update
POST/v1/content/{id}/regenerate
Regenerate a variant with an optional instruction
Body: instruction?: string
content:update
GET/v1/content/{id}/set
All 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/caption
Use this version's caption and hashtags on the other versions, cut to each platform's limits
content:update
POST/v1/content/capture
Capture: 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-url
Turn a public web page into platform-native drafts (the page is read through the SSRF guard and treated as data)
Body: brandId: string
url: string
platforms: "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/generate
Generate platform-native drafts from one idea (AI, grounded in BrandBrain, quality-checked)
Body: brandId: string
idea: string
platforms: "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?: string
category?: "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-guide
The shapes and sizes each platform wants for photos (with where each figure comes from), used by "fit to platform"
content:read
POST/v1/content/pack
One idea (or web page) to every format: text posts for each platform plus a photo set and a video script
Body: brandId: string
idea?: string
url?: string
platforms: "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

MethodPathPermission
GET/v1/brands/{brandId}/autopilot
Autopilot settings and status: planned times, drafts waiting for approval, recent runs, and the accounts it may publish to
brand:read
PUT/v1/brands/{brandId}/autopilot
Save the Autopilot plan (days, time, platforms, publishing accounts). Does not turn it on
Body: weekdays: integer[]
postTime: string
platforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]
accountIds: string[]
planAheadDays?: integer
maxPending?: integer
format?: "text" | "tip_card"
tipTopics?: string[]
ai:configure
PUT/v1/brands/{brandId}/autopilot/auto-mode
Switch 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: boolean
dailyCap?: integer
holdMinutes?: integer
ai:configure
needs a person (no API keys)
POST/v1/brands/{brandId}/autopilot/disable
Turn Autopilot off. Drafts already made are kept
ai:configure
POST/v1/brands/{brandId}/autopilot/enable
Turn Autopilot on. The AI drafts posts on the plan and sends them for approval; nothing publishes without approval
ai:configure
needs a person (no API keys)
POST/v1/brands/{brandId}/autopilot/resume
Resume after Autopilot stopped itself (failed runs, or a disconnected account)
ai:configure
POST/v1/brands/{brandId}/autopilot/run
Draft now instead of waiting for the next run (same limits as a scheduled run)
content:create

Inbox

MethodPathPermission
GET/v1/brands/{brandId}/inbox
Comments 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/sync
Check for new comments now
inbox:read
POST/v1/inbox/{id}/dismiss
Mark a comment as not needing a reply
inbox:reply
POST/v1/inbox/{id}/reply
Send 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}/suggest
Write a fresh suggested reply for a comment (AI)
inbox:read

Campaigns

MethodPathPermission
GET/v1/brands/{brandId}/campaigns
Campaigns for a brand, with how many posts are planned, scheduled and published
content:read
POST/v1/brands/{brandId}/campaigns
Create a campaign (name, goal and dates)
Body: name: string
objective?: string
startsOn: string
endsOn: 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?: string
objective?: string
status?: "draft" | "active" | "archived"
content:create
POST/v1/campaigns/{id}/plan
Draft a spread of posts across the campaign dates (AI). Nothing is submitted, approved or scheduled
Body: posts?: integer
platforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]
postTime?: string
content:create

Research

MethodPathPermission
GET/v1/brands/{brandId}/watch
Followed competitor and industry feeds and what they published recently
brand:read
POST/v1/brands/{brandId}/watch
Follow a public website or RSS/Atom feed (read through the SSRF guard; nothing is scraped from social networks)
Body: name: string
url: string
kind: "competitor" | "industry"
brand:update
POST/v1/brands/{brandId}/watch/check
Check the followed feeds for new posts now
brand:update
GET/v1/brands/{brandId}/watch/digest
The latest research digest: themes in what others published, and original post ideas
brand:read
POST/v1/brands/{brandId}/watch/digest
Make 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

MethodPathPermission
GET/v1/brands
Brands you can access
brand:read
POST/v1/brands
Create a brand in a workspace
Body: workspaceId: string
name: string
brand:create
GET/v1/brands/{brandId}
Brand with its BrandBrain, settings, strategy and preferences
brand:read
GET/v1/brands/{brandId}/page-kit
Draft name, tagline and About text for creating a company page, from the brand profile
brand:read
PATCH/v1/brands/{brandId}/settings
Update 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?: object
maxPostsPerPlatformPerDay?: integer
timezone?: string
preferredPlatforms?: "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

MethodPathPermission
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}/confirm
Record that the person created the page on the platform
Body: pageUrl?: string
social_account:connect
POST/v1/brands/{brandId}/page-setup/{platform}/create
Create 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-order
The 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

MethodPathPermission
GET/v1/brands/{brandId}/assets
Brand asset library
brand:read
POST/v1/brands/{brandId}/assets
Upload 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}/download
Download 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

MethodPathPermission
GET/v1/content/calendar
Calendar feed (scheduled + unscheduled content)
Query: brandId, from, to
content:read

Analytics

MethodPathPermission
GET/v1/analytics/overview
Measured performance: totals, followers, by platform/pillar/format, best and worst posts
Query: brandId, days?
analytics:read
GET/v1/analytics/summary
AI performance summary: what happened (facts), why it may have happened, what to do next
Query: brandId, days?
analytics:read

Webhooks

MethodPathPermission
GET/v1/webhooks
List webhooks (signing secrets are never returned)
api_key:manage
POST/v1/webhooks
Create a webhook. The signing secret is shown once
Body: url: string
description?: string
events: "content.approved" | "content.rejected" | "content.changes_requested" | "content.published" | "content.publish_failed" | "autopilot.drafted" | "inbox.comment_received"[]
brandId?: string
api_key:manage
needs 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}/deliveries
The last 50 deliveries to a webhook and how each went
api_key:manage
POST/v1/webhooks/{id}/test
Send a test event (ping) to a webhook now
api_key:manage
GET/v1/webhooks/events
The events a webhook can subscribe to
api_key:manage

API keys

MethodPathPermission
GET/v1/api-keys
List API keys (secrets are never returned)
api_key:manage
POST/v1/api-keys
Create an API key (shown once)
Body: name: string
permissions: "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:manage
needs a person (no API keys)
DELETE/v1/api-keys/{id}
Revoke an API key
api_key:manage

Portfolio

MethodPathPermission
GET/v1/portfolio
Every brand you can reach in one view: what needs attention, what is going out, what was published lately
brand:read

Billing

MethodPathPermission
POST/v1/billing/checkout
Start 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/entitlement
Current 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/plans
Plans and the store products that unlock them
billing:read
POST/v1/billing/portal
Open Stripe's page to change card, switch plan or cancel
billing:manage
GET/v1/billing/pricing
Plan prices for a country (two-letter code, default GB), with the price band that applies
billing:read
POST/v1/billing/redeem
Send 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/webhook
Stripe webhook (signature verified)
none
POST/v1/billing/video-pack
Buy a pack of video credits: returns the address of Stripe's hosted payment page
Body: credits: integer
billing:manage

Approvals

MethodPathPermission
GET/v1/content/{id}/approvers
Colleagues who can approve this post (to ask one of them)
content:submit
POST/v1/content/{id}/decision
Approve, request changes or reject
Body: decision: "approve" | "request_changes" | "reject"
comment?: string
content:approve
POST/v1/content/{id}/set/approve
Submit and approve every version of this idea (each is checked on its own)
content:approve
POST/v1/content/{id}/submit
Submit a draft for approval, optionally asking one colleague to approve it
Body: askUserId?: string
note?: string
content:submit
GET/v1/content/approvals
Mobile approval queue: posts in review across your brands, oldest first, cursor-paged
Query: limit?, cursor?
content:approve

Assistant

MethodPathPermission
GET/v1/assistant/actions
Explainable log of AI actions (what, why, information used, what next)
Query: brandId
brand:read
POST/v1/assistant/actions/{id}/confirm
Confirm an action the assistant proposed
ai:use
GET/v1/assistant/history
Your recent conversation with the assistant for a brand
Query: brandId
ai:use
POST/v1/assistant/messages
Talk to Social Copilot (natural-language control)
Body: brandId: string
message: string
ai:use

Auth

MethodPathPermission
POST/v1/auth/ai-consent
Agree 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/csrf
CSRF token for this session (send as X-CSRF-Token on unsafe requests)
any signed-in key
POST/v1/auth/logout
Sign out of this session
any signed-in key
POST/v1/auth/magic-link
Request a passwordless sign-in link (always 202; no account enumeration)
Body: email: string
none
POST/v1/auth/magic-link/verify
Exchange a magic-link token for a session (or an MFA challenge)
Body: token: string
none
GET/v1/auth/me
Current user, memberships and effective permissions
any signed-in key
POST/v1/auth/mfa/totp/confirm
Confirm MFA setup with a code; other sessions are signed out
Body: code: string
any signed-in key
POST/v1/auth/mfa/totp/setup
Start authenticator-app MFA setup
any signed-in key
POST/v1/auth/mfa/verify
Complete sign-in with a TOTP code
Body: challengeId: string
code: string
none
POST/v1/auth/passkeys/login/options
Begin passkey sign-in
none
POST/v1/auth/passkeys/login/verify
Complete passkey sign-in
Body: challengeId: string
response: object
none
POST/v1/auth/passkeys/register/options
Begin adding a passkey
any signed-in key
POST/v1/auth/passkeys/register/verify
Finish adding a passkey
Body: response: object
name?: string
any signed-in key
GET/v1/auth/sessions
Active 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-others
Sign out everywhere else
any signed-in key
GET/v1/auth/sso/callback
Where the identity provider sends the person back; finishes sign-in and redirects to the app
none
GET/v1/auth/sso/domain-hint
Whether 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/start
Whether an email address signs in with single sign-on, and the address to send the person to
Body: email: string
none

Auth (mobile)

MethodPathPermission
GET/v1/auth/app-link
Mobile: 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/verify
Mobile: exchange a magic-link token for an access + refresh token pair (or an MFA challenge)
Body: token: string
device: object
none
POST/v1/auth/native/mfa/verify
Mobile: complete sign-in with a TOTP code
Body: challengeId: string
code: string
device: object
none
POST/v1/auth/native/refresh
Mobile: 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-login
Mobile, 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: string
code: string
device: object
none
POST/v1/auth/sso/native/exchange
Phone: exchange the one-time code from the app link, with the secret from the start, for access and refresh tokens
Body: code: string
secret: string
device: object
none
POST/v1/auth/sso/native/start
Phone: 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

MethodPathPermission
POST/v1/brands/{brandId}/onboarding
Analyse onboarding answers, website and materials to build the BrandBrain
Body: businessName: string
whatYouSell?: string
problemSolved?: string
customers?: string
locations?: string
differentiators?: string
objectives?: "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?: string
materials?: string[]
brand:update
POST/v1/brands/{brandId}/preferences
Add 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}/profile
Save an edited BrandBrain (creates a new version)
Body: profile: object
changeNote?: string
brand:update
GET/v1/brands/{brandId}/profile/history
BrandBrain version history
brand:read

Config

MethodPathPermission
GET/v1/config
Remote 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

MethodPathPermission
GET/v1/dashboard
Command Centre: today, upcoming, approvals, performance, recommendations
Query: brandId, tz?
brand:read

Learning

MethodPathPermission
GET/v1/brands/{brandId}/learning
Style suggestions learned from how drafts were edited before approval (counts as evidence; no claims about performance)
brand:read
POST/v1/brands/{brandId}/learning/accept
Accept a suggestion: it becomes a style preference used when drafting
Body: key: string
brand:update
POST/v1/brands/{brandId}/learning/dismiss
Turn down a suggestion so it is not offered again
Body: key: string
brand:update

Notifications

MethodPathPermission
GET/v1/links/resolve
Resolve a deep link (screen + id) after authentication; 404 if you may not see it
org:read
GET/v1/notifications
Your notifications
org:read
GET/v1/notifications/preferences
Which notification categories send you a push (security alerts are always on)
org:read
PUT/v1/notifications/preferences
Choose which notification categories send you a push
Body: preferences: object
org:read
POST/v1/notifications/read
Mark notifications as read
Body: ids: string[] | "all"
org:read
DELETE/v1/push/devices
Mobile: stop push notifications for this device
any signed-in key
POST/v1/push/devices
Mobile: register this device for push notifications (bound to the current session)
Body: token: string
platform: "ios" | "android"
any signed-in key

Organisations

MethodPathPermission
POST/v1/invitations/accept
Accept an invitation sent to your email
Body: token: string
any signed-in key
GET/v1/organisation
Current organisation, plan and settings
org:read
PATCH/v1/organisation
Update organisation name and security/AI/retention settings
Body: name?: string
settings?: object
org:update
needs a person (no API keys)
POST/v1/organisations
Create an organisation (you become its owner)
Body: name: string
kind?: "business" | "individual" | "creator" | "agency"
any signed-in key
GET/v1/workspaces
Workspaces you can access
workspace:read
POST/v1/workspaces
Create a workspace
Body: name: string
workspace:create

Privacy

MethodPathPermission
POST/v1/privacy/export
Export all organisation data (portability)
privacy:export
needs a person (no API keys)
DELETE/v1/privacy/me
Delete 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 key
needs a person (no API keys)
DELETE/v1/privacy/organisation
Delete the organisation (30-day grace period, then permanent purge)
Body: confirmName: string
org:delete
needs a person (no API keys)
GET/v1/privacy/processing
Data processing record: what is processed, where, retention, AI providers, training use
org:read
POST/v1/privacy/subject-requests
Handle a data-subject access or erasure request for a member
Body: email: string
kind: "export" | "delete"
privacy:export
needs a person (no API keys)

Publishing

MethodPathPermission
POST/v1/content/{id}/publish-now
Publish approved content as soon as possible, to one or more connected accounts
Body: accountIds?: string[]
content:publish
POST/v1/content/{id}/retry
Retry failed destinations of a post (all, or one account); same idempotency key
Body: accountId?: string
content:publish
DELETE/v1/content/{id}/schedule
Unschedule a post
content:schedule
PATCH/v1/content/{id}/schedule
Move a scheduled post (drag and drop)
Body: scheduledAt: string
content:schedule
POST/v1/content/{id}/schedule
Schedule approved content (anti-spam and duplicate guardrails apply)
Body: scheduledAt: string
accountIds?: string[]
content:schedule
POST/v1/content/{id}/set/publish
Publish every approved version to its platform's connected account, now or at a time
Body: scheduledAt?: string
content:publish
POST/v1/publishing/pause
Emergency: pause all publishing for the organisation (requires confirm: true)
Body: confirm: true
reason?: string
publishing:pause
needs a person (no API keys)
POST/v1/publishing/resume
Resume publishing after a pause (requires confirm: true)
Body: confirm: true
publishing:resume
needs a person (no API keys)
GET/v1/publishing/status
Is publishing paused for this organisation?
content:read

Security

MethodPathPermission
GET/v1/security/audit-log
Searchable, tamper-evident audit trail
Query: action?, actorType?, resourceId?, q?, before?, limit?
audit:read
GET/v1/security/audit-log/verify
Verify the audit hash chain has not been tampered with
audit:read
GET/v1/security/events
Security alerts for this organisation
security:read

Single sign-on

MethodPathPermission
DELETE/v1/sso
Remove single sign-on and its domains
org:update
needs a person (no API keys)
GET/v1/sso
Single sign-on settings, the domains and the DNS records to add (the client secret is never returned)
org:update
PATCH/v1/sso
Switch single sign-on on or off, and require it for the verified domains
Body: enabled?: boolean
enforce?: boolean
org:update
needs a person (no API keys)
PUT/v1/sso
Save the OpenID Connect provider (issuer, client id and secret)
Body: issuer: string
clientId: string
clientSecret?: string
defaultRole?: "viewer" | "reviewer" | "editor" | "manager"
org:update
needs a person (no API keys)
POST/v1/sso/domains
Add an email domain to prove ownership of
Body: domain: string
org:update
DELETE/v1/sso/domains/{domain}
Remove a domain
org:update
needs a person (no API keys)
POST/v1/sso/domains/{domain}/verify
Check the DNS record and verify the domain
org:update

Social accounts

MethodPathPermission
DELETE/v1/social/accounts/{id}
Disconnect an account (revokes and deletes tokens, cancels pending posts)
social_account:disconnect
POST/v1/social/accounts/{id}/move
Move 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}/accounts
Connected accounts for a brand (tokens are never returned)
social_account:read
GET/v1/social/brands/{brandId}/health
Social Account Health dashboard data
social_account:read
POST/v1/social/connect
Start OAuth connection (returns the provider authorisation URL)
Body: brandId: string
platform: "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}/select
Connect the chosen company pages
Body: externalIds: string[]
social_account:connect
POST/v1/social/platform/{app}/data-deletion
Meta 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}/deauthorize
Meta 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/providers
Available social providers and their capabilities (mock providers are labelled)
social_account:read

Strategy

MethodPathPermission
POST/v1/brands/{brandId}/strategy
Generate a social media strategy from the BrandBrain
Body: platforms: "linkedin" | "instagram" | "facebook" | "x" | "tiktok" | "youtube" | "pinterest" | "threads" | "google_business"[]
days?: integer
ai:use

Sync

MethodPathPermission
GET/v1/sync/changes
Content and schedule changes since a cursor (for multi-device sync)
Query: brandId, cursor?, limit?
content:read

Team

MethodPathPermission
GET/v1/members
Organisation members
member:read
DELETE/v1/members/{id}
Remove a member
member:remove
needs 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_role
needs a person (no API keys)
POST/v1/members/invitations
Invite a member (role cannot exceed your own)
Body: email: string
role: "owner" | "admin" | "manager" | "editor" | "reviewer" | "viewer"
workspaceIds?: string[]
member:invite

Video

MethodPathPermission
GET/v1/content/{id}/video
Video status for a post: what a video costs, your credits, the voices and the latest video job
content:read
POST/v1/content/{id}/video
Make 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?: boolean
briefId?: string
content:update
POST/v1/content/{id}/video/{jobId}/cancel
Cancel a video that has not started yet (credits are returned)
content:update
GET/v1/video/credits
Video credits: this month's plan allowance, bought credits, and the packs on offer
content:read
GET/v1/video/voices
The 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}/sample
Hear a voice: a short audio sample, made once and kept
content:read

White-label

MethodPathPermission
GET/v1/branding
The organisation's own name, colour and logo shown in the app
org:read
PUT/v1/branding
Set the display name, accent colour and logo (PNG or JPEG up to 100 KB)
Body: displayName?: string
accentColor?: string
logoBase64?: string
org:update