Skip to content

Schedule posts
with code.

Every brand has its own API key and secret. With the Publishing API your external system — a CMS, automation or production pipeline — schedules, edits, cancels or publishes a video or post to every platform it suits. With the Comments API new comments and DMs reach your system via webhook (in about a minute on Instagram and Facebook) and you reply from there. You choose which platforms and which actions each key may use from the panel.

#How it works

The Publishing API is the programmatic counterpart of the planner in the Social Analyze panel. Everything you do there — choosing accounts, uploading media, per-platform suitability checks, scheduling, editing, cancelling — exists here and goes through the same validation. Posts created through the API show up in the panel with an “API” badge and can be edited there too.

  1. Create a keyPanel → Brand settings → API. Pick platforms and permissions; the secret is shown only once.
  2. Prepare mediaImport the video/image from a URL or upload it in chunks; you get a media id when it is ready.
  3. Check suitabilityFind out which accounts the content suits, or let targets:"auto" send it to the suitable ones.
  4. ScheduleGive a time in the brand's timezone. Get the result by webhook or poll the status.
Scope of the API
The API publishes to Facebook, Instagram, YouTube, LinkedIn, TikTok and X (X: 280 characters, up to 4 images or 1 video). A key can only reach the accounts of a single brand.

#Quick start

The flow below schedules a video, at a time in the brand's timezone, to every allowed account the content suits. Keep the key and secret in environment variables; never put them in client-side code.

export SA_KEY="sak_…"      # from the panel
export SA_SECRET="sas_…"

# 1) Verify the connection
curl https://app.socialanalyze.org/api/v1/me -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"

# 2) Import the video from a URL  → 202 + media id
curl -X POST https://app.socialanalyze.org/api/v1/media/import -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://cdn.example.com/launch.mp4"}'

# 3) Wait until it is ready  (status: "ready")
curl https://app.socialanalyze.org/api/v1/media/MEDIA_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"

# 4) Schedule to the suitable accounts
curl -X POST https://app.socialanalyze.org/api/v1/publications -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: launch-2026-10-10" \
  -d '{
    "text": "The new release is live!",
    "media": ["MEDIA_ID"],
    "targets": "auto",
    "local_time": "2026-10-10T09:00",
    "external_ref": "cms-post-4821"
  }'

Successful response (201):

JSON
{
  "data": {
    "id": "7ed788c0-878c-4c8e-a46e-a83621a55521",
    "status": "scheduled",
    "text": "The new release is live!",
    "media": [{ "id": "588ff7a4-…", "kind": "video", "mime": "video/mp4", "size": 18349211, "name": "launch.mp4", "url": "https://app.socialanalyze.org/api/social/media/94e3….mp4" }],
    "scheduled_at": "2026-10-10T06:00:00.000Z",
    "published_at": null,
    "external_ref": "cms-post-4821",
    "source": "api",
    "targets": [
      { "account_id": "fb17aa48-…", "platform": "instagram", "text": null, "options": {}, "result": null },
      { "account_id": "4f030b35-…", "platform": "tiktok",    "text": null, "options": {}, "result": null }
    ]
  },
  "skipped": [
    { "account_id": "9c1d…", "platform": "youtube", "reason": "YouTube: video başlığı gerekli." }
  ]
}

#Authentication

Every request carries two headers: the public key identifier (sak_…) and the secret (sas_…). The secret must never appear in URLs, logs or client-side code. All requests use HTTPS.

cURL
curl https://app.socialanalyze.org/api/v1/me \
  -H "X-API-Key: sak_5a2ebf67ddb00876af15202e" \
  -H "X-API-Secret: sas_••••••••••••••••••••••••••••••••"

# Alternative: HTTP Basic (key:secret)
curl -u "$SA_KEY:$SA_SECRET" https://app.socialanalyze.org/api/v1/me
  • You see the secret only at creation/rotation; we store only its SHA-256 hash, so rotate it if lost.
  • A wrong key and a wrong secret return the same response (401 invalid_credentials); key existence is not leaked.
  • Rotating invalidates the old secret immediately. For a zero-downtime switch, create a second key, move your system over, then revoke the old one.
  • If you set an IP allowlist, only requests from those IPs/CIDRs are accepted (403 ip_not_allowed).

#Keys & permissions

Keys are managed in the panel under Brand settings → API (account owner only). When creating a key you pick the product: Publishing API or Comments API. They are separate keys; calling one product's endpoints with the other's key returns 403 wrong_product. The active key limit (per plan) applies to each product separately; every key has its own platforms, permissions and limits.

Permission (scope)What it allows
accounts:readList allowed accounts; query suitability via /compatibility.
media:writeUpload, import, list and delete media.
publications:readRead publications created through the API and their results.
publications:writeCreate drafts/schedules, edit and cancel.
publications:publishPublish immediately (mode:"publish" and /publish).
comments:readComments API — read comments and threads; receive comment webhooks.
comments:replyComments API — reply publicly from the brand's account.
comments:moderateComments API — hide, like, delete, mark done / open.
messages:readComments API — read DM conversations; receive DM webhooks.
messages:sendComments API — send DMs and private replies.
Permission presets
The panel offers three presets: Scheduling (no immediate publishing — ideal for review workflows), Full access and Read-only (for reporting dashboards). A key without the publish permission can never publish anything immediately.

Platform access is per key: if a key is allowed only Instagram and TikTok, targeting any other platform returns 403 platform_not_allowed. If a new account is later connected to the brand, the key sees it automatically if its platform is allowed.

#Conventions

TopicRule
Base URLhttps://app.socialanalyze.org/api/v1
FormatRequests and responses are JSON, field names snake_case, dates ISO 8601 (UTC).
Success{ "data": …, "meta"?: …, "skipped"?: … }
Error{ "error": { "code", "message", "details"? } }
Rate limitPer-key per-minute limit: set in the panel between 1 and your plan's ceiling (Studio 30, Atlas 120, Summit 300, Zenith 600/min); the default is 60, or the plan ceiling if that is lower. Every response carries X-RateLimit-Limit / -Remaining / -Reset; exceeding returns 429 + Retry-After.
PaginationLists take limit (≤100) and offset; meta.total returns the total.
VersioningThe path is versioned with /v1; backwards-compatible additions (new fields/endpoints) do not bump the version, so ignore unknown fields.
Body sizeJSON bodies up to 1 MB; media goes through dedicated endpoints.
Unknown fieldsUnknown fields in requests return 400 (to catch typos).

#Publication lifecycle

draft ──schedule──▶ scheduled ──(time reached)──▶ publishing ──▶ published
  ▲                      │  ▲                           │  └──▶ partial   (some targets published)
  └────unschedule────────┘  └─────── edit ──────────────┘  └──▶ failed    (none published)
                           failed / partial ──retry (publish / reschedule)──▶ publishing
StatusMeaningVia API
draftDraft; no time set.Edit, schedule, publish, delete
scheduledWaiting for its time.Edit, reschedule, unschedule, publish, cancel
publishingBeing sent to targets (video uploads can take minutes).Read-only
publishedPublished on all targets (or processing on the platform).Read-only; cannot be deleted
partialSome targets published, others failed.Retry failed ones via /publish
failedCould not be published anywhere.Edit and reschedule / publish, delete

Per-target results are always in targets[].result: status (published | processing | failed), external_id, permalink and the error message. A target that is already published is never sent again on retry.

#Targets & compatibility

The same content does not suit every platform: Instagram and TikTok need media, YouTube accepts only video and needs a title, and text limits differ. The API applies these rules for you and answers “which platforms does it suit?” in three ways:

targetsBehaviour
"auto"Default. Every allowed account is tried; unsuitable ones are skipped and returned in skipped with the reason. If none suit, 422 no_eligible_targets.
["instagram","tiktok"]Platform name → all connected accounts on it. If unsuitable, 422 validation_failed (skipped with skip_invalid:true).
[{"account_id":"…","text":"…","options":{…}}]Per account: target-specific text and platform options.

To ask in advance use POST /compatibility — you can even ask before uploading, with just the kinds (media_kinds).

#Time & timezones

You can give the time in two ways; do not send both:

FieldExampleNote
scheduled_at2026-10-10T09:00:00+03:00ISO 8601 with offset (Z or ±hh:mm) required.
local_time2026-10-10T09:00Local time in the brand's timezone (GET /me → brand.timezone). We handle DST transitions for you.
  • The time must be at least 1 minute and at most 1 year ahead.
  • The scheduler runs every minute; a post goes out in its scheduled minute.
  • scheduled_at: null (in PATCH) removes the schedule and returns the post to draft.

#Idempotency & external_ref

To safely retry after a network error, add a unique Idempotency-Key header to POST /publications. When the same key + Idempotency-Key arrives again no new post is created; the original is returned with 200 and an Idempotent-Replayed: true header.

Store your own system's identifier in external_ref (≤120 chars) and find it again with GET /publications?external_ref=…. metadata is a free-form JSON object and comes back unchanged in webhooks.

#Endpoints

GET/me

Key & brand info

Returns the key's permissions, allowed platforms, limits and the brand's timezone. Ideal to verify connectivity.

JSON
{
  "data": {
    "key": {
      "key_id": "sak_5a2e…",
      "name": "CMS otomasyonu",
      "scopes": ["accounts:read", "media:write", "publications:read", "publications:write"],
      "platforms": ["instagram", "tiktok"],
      "expires_at": null,
      "rate_limit_per_min": 60,
      "daily_publication_limit": 100,
      "ip_restricted": false,
      "webhook_configured": true,
      "webhook_events": [],
      "created_at": "2026-10-02T11:10:09.784Z"
    },
    "brand": { "id": "b193a53c-…", "name": "Fonoloji", "timezone": "Europe/Istanbul", "local_date": "2026-10-02" }
  }
}
GET/accountsaccounts:read

List allowed accounts

Only connected, publishable accounts on the key's allowed platforms. status: active | error | expired — an expired account cannot publish and must be reconnected in the panel.

JSON
{
  "data": [
    {
      "id": "fb17aa48-a440-470b-af3d-873044f93d54",
      "platform": "instagram",
      "name": "Fonoloji",
      "username": "fonoloji",
      "avatar_url": "https://…",
      "profile_url": "https://www.instagram.com/fonoloji/",
      "status": "active",
      "capabilities": {
        "publish": true,
        "publish_kinds": ["image", "video", "carousel"],
        "requires_media": true,
        "max_text_length": 2200,
        "max_media": 10,
        "publish_location": true,
        "pin_post": false
      }
    }
  ]
}
GET/accounts/{id}/placesaccounts:read

Search locations (location_id)

Searches for a location to add to an Instagram or Facebook post (Meta Pages Search; only Pages with an address are returned). Send the returned id as location_id in the platform options. If Meta search isn't available you get search_unavailable: true and an empty list; you can then pass the numeric id of a Facebook Page that has an address directly as location_id.

cURL
curl "https://app.socialanalyze.org/api/v1/accounts/ACC_ID/places?q=Galata%20Kulesi" -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
# → { "data": [ { "id": "1063…", "name": "Galata Kulesi", "street": "…", "city": "Istanbul", "country": "Turkey", "verified": false } ] }
POST/compatibilityaccounts:read

Which platforms does the content suit?

Without creating anything, returns each allowed account's suitability for text + media and, if unsuitable, why.

FieldTypeReq.Description
textstring○Post text (≤70,000).
mediauuid[]○Ready media ids.
media_kinds("image"|"video")[]○To query by kind before uploading (when media is omitted).
optionsobject○Platform name → flat options, e.g. {"youtube":{"title":"…"}}.
curl -X POST https://app.socialanalyze.org/api/v1/compatibility -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"text":"New video","media_kinds":["video"]}'

Media

Videos and images are first brought into Social Analyze, then attached to a post by media id. There are two ways: (1) import from a public URL (easiest), (2) upload in 5 MB chunks. Supported: JPG, PNG, WEBP (≤30 MB), GIF (≤15 MB), MP4, MOV, WEBM (≤1 GB). File contents are verified against the declared type; mismatches are rejected.

POST/media/importmedia:write

Import from a URL

Downloads in the background (202). The source must be a public address returning Content-Length; internal and private IPs are blocked. Track progress with GET /media/{id}: uploading → ready (or failed + error).

FieldTypeReq.Description
urlstring (url)●http(s) address to download (up to 3 redirects followed).
namestring○File name; derived from the URL if omitted.
curl -X POST https://app.socialanalyze.org/api/v1/media/import -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" \
  -d '{"url":"https://cdn.example.com/launch.mp4"}'
POST/media/uploadsmedia:write

Chunked upload

Start the upload, PUT each 5 MB chunk in order, then complete it. A chunk that arrives again (retry) is silently ignored.

FieldTypeReq.Description
namestring●File name.
mimestring●image/jpeg · image/png · image/webp · image/gif · video/mp4 · video/quicktime · video/webm
sizeinteger●Total bytes.
# 1) Start
curl -X POST https://app.socialanalyze.org/api/v1/media/uploads -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" \
  -d '{"name":"launch.mp4","mime":"video/mp4","size":18349211}'
# → { "data": { "id": "…", "chunk_size": 5242880, "chunk_count": 4, "status": "uploading" } }

# 2) Each chunk (index starts at 0)
curl -X PUT "https://app.socialanalyze.org/api/v1/media/uploads/MEDIA_ID/chunk?index=0" -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/octet-stream" --data-binary @chunk0.bin

# 3) Complete
curl -X POST https://app.socialanalyze.org/api/v1/media/uploads/MEDIA_ID/complete -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
Storage quota is 2 GB – 2 TB depending on plan (workspace total), and at most 20 uploads may be open at once. Abandoned uploads are cleaned up automatically.
GET/media · /media/{id} · DELETE /media/{id}media:write

Media status, list, delete

GET /media (status=ready|uploading, limit ≤100) lists recent media of the key's brand. GET /media/{id} returns one item's status; if a URL import failed it returns status: "failed" and an error. DELETE /media/{id} removes the file unless it is used by a draft/scheduled post (otherwise 409 media_in_use). Media used in a published post is never deleted, only removed from the list (response has kept: true).

POST/publicationspublications:write

Create a publication (draft / schedule / publish)

If mode is omitted: schedule when a time is given, otherwise draft. mode:"publish" publishes at once and requires publications:publish; it cannot be combined with a time.

FieldTypeReq.Description
textstring○Shared text (≤70,000). Required if there is no media.
mediauuid[]○Ready media ids (max 35, order kept).
targets"auto" | (string|object)[]○Default "auto". See Targets & compatibility.
platform_optionsobject○Platform name → flat options; default for all targets on that platform.
scheduled_at / local_timestring○Time. See Time & timezones.
mode"draft"|"schedule"|"publish"○Kind of action.
skip_invalidboolean○true: skip unsuitable targets instead of failing (already the case for auto).
validate_onlyboolean○true: validate without creating anything (200).
external_refstring○Your own system's identifier (≤120).
metadataobject○Free-form JSON; returned in webhooks.

Example 1 — schedule a video to every suitable platform:

JSON
{
  "text": "The new release is live!",
  "media": ["588ff7a4-0c36-44bf-b0b9-7f942ed9f76e"],
  "targets": "auto",
  "local_time": "2026-10-10T09:00",
  "external_ref": "cms-post-4821",
  "metadata": { "campaign": "launch" }
}

Example 2 — per-platform text and options:

JSON
{
  "text": "Compare funds with Fonoloji",
  "media": ["588ff7a4-…"],
  "targets": [
    { "platform": "youtube",   "text": "Fund comparison guide — description text…", "options": { "title": "How do I compare funds?", "privacy": "public", "tags": ["fon", "yatırım"] } },
    { "platform": "instagram", "options": { "type": "reel", "first_comment": "Link in bio" } },
    { "platform": "tiktok",    "options": { "title": "Compare funds", "privacy_level": "SELF_ONLY", "disable_duet": true } }
  ],
  "scheduled_at": "2026-10-10T09:00:00+03:00"
}

Example 3 — validate only, do not create:

cURL
curl -X POST https://app.socialanalyze.org/api/v1/publications -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" \
  -d '{"text":"deneme","media":["MEDIA_ID"],"targets":"auto","local_time":"2027-03-01T10:00","validate_only":true}'
# → { "data": { "valid": true, "mode": "schedule", "scheduled_at": "2027-03-01T07:00:00.000Z",
#               "targets": [ { "account_id": "…", "platform": "instagram" }, … ] }, "skipped": [] }

Response: 201 (created) or on an idempotent replay / validate_only 200. Possible errors: 400 invalid request, 403 permission/plan, 422 validation (details.targets gives per-account reasons), 429 daily limit.

GET/publicationspublications:read

List / get publications

Only publications created through the API (posts created by hand in the panel are not reachable via the API). GET /publications/{id} returns a single publication with per-target results.

FieldTypeReq.Description
statusstring○Comma separated: draft,scheduled,publishing,published,partial,failed
platformstring○Having this platform among targets.
external_refstring○Exact match.
from / toISO date○scheduled_at range.
sort"created_at"|"scheduled_at"○Default created_at (newest first); scheduled_at ascending.
limit / offsetinteger○limit defaults to 25, max 100.
cURL
# Everything scheduled next week
curl "https://app.socialanalyze.org/api/v1/publications?status=scheduled&from=2026-10-12T00:00:00Z&to=2026-10-19T00:00:00Z&sort=scheduled_at" -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
PATCH/publications/{id}publications:write

Edit a scheduled publication

Only draft, scheduled and failed publications can be edited (otherwise 409 not_editable). Omitted fields are kept. Send only what changes:

cURL
# Change the time and text
curl -X PATCH https://app.socialanalyze.org/api/v1/publications/PUB_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" \
  -d '{"text":"Updated text","local_time":"2026-10-11T18:30"}'

# Remove the schedule (back to draft)
curl -X PATCH https://app.socialanalyze.org/api/v1/publications/PUB_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" -d '{"scheduled_at":null}'

# Change targets: Instagram only
curl -X PATCH https://app.socialanalyze.org/api/v1/publications/PUB_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" -d '{"targets":["instagram"]}'

# Retry a failed post with a new time
curl -X PATCH https://app.socialanalyze.org/api/v1/publications/PUB_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" -d '{"mode":"schedule","local_time":"2026-10-12T09:00"}'

Fields are the same as POST. After an edit the publication fires a publication.updated webhook event.

POST/publications/{id}/publishpublications:publish

Publish now / retry

Immediately publishes a draft, scheduled, failed or partial post (the schedule is cleared). Targets already published are not sent again. If it is already publishing/published, 409 already_published.

cURL
curl -X POST https://app.socialanalyze.org/api/v1/publications/PUB_ID/publish -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
DELETE/publications/{id}publications:write

Cancel / delete

Deletes a draft, scheduled or failed post (a publication.cancelled event is sent). For a published (published/partial) post it also deletes the post from the platforms — this needs the extra publications:publish scope. Facebook, Instagram (connected via Facebook), YouTube and LinkedIn support it; TikTok and X don't allow deletion via their APIs (target result unsupported). Use ?accounts=id1,id2 to delete from selected accounts only. The response lists a per-target result (deleted / unsupported / failed / skipped); once every target is removed the record leaves the list (it is kept permanently in the archive with its text and media) and a publication.deleted event is sent. If no target could be deleted it returns 422 not_deleted (reasons in details); deleting on Instagram requires the instagram_manage_contents permission on the Meta connection. A publishing post returns 409 publishing.

cURL
curl -X DELETE https://app.socialanalyze.org/api/v1/publications/PUB_ID -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
# → { "data": { "id": "…", "deleted": true } }
GET/publications/{id}/collaboratorspublications:read

Instagram collab invites

Returns the collaborators invited on Instagram targets and their status. scheduled: not published yet (the invite goes out at publish) · pending · accepted · not_listed: Instagram doesn't list them (declined, collab tagging off, or private account) · unknown: couldn't be read (see error). Instagram doesn't allow adding invites after publishing.

cURL
curl https://app.socialanalyze.org/api/v1/publications/PUB_ID/collaborators -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
# → { "data": [ { "account_id": "…", "media_id": "1789…", "collaborators": [ { "username": "partnerhesap", "status": "pending" } ], "error": null } ] }
GET/collab-invitespublications:read

Incoming collab invites / accept

Lists pending collab invites received by your Instagram accounts. Accept (true) or decline (false) with POST /collab-invites/{media_id} and { account_id, accept }; once accepted the post also appears on that profile. POST needs publications:publish. Works only for Instagram accounts connected via Facebook; Instagram allows 50 responses per account per day.

cURL
curl https://app.socialanalyze.org/api/v1/collab-invites -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
# → { "data": [ { "account_id": "…", "username": "markam", "invites": [ { "media_id": "1796…", "owner_username": "partner", "caption": "…" } ], "error": null } ] }

curl -X POST https://app.socialanalyze.org/api/v1/collab-invites/1796… -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/json" -d '{"account_id":"ACC_ID","accept":true}'
GET/publications/{id}/captions · POST · DELETE /captions/{caption_id}publications:read · publications:publish

YouTube captions

Lists, uploads and deletes captions on a published YouTube video (same rules as Posts → Captions in the panel). Listing needs publications:read; upload and delete need publications:publish. Send the SRT or VTT text inside JSON (UTF-8, up to 2 MB); the language code must look like tr, en, es, fr, pt, pt-BR. If the publication has more than one YouTube account, pass account_id. Uploading the same language again creates a separate track — delete the old track first to replace it. If the video isn't published yet you get 409 not_published; wait for the publication.published webhook, then upload. YouTube counts each upload as about 400 units of the channel's API quota.

cURL
curl https://app.socialanalyze.org/api/v1/publications/PUB_ID/captions -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
# → { "data": [ { "account_id": "…", "video_id": "dQw4…", "captions": [ { "id": "AUieDa…", "language": "en", "name": "English", "kind": "standard" } ], "error": null } ] }

# SRT dosyasını JSON'a gömüp yükle
jq -n --rawfile c subs.en.srt '{language:"en", name:"English", content:$c}' | \
  curl -X POST https://app.socialanalyze.org/api/v1/publications/PUB_ID/captions -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" -H "Content-Type: application/json" -d @-
# → 201 { "data": { "id": "AUieDa…", "video_id": "dQw4…", "language": "en" } }

curl -X DELETE https://app.socialanalyze.org/api/v1/publications/PUB_ID/captions/AUieDa… -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"

#Platform guide

Rules follow each platform's official API and can change; for a definitive answer use /accounts → capabilities and /compatibility.

PlatformContentText limitMediaNotes
FacebookText, link, image, video, Reels, story63.206≤10 images or 1 videoImages and video cannot be mixed. Stories take 1 image/video.
InstagramImage, video, carousel, Reels, story2.200Media required; carousel ≤10Reels need exactly 1 video, stories 1 image/video.
YouTubeVideo only5.0001 videoTitle required (options.title or text). Shorts ≤60 s.
LinkedInText, image, video, carousel3.000≤20 images or 1 videoImages and video cannot be mixed.
TikTokVideo or photos2.2001 video or ≤35 photosUntil the app review is complete posts are published as private (SELF_ONLY). Photos must be JPEG/WebP.

Platform options

Options are flat snake_case: options: { … } on a target or, in bulk, platform_options: { platform: { … } }. An unknown key returns 400 invalid_options.

PlatformOptionType / valuesDescription
facebooktypefeed | reel | storyFormat: regular post, Reel (single video) or Story (single image/video; see Stories below).
facebooklinkstring (url)Adds a link card to the post.
facebookpinbooleanPins the post to the top of the Page after publishing (a Page has one pinned post). Can't be applied while a video/Reel is processing; result.warning explains why.
instagramtypefeed | reel | storyPost format (a single video defaults to Reels). Story rules below.
instagramshare_to_feedbooleanAlso show the Reel in the feed.
instagramfirst_commentstring ≤2200First comment after publishing (e.g. links).
instagramuser_tagsstring[] ≤20Tag people (public usernames). Centered on images, no position on Reels.
instagramalt_textstring ≤1000Image description (accessibility).
instagrampaid_partnershipboolean"Paid partnership" label.
instagramtrial_reelmanual | performanceTrial Reel: shown to non-followers first.
instagramaudio_namestring ≤100Original audio name on Reels.
facebook, instagramlocation_id / location_namestring / string ≤200Location: id of a Facebook Page with an address (GET /accounts/{id}/places). Instagram: image, Reels, carousel; Facebook: text, image, multi-image, Reels. Not on stories or regular Facebook videos. location_name is for display only. Pinning a post to an Instagram profile isn't available in the API.
instagramcollab_auto_acceptbooleanAuto-accepts, right after publishing, invites for collaborators that are connected to your account (via Facebook).
instagramcollaboratorsstring[] ≤3Collab invite: public usernames (@ or a profile link also work). Feed, Reels, carousel; not stories. Invites go out only at publish time; once accepted the post also appears on their profile.
youtubetitlestring ≤100Video title (required; text is used if omitted).
youtubeprivacypublic | unlisted | privateVisibility.
youtubetags / category_id / made_for_kidsstring[] / string / booleanTags, category, made-for-kids flag.
linkedinvisibilityPUBLIC | CONNECTIONSWho can see it.
tiktokprivacy_levelstringOne of the options the account allows; SELF_ONLY otherwise.
tiktoktitlestring ≤150Video title.
tiktokdisable_comment / disable_duet / disable_stitchbooleanDisable interactions.
tiktokbrand_content / brand_organicbooleanCommercial content disclosure.
google_businesstopic_typeSTANDARD | EVENT | OFFERPost type: update, event or offer. Text ≤1500 characters, at most 1 image, no video.
google_businesscta_type / cta_urlBOOK | ORDER | SHOP | LEARN_MORE | SIGN_UP | CALL / urlButton. All but CALL need cta_url; CALL uses the profile's phone number.
google_businessevent_title / start_date / end_date / all_daystring ≤58 / ISO / ISO / booleanRequired title and date range for EVENT and OFFER; times are read as the business's local time.
google_businesscoupon_code / offer_url / termsstring / url / stringOFFER: coupon code, redeem link, terms (optional).
facebook, instagram, youtube, linkedincover_media_iduuidVideo cover: a ready image from your media library (see Video cover below).
facebook, instagram, youtube, linkedin, tiktokcover_timestamp_msinteger msVideo cover: the moment of the video to use.

Video cover (Reels / thumbnail)

On single-video posts you can pick the cover in two ways: a ready image (upload it as media first, then pass cover_media_id) or a moment of the video (cover_timestamp_ms, milliseconds). If both are given the image wins. You can also pass a request-level cover: { media_id, timestamp_ms } for all targets at once; a platform option takes precedence.

PlatformReady imageVideo momentNote
InstagramYes (Reels)YesImage must be JPEG and ≤8 MB. No cover for stories.
FacebookYesYesThe cover can be rejected while the video is processing; it is retried a few times, and if it still fails the post is published anyway with a warning.
YouTubeYesYesCustom thumbnails need a verified channel; if it cannot be set the video is still published and a warning is returned.
LinkedInYesYesUploaded via the Videos API; if it cannot be set the video is still published and a warning is returned.
TikTokNoYesThe TikTok API only allows picking a frame of the video.
XNoNoNo cover option in the API.

The cover_image and cover_frame flags in each account's capabilities show which route it supports. When a cover cannot be applied the publication still counts as published; result.warning explains why.

JSON
{
  "text": "New video",
  "media": ["588ff7a4-…"],
  "cover": { "media_id": "9a1c2d3e-…" },
  "targets": [
    { "platform": "instagram" },
    { "platform": "youtube", "options": { "title": "New video", "cover_timestamp_ms": 4500 } },
    { "platform": "tiktok",  "options": { "cover_timestamp_ms": 4500 } }
  ],
  "mode": "publish"
}

Stories (Instagram and Facebook)

Set type: "story" in the target's options. A story is visible for 24 hours; Instagram uses the Content Publishing API (media_type=STORIES), Facebook uses Page stories (photo_stories / video_stories).

RuleInstagramFacebook
MediaExactly 1 image or 1 videoExactly 1 image or 1 video
ImageJPEG (PNG also works), ≤8 MB, 9:16 recommendedJPEG/PNG, ≤10 MB (no WEBP)
Video3–60 s, ≤100 MB, 9:16 recommended3–60 s, 9:16 recommended (min 540×960)
Not sentText, first_comment, collaborators, user_tags, location, coverText, link, location, pin, cover
Resultpublished right away; permalink is the story URLImage: published. Video: processing first, then published

A story that breaks the rules (two media, a video over 60 s, collaborators, a location…) is rejected with 400. If text or a link is given the story is still published, with a warning on the target result. Story metrics (reach, views, replies, navigation) are collected automatically on Instagram after publishing.

JSON
{
  "media": ["588ff7a4-…"],
  "targets": [
    { "platform": "instagram", "options": { "type": "story" } },
    { "platform": "facebook",  "options": { "type": "story" } }
  ],
  "mode": "schedule",
  "scheduled_at": "2026-11-05T09:00:00+03:00"
}

#Comments API

The Comments API is the programmatic counterpart of the panel's inbox. You read the comments and DMs arriving on the brand's accounts and reply, hide, delete and mark them done from the brand's account. When a new comment or message is seen, a signed webhook reaches your system within seconds; how long a comment takes to reach us from the platform is in the table below. It is built for customer-care tools, CRMs, your own AI reply engine or contact-centre screens.

  1. Create a Comments API keyPanel → Brand settings → API → Comments API. Pick platforms, permissions and your webhook URL.
  2. Receive the webhookWhen comment.created arrives, verify the signature and return 2xx; the comment, author and post summary are in the body.
  3. ReplyPOST /comments/{id}/replies — posted from the brand's account; the comment is marked done.
  4. Stay in syncReplies given in the panel or the platform app arrive as comment.replied too; via tells you who did it.
PlatformNew comment arrivesReplyHideDeleteLikeDM
Instagram≈ 1 min✓✓✓if connected via Facebook✓ (24 h window) · private reply
Facebook≈ 1 min✓✓✓✓✓ (24 h window)
YouTube≈ 5 min✓✓✓——
TikTok≈ 15 minwith a TikTok for Business connectionsamesamesame—
LinkedIn≈ 2 h✓—✓✓—
Xnightlyread only————
Google Business≈ 15 min✓ (one reply per review)—your own reply only——

On Google Business Profile, comments are customer reviews: post_external_id is "reviews" and the rating field holds 1–5 stars (null on other platforms). Replying to a review again replaces the previous reply; the business reply is a reply record with external id "<review>:reply". Customer reviews can't be deleted or hidden via the API.

Capabilities vary per account
The table shows the general picture; exact capabilities depend on the connection type and granted permissions. GET /accounts returns comment_reply, comment_hide, comment_delete, comment_like, comment_private_reply, messages and message_send flags in each account's capabilities. Unsupported actions return 400 unsupported. Actions taken in the panel or via the API become webhooks within seconds; the times in the table are for new comments arriving from the platform.
import crypto from "node:crypto";
import express from "express";

const BASE = "https://app.socialanalyze.org/api/v1";
const H = { "X-API-Key": process.env.SA_KEY, "X-API-Secret": process.env.SA_SECRET, "Content-Type": "application/json" };
const app = express();

app.post("/hooks/socialanalyze", express.raw({ type: "application/json" }), async (req, res) => {
  const ts = req.get("X-SocialAnalyze-Timestamp");
  const sig = req.get("X-SocialAnalyze-Signature") ?? "";
  const expected = "sha256=" + crypto.createHmac("sha256", process.env.SA_WEBHOOK_SECRET).update(`${ts}.${req.body}`).digest("hex");
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300 || sig.length !== expected.length || !crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) {
    return res.sendStatus(401);
  }
  res.sendStatus(200); // önce onayla, işi sonra yap

  const event = JSON.parse(req.body);
  if (event.type !== "comment.created") return;
  const { comment } = event.data;
  const text = await decideReply(comment); // kendi kuralınız / yapay zekânız / ekibiniz
  if (!text) return;
  await fetch(`${BASE}/comments/${comment.id}/replies`, {
    method: "POST",
    headers: { ...H, "Idempotency-Key": `reply-${comment.id}` },
    body: JSON.stringify({ text }),
  });
});

#Comments API endpoints

GET/commentscomments:read

List comments

Default: open (awaiting reply) incoming comments, newest first, with a post summary. Paginate with next_cursor. For incremental sync pass your last fetch time as updated_since (status, like and hide changes are included).

FieldTypeReq.Description
statusopen | done | all○Default open
platform · account_idstring · uuid○Filter
post_external_idstring○Only this post's comments
unreadboolean○Unread only
include_own · include_deletedboolean○Include the brand's own replies / deleted ones
since · updated_sincedate-time○Commented at ≥ / last change ≥
limit · cursor1–100 · string○Default 50
curl "https://app.socialanalyze.org/api/v1/comments?status=open&platform=instagram&limit=20" \
  -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET"
GET/comments/{id}comments:read

Comment + thread

Returns the comment, every reply in the same thread (oldest first) and the account's moderation capabilities: { comment, thread, account }.

POST/comments/{id}/repliescomments:reply

Reply to a comment

Publishes a public reply from the brand's account; the comment becomes done and the team history shows “Replied via API (key name)”. Send an Idempotency-Key: the same value returns the same response for 24 h and the reply never goes to the platform twice. Responds 201 with { reply, comment }; a repeat returns 200 + Idempotent-Replayed: true.

FieldTypeReq.Description
textstring○1–8000 characters (platform limits also apply)
If the comment was deleted meanwhile
If the author deleted the comment the platform rejects the reply: you get 410 comment_unavailable, the record becomes status: deleted and a comment.deleted webhook fires. Drop it from your queue; do not retry the same request.
cURL
curl -X POST https://app.socialanalyze.org/api/v1/comments/6a0c3f7e-…/replies \
  -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  -H "Content-Type: application/json" -H "Idempotency-Key: reply-6a0c3f7e" \
  -d '{"text":"Merhaba Ayşe, aralık başında tekrar stokta 🙌"}'
POST/comments/{id}/hide · /like · PATCH · DELETE /comments/{id}comments:moderate

Hide, like, status, delete

RequestBodyWhat it does
POST /comments/{id}/hide{"hidden": true}Hides / false shows it again. On Meta the author still sees a hidden comment.
POST /comments/{id}/like{"liked": true}Likes as the brand / false removes the like.
PATCH /comments/{id}{"status": "done", "read": true}Done / open and read flags (shared with the panel).
DELETE /comments/{id}—Deletes it on the platform; the record stays with status: deleted.
POST/comments/{id}/private-replymessages:send

Private reply (DM to the commenter)

On Instagram, sends a DM to the commenter: within 7 days of the comment, once per comment (a second one returns 409 already_private_replied). Body: { text } (≤1000). If the person replies, the conversation shows up under /conversations.

GET/conversations · /conversations/{id} · /conversations/{id}/messagesmessages:read

DM conversations and messages

Conversations come newest first by last message (status, platform, account_id, unread, updated_since, cursor). /conversations/{id} returns the last 50 messages oldest first; for older ones use /messages?before=… with before_cursor. reply_window reflects Meta's 24-hour rule: when closed, replies cannot be sent.

POST/conversations/{id}/messagesmessages:send

Send a DM

FieldTypeReq.Description
textstring○1–2000 characters
reply_to_message_iduuid○Reply to a specific message (where supported)

PATCH /conversations/{id} { status, read } marks the conversation done / open and read (messages:send).

Comment and DM webhooks

When you set a webhook URL on a Comments API key, comment / DM events on the brand — whoever caused them (platform, panel, auto-reply, API) — are delivered to that key. Events only come from the key's allowed platforms and for types it can read (comments:read / messages:read). Signing, retries and delivery rules are the same as for Publishing API webhooks (see below).

EventWhendata
comment.createdA new incoming comment (history seen on the first sync does not emit events).comment, account, via
comment.repliedThe brand replied to a comment.comment, reply, account, via
comment.updatedhidden · unhidden · liked · unliked · done · reopened · private_replycomment, change, account, via
comment.deletedThe comment was deleted on the platform.comment, account, via
message.receivedA new incoming DM.conversation, message, account
message.sentA DM was sent from the brand's account.conversation, message, account, via
JSON
POST /your/webhook  HTTP/1.1
X-SocialAnalyze-Event: comment.created
X-SocialAnalyze-Timestamp: 1793612472
X-SocialAnalyze-Signature: sha256=…

{
  "id": "evt_5c1d…",
  "type": "comment.created",
  "created_at": "2026-11-02T09:41:59.020Z",
  "data": {
    "comment": { "id": "6a0c3f7e-…", "platform": "instagram", "text": "Bu ürün tekrar gelecek mi?", "status": "open", "author": { "username": "ayse.k", … }, "post": { … }, … },
    "account": { "id": "fb17aa48-…", "platform": "instagram", "name": "Marka", "username": "marka" },
    "via": "platform"
  }
}
Avoid loops
Your own reply comes back as comment.replied (via: api). In auto-reply systems only respond to comment.created, skip is_own: true comments and via: api events. Use the event id and an Idempotency-Key against duplicates.

#Insights API

Brings the panel's Analytics and Audience Profile calculations into your system: who watches, when they watch, when to post and what to do next. Responses are computed from the latest synced data on every call, so they change as the account grows or the audience shifts. When the audience mix changes, an insights.audience_updated webhook arrives so your content planner, CRM or AI agent can re-tune itself.

Permission: insights:read
Available on both Publishing and Comments keys (Panel → Brand settings → API → edit key). Insights are read-only: not limited by the key's publishing platforms, they cover all of the brand's accounts (X included). The plan's history limit is the same as in the panel.
GET/insights/audienceinsights:read

Audience profile

Per account: age, gender, country and city shares (%), Instagram followers' online hours, best hours / days / windows by post engagement, format performance (median engagement, rate, views, lift vs average), 30 / 90-day follower growth, an ad-targeting suggestion (age range, gender, countries, cities, hours, days, placements) and, if generated, the AI persona summary. coverage reports each field's state: available, insufficient, permission, unsupported, soon.

FieldTypeReq.Description
account_iduuid[,uuid]○One or comma-separated accounts; all of the brand's accounts if omitted
localetr | en○Language of texts
curl -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  "https://app.socialanalyze.org/api/v1/insights/audience?locale=tr"
GET/insights/best-timeinsights:read

Best time to post

Answers two different questions together. by_publish_time: posts published on which day and hour performed better (median engagement / views / engagement rate; day 0 = Monday, hours in the brand's timezone; at least min_bucket posts per slot; only posts older than 48 h count for views). views_by_hour: which hours of the day your views come in — recent posts' metrics are measured every 15 minutes during their first two days and views gained are summed per hour. after_publish: median views 1, 3, 6, 12, 24 and 48 hours after publishing (same post cohort; share = % of the last measured hour).

FieldTypeReq.Description
account_iduuid[,uuid]○One or comma-separated accounts; all of the brand's accounts if omitted
days7–365○Default 30
typeall | video | post | story○Post type; all excludes stories
curl -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  "https://app.socialanalyze.org/api/v1/insights/best-time?days=30&type=video"
GET/insights/recommendationsinsights:read

Recommendations

The panel's “What to do next” card: rule-based from the account's own data and instant (uses no AI allowance). Each item carries a title, a body, a machine-readable action and the numbers behind it (evidence); map the action into your own automation (e.g. a schedule suggestion straight into POST /publications scheduled_at).

FieldTypeReq.Description
account_iduuid[,uuid]○One or comma-separated accounts; all of the brand's accounts if omitted
days7–365○Default 30
localetr | en○Language of texts
idactionWhen
inboxreply_inbox○Comments / DMs await a reply
timeschedule {weekday, hour, next_date, timezone}○A best publishing slot exists
audience_hoursschedule {hour, timezone}○The 3-hour window when most views arrive
queueschedule○Nothing scheduled for the next 7 days
formatpost_format {format}○One format gets ≥ 1.3× the engagement
reach_down · reach_uprepeat_post {post_id, permalink}○Reach / views vs previous period ≤ −20% / ≥ +25%
cadenceschedule○Fewer than 2 posts a week
er_down—○Engagement rate fell ≥ 0.5 pts
hashtaguse_hashtag {hashtag}○A hashtag gets ≥ 1.4× average engagement
curl -H "X-API-Key: $SA_KEY" -H "X-API-Secret: $SA_SECRET" \
  "https://app.socialanalyze.org/api/v1/insights/recommendations?account_id=$ACCOUNT&locale=tr"
POSTwebhook · insights.audience_updated

Audience changed webhook

Sent when sync refreshes an account's audience mix (age, gender, country, city, YouTube traffic / device) and it changed, to keys with insights:read and a webhook URL (only to those that selected it, if the key has an event selection). The body carries { account_id, platform, updated_at }; fetch the fresh profile with GET /insights/audience. Audience data refreshes from the platforms once a day.

#Webhooks

Instead of polling, let us tell you the result. When you set an https webhook URL on a key, a signed POST is sent: on a Publishing API key whenever the status of a publication created with that key changes, on a Comments API key for comment and DM events on the brand (see Comment webhooks). The URL must be public (internal/private IPs are blocked).

EventWhen
publication.publishedPublished on every target.
publication.partialSome published, others failed.
publication.failedCould not be published anywhere.
publication.updatedEdited from the panel or the API.
publication.cancelledCancelled / deleted.
publication.deletedA published post was deleted from the platforms.
comment.* · message.*Comments API events — see Comment webhooks.

Request headers and body:

JSON
POST /your/webhook  HTTP/1.1
Content-Type: application/json
User-Agent: SocialAnalyze-Webhooks/1.0
X-SocialAnalyze-Event: publication.published
X-SocialAnalyze-Delivery: 2b4f9e6e-…
X-SocialAnalyze-Timestamp: 1790939393
X-SocialAnalyze-Signature: sha256=38877139…

{
  "id": "evt_2b4f9e6e…",
  "type": "publication.published",
  "created_at": "2026-10-10T06:00:07.214Z",
  "data": { …publication object (same as GET /publications/{id})… }
}

Verifying the signature

Signature = HMAC-SHA256(webhook_secret, `${timestamp}.${raw_body}`) (hex) with a “sha256=” prefix. Use the raw body (before parsing), check the timestamp is no older than 5 minutes and compare in constant time. You can view the webhook secret by editing the key in the panel.

import crypto from "node:crypto";

// Express: app.post("/hook", express.raw({ type: "application/json" }), handler)
function verify(req, secret) {
  const ts = req.header("X-SocialAnalyze-Timestamp");
  const sig = req.header("X-SocialAnalyze-Signature") ?? "";
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false; // replay koruması
  const expected = "sha256=" + crypto.createHmac("sha256", secret).update(`${ts}.${req.body}`).digest("hex");
  const a = Buffer.from(sig), b = Buffer.from(expected);
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

Delivery & retries

  • Return 2xx for success. Respond within 10 seconds; push heavy work to the background.
  • A failed delivery is retried after 1 min, 5 min, 30 min, 2 h and 6 h (6 attempts in total), then marked failed. You can retry manually from the key's log in the panel.
  • The same event may arrive more than once (at-least-once): dedupe using the id field.
  • Order is not guaranteed; rely on data.status and updated_at in the event.
  • Use “Send test” in the panel to deliver a ping event.

#Error codes

Every error has the same shape. Branch on the stable error.code, not on the HTTP status or message.

JSON
{
  "error": {
    "code": "validation_failed",
    "message": "Instagram: Reels için tek video seçin.",
    "details": { "targets": { "fb17aa48-a440-470b-af3d-873044f93d54": "Instagram: Reels için tek video seçin." } }
  }
}
HTTPcodeMeaning / fix
401missing_credentialsX-API-Key / X-API-Secret headers missing.
401invalid_credentialsWrong key or secret.
401key_revoked · key_expiredKey revoked / expired; create a new key in the panel.
403ip_not_allowedRequest came from outside the IP allowlist.
403feature_disabled · account_disabledThe API is not in your account's plan / account disabled.
403insufficient_scopeThe key lacks permission for this action (details.required).
403wrong_productA Publishing key called Comments endpoints (or vice versa); create a separate key for that product.
403platform_not_allowed · account_not_allowedPlatform/account is outside this key's permissions.
403plan_limitYour plan's monthly post quota is used up (details.max/used).
400invalid_request · invalid_options · invalid_targetBody/field error; details.issues says which field.
400unknown_platform · schedule_required · publish_with_schedule · ambiguous_schedule · invalid_local_timeBad target or time parameter.
404publication_not_found · media_not_found · not_foundRecord missing or belongs to another brand/source.
409not_editable · publishing · already_publishedThe status does not allow this action (see lifecycle).
409media_in_use · chunk_in_progressMedia in use / previous chunk still writing.
422validation_failedContent unsuitable for a target (details.targets per-account reason).
422no_eligible_targets · no_accounts · no_account_for_platformNo suitable/connected target (see skipped).
422media_not_readyMedia missing or not ready; wait for status: ready.
422source_unreachable · content_length_required · unsupported_typeImport source unreachable / no Content-Length / unsupported type.
400/413/429media_error · unsafe_urlMedia rule (type, size, quota) or unsafe URL.
429rate_limited · daily_limit_reachedPer-minute / daily limit. Wait Retry-After.
429api_quota_exceededYour plan's monthly API post/video allowance is used up (details.limit = apiPublications | apiVideos). It resets on the 1st.
413 · 415payload_too_large · unsupported_media_typeBody too large / wrong Content-Type.
404comment_not_found · conversation_not_found · message_not_found · account_not_foundComments API — record missing or belongs to another brand.
400unsupported · invalid_cursorComments API — the platform does not support the action (see the account's capabilities) / bad cursor.
400 · 409private_reply_window_closed · already_private_replied · comment_deleted · idempotency_in_progressPrivate-reply 7-day window closed / already sent / comment deleted / a request with the same Idempotency-Key is in flight.
409 · 403reconnect_required · missing_permission · account_disconnectedThe account's platform connection must be renewed / permission missing / account removed.
410comment_unavailableThe comment no longer exists on the platform (deleted by its author or removed); the record becomes status: deleted and comment.deleted fires. Do not retry.
429 · 422platform_rate_limited · platform_errorPlatform rate limit / the platform rejected the request. message carries the platform's text, details carries platform_code, platform_subcode and trace_id. Retrying a 422 rarely helps; on 429 retry later.
500internal_errorOur side; retry safely with an Idempotency-Key.

#Limits

ItemLimit
Request ratePer key, per minute; default 60, or the plan ceiling if lower (Studio 30/min). Adjustable in the panel from 1 up to the plan ceiling: Studio 30, Atlas 120, Summit 300, Zenith 600/min.
Daily posts100 in the last 24 h per key (default; 1–5000) — within your plan quota
Daily replies (Comments API)500 write actions per key in the last 24 h (replies + DMs + private replies; default, 1–5000); exceeding returns 429 daily_limit_reached. Reads and moderation (hide, like, delete, status) do not count.
Monthly API allowanceN posts and M videos a month depending on your plan (table below); exceeding returns 429 api_quota_exceeded. GET /me shows your allowance and usage this month.
X postsPosts targeting X also count against your plan's monthly X post allowance, and those with a link in the text against the smaller link-post allowance too. When it's used up, the X target is rejected.
Monthly plan quotaThe monthly scheduled/published post allowance of your workspace plan, shared with the panel (API posts count too)
Scheduling windowNow +1 minute … +1 year
Targets per postUp to 30
Media per postUp to 35 (platform limits also apply)
File sizeImage ≤30 MB (GIF ≤15 MB), video ≤1 GB
Storage2 GB – 2 TB depending on plan (workspace total), 20 open uploads at once. Published content (video, photo, text) is kept permanently; media uploaded through the API but never used in a post is removed after 14 days.
Keys per brand2–20 active keys per brand depending on plan — separately for the Publishing and Comments APIs
Log retentionRequest logs and webhook deliveries kept 30 days

#Plans & API allowance

The external API is metered like a separate service: it has its own monthly post and video allowance, key count and request rate. It is included from Studio up; on a lower plan it can be added as a separate service with an allowance sized to your needs.

PlanPosts / moVideos / moKeys / brandRateStorageWebhook
Spark————2 GB—
Pulse————10 GB—
Studio15030230/min50 GB✓
Atlas1,0002505120/min200 GB✓
Summit5,0001,50010300/min750 GB✓
Zenith25,0006,00020600/min2 TB✓
How are “posts” and “videos” counted?
Every non-draft API post counts as one, no matter how many platforms it goes to. Videos are the video files in those posts. Drafts and validate_only requests do not count. The API allowance comes with your plan; see the Pricing page for plan prices.

#Best practices

  • Put an Idempotency-Key on every POST. Derive it from your content id (e.g. cms-post-4821-v3); retry with the same key on 429/5xx or timeouts.
  • Honour Retry-After on 429 and back off exponentially. Spread bulk imports below the per-minute limit.
  • Get results by webhook. As a safety net, reconcile occasionally with GET /publications?status=publishing,partial,failed.
  • Validate first. In approval flows show users where a post will go (and why not) using validate_only:true.
  • For big videos: media first, post second. Finish import/upload well before the scheduled time; only ready media can be attached.
  • Surface platform errors. On partial/failed, targets[].result.error carries the platform's real error; fix and retry via PATCH + /publish.
  • Grant least privilege. Use the “Scheduling” preset (no immediate publishing) for review workflows, a separate key per integration and an IP allowlist where possible.
  • One key set per brand. A key reaches a single brand; in multi-brand systems keep a brand → key mapping on your side.

#Changelog

DateVersionChange
2026-11-07v1.2Insights API: insights:read permission (on Publishing and Comments keys), GET /insights/audience (audience profile + targeting + AI persona), GET /insights/best-time (performance by publish time, hours views arrive, 1–48 h after-publish view curve), GET /insights/recommendations (actionable recommendations with evidence); insights.audience_updated webhook.
2026-11-02v1.1Comments API: a separate key product (engagement), comment list / thread, reply, hide, like, delete, status, Instagram private reply, DM conversations and sending, Idempotency-Key, per-key daily reply limit; comment.* and message.* webhook events; Publishing / Comments tabs in the panel.
2026-10-02v1.0First release: per-brand key + secret, platform and action permissions, accounts/compatibility, media (chunked upload + URL import), create/edit/cancel/publish, Idempotency-Key, signed webhooks, OpenAPI 3.1.
Need help?
If you get stuck during integration or miss an endpoint, write to us; sharing one row of your request log (time + path + status) is enough. Never share your API key or secret. Contact