EverySocialPost

EverySocialPost API

Version 1. Last updated November 18, 2026. Changelog.

The API lets your own software, a tool like Zapier or Make, or an AI agent publish posts to the social accounts connected in your workspace. Nobody has to sign in to a browser: a key created in Settings does everything the Create post screen does.

Authentication

Create a key under Settings, API keys. Send it with every request:

Authorization: Bearer esp_your_key_here

A key acts with the role of the person who created it and stops working the moment it is revoked. Keep it out of client-side code and public repositories. Requests are limited to 120 per minute per workspace; every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (unix seconds) so you can pace yourself.

Read-only keys. When creating a key, choose Read-only for dashboards, reporting tools or anything that only needs to list posts, channels, comments and analytics. A read-only key gets a 403 on every POST, PUT, PATCH or DELETE, so a leaked reporting key can never publish or delete anything.

Rotation. Press Rotate next to a key in Settings: you get a new key with the same name and access, and the old key keeps working for 24 hours. Update your software with the new key within that window; the old key then stops on its own and disappears from the list. Rotate right away if a key was ever pasted somewhere it should not have been.

When the person who made a key leaves. A key acts with the role of the person who created it. If that person is removed from the workspace, their keys stop working right away (status 401). Have an owner or admin who is staying create the keys your software depends on.

Base URL: https://everysocialpost.com/api/v1. All responses are JSON. Errors look like { "error": { "message": "...", "status": 400 } }.

List your channels

GET https://everysocialpost.com/api/v1/channels
{
  "channels": [
    { "id": "4f6d…", "network": "facebook", "name": "Reyes Bakery", "avatar": "https://…", "status": "connected" },
    { "id": "9c21…", "network": "linkedin", "name": "Maya Reyes", "avatar": null, "status": "needs_reconnect" }
  ],
  "groups": [
    { "id": "b7e0…", "name": "Reyes Bakery", "channels": ["4f6d…", "9c21…"] }
  ]
}

There are two statuses only. needs_reconnect covers every way a connection can stop working (expired token, access removed at the network, changed password); there is no separate expired value.

Each channel also carries connectedAt, lastPublishedAt (the last time a post went out on it), and lastError with lastErrorAt (the reason and time of its most recent failed post, or null), so a channel that says connected but keeps failing is visible in one call.

Networks are facebook, instagram, linkedin, threads, x, youtube, tiktok, pinterest, bluesky, discord and telegram. Every connected account is listed, including ones that stopped working: status is connected or needs_reconnect. A post sent to a needs_reconnect channel is refused with a clear message, and the channel.needs_reconnect webhook (plus an email to the workspace) fires the moment a connection breaks, so an agent never discovers a dead channel by missing a day.

Create a post

POST https://everysocialpost.com/api/v1/posts
Content-Type: application/json

{
  "text": "Saturday sourdough is back. We bake 40 loaves and they usually go by 11.",
  "networks": ["facebook", "instagram", "threads"],
  "mediaUrls": ["https://example.com/photos/sourdough.jpg"],
  "scheduledFor": "2026-11-20T09:00:00-05:00"
}

Fields:

The response is the post with one target per account:

{
  "post": {
    "id": "e8a1…",
    "text": "Saturday sourdough is back…",
    "status": "published",
    "scheduledFor": "2026-11-05T14:02:11.000Z",
    "finishedAt": "2026-11-05T14:02:19.000Z",
    "media": ["02f2…"],
    "targets": [
      { "channel": "4f6d…", "network": "facebook", "name": "Reyes Bakery", "status": "published", "error": null, "url": "https://www.facebook.com/…", "publishedAt": "2026-11-05T14:02:15.000Z" },
      { "channel": "7b09…", "network": "threads", "name": "@reyesbakery", "status": "pending", "error": null, "url": null, "publishedAt": null }
    ]
  }
}

Post status is one of scheduled, publishing, published, partially_failed or failed. Target status is pending, published or failed. When you publish right away we try immediately and return what we know; networks that take longer (video processing, carousels) finish in the background within a minute or two, so poll the post until every target is settled.

Check a post

GET https://everysocialpost.com/api/v1/posts/{id}

Returns the same shape as above with the latest status, the live link for each account and the reason if one failed.

List recent posts

GET https://everysocialpost.com/api/v1/posts?limit=50
GET https://everysocialpost.com/api/v1/posts?from=2026-11-14&to=2026-11-15&status=failed&channel=4f6d…

Optional filters, combined with AND: status (draft, scheduled, publishing, published, partially_failed, failed), channel (a channel id), network, and from / to (ISO 8601 dates or times, compared with the time the post was scheduled for; to is exclusive, and a date without a time is read as midnight UTC, so send an offset such as 2026-11-14T00:00:00-05:00 for a local day; drafts have no time and are left out when a date filter is used). limit is 1 to 200. The list covers the 500 most recent posts of the workspace; for older history use the export.

Paging: add offset (0 or more). The answer carries total (everything that matched), limit, offset and hasMore, so you can walk the list and reconcile a count.

{ "posts": [ ... ], "total": 37, "limit": 50, "offset": 0, "hasMore": false }

Workspace, plan and usage

GET https://everysocialpost.com/api/v1/workspace
{ "workspace": {
  "id": "569f…", "name": "Reyes Bakery", "timezone": "America/New_York", "createdAt": "2026-11-05T02:44:43.000Z", "requireApproval": false, "members": 1,
  "plan": { "id": "pro", "name": "Pro", "internal": false, "subscription": "active", "interval": "month", "renewsAt": "2026-12-05T02:44:43.000Z" },
  "limits": { "channels": 15, "postsPerMonth": null, "storageBytes": 10737418240, "api": true, "team": true, "x": true },
  "usage": { "channels": 6, "postsThisMonth": 41, "storageBytes": 10756987, "mediaFiles": 9 }
} }

The plan shown is the one in force, with its limits and what is used against them. postsPerMonth is null when posts are unlimited. internal is true only for workspaces run by EverySocialPost itself, which have Agency limits without a subscription.

Conventions

Every time in the API is ISO 8601 in UTC with milliseconds and a Z, for example 2026-11-08T23:51:42.705Z. Every error is JSON: { "error": { "message": "…", "status": 404 } }, including an address under /api/v1 that is not an endpoint.

Bulk scheduling

POST https://everysocialpost.com/api/v1/posts/bulk
{ "dryRun": true, "posts": [ { "text": "Fresh bread at 7", "networks": ["facebook"], "scheduledFor": "2026-11-20T09:00:00-05:00", "mediaUrls": ["https://example.com/bread.jpg"] }, ... ] }

POST https://everysocialpost.com/api/v1/posts/bulk        (Content-Type: text/csv, the same columns as the dashboard template; add ?dryRun=true to only check)

Up to 200 posts per call. Every row is checked first with the same rules as a single post; with dryRun you get the checks and nothing is saved. Without it, rows that pass are created in order and the response lists every row with its post or its problem (created, failed, results[]). A media URL used by several rows is fetched once. The same thing is available in the dashboard under Posts, "Schedule from a spreadsheet".

Drafts

POST https://everysocialpost.com/api/v1/posts
{ "text": "Idea for Friday", "draft": true }

draft: true saves the post without sending it; channels and media are optional at this stage. Drafts are listed with GET /posts?status=draft, show in the dashboard under Drafts, and are edited, scheduled or sent with the PATCH below.

Edit a draft or a scheduled post

PATCH https://everysocialpost.com/api/v1/posts/{id}
{ "text": "Open until 7 today.", "mediaUrls": ["https://example.com/new-photo.jpg"] }

Send only what changes: text, channels / networks / groups, media / mediaUrls (the new list replaces the old one), options, scheduledFor. A scheduled post keeps its time unless you send a new scheduledFor. { "draft": true } takes a scheduled post off the schedule; { "publish": true } sends a draft now; scheduledFor schedules a draft. Everything is checked first, exactly like dryRun: a refused edit answers 422 (or 404 for an unknown channel) and leaves the post as it was. A post that is publishing or already went out answers 409. To replace a broken file on a post that failed, create the corrected post again; a post that went out cannot be changed here.

Retry failed accounts

POST https://everysocialpost.com/api/v1/posts/{id}/retry

Re-sends only the accounts that failed. Accounts that already published are never sent twice.

Approvals

POST https://everysocialpost.com/api/v1/posts/{id}/approve
POST https://everysocialpost.com/api/v1/posts/{id}/reject      { "note": "Fix the price before this goes out." }

When a workspace turns on Require approval (Settings), posts queued with an editor's key get "approval": "pending" and nothing is sent until an owner, admin or reviewer approves. Approving a post whose time has passed sends it right away. Rejecting moves it back to drafts with "approval": "rejected" and the note in approvalNote, and emails the author. Keys of owners and admins publish without waiting. Every post carries approval: none, pending, approved or rejected.

Cancel or delete a post

DELETE https://everysocialpost.com/api/v1/posts/{id}

A scheduled post is cancelled and removed. A post that already went out is removed from EverySocialPost only; it stays on the networks.

Preflight a post (dryRun)

POST https://everysocialpost.com/api/v1/posts
{ "text": "…", "networks": ["facebook", "x"], "scheduledFor": "next", "dryRun": true }
{
  "preflight": {
    "ok": true, "problems": [],
    "scheduledFor": "2026-11-08T14:00:00.000Z", "timezone": "America/New_York",
    "targets": [{ "channel": "4f6d…", "network": "facebook", "name": "Reyes Bakery", "ok": true, "problem": null, "textLength": 82 }],
    "xCredits": { "needed": 5, "balance": 460, "ok": true }
  }
}

scheduledFor is the exact time the post would fire, resolved in the workspace timezone (for "next", the next open posting time). Posts fire within one minute of that time; daylight-saving changes are handled by the timezone, so a 9:00 slot stays 9:00 local.

Export

GET https://everysocialpost.com/api/v1/export?format=csv&days=30
GET https://everysocialpost.com/api/v1/export?format=json

CSV: one row per post and channel with status, link, error, published time and the stored engagement numbers (likes, comments, shares, views). JSON: the whole workspace (settings, members, channels, groups, brand, posting times, media list, webhooks, key names, posts with targets). Owner or admin keys only. The export never contains a secret: API keys are stored only as a one-way hash, so the full key cannot be exported (or shown again) by anyone, and each key appears as its name, its first 12 characters, its access and its dates. Connection tokens and webhook signing secrets are left out entirely.

Retention: your data stays until you delete it or close your account; an account deletion request is completed within 30 days. See the Privacy policy and the Data processing addendum.

Brand

GET https://everysocialpost.com/api/v1/brand
PUT https://everysocialpost.com/api/v1/brand      { "hashtags": ["#reyesbakery", "#plainfieldnj"], "signature": "Order ahead at reyesbakery.com", "colors": { "primary": "#1E2761" } }

The workspace brand: name, website, logoMediaId (an image in the library, served at /api/media/{id}), colors.primary and colors.accent (hex), hashtags (up to 30), signature (up to 300 characters) and notes: the voice and rules the owner wrote for agents, up to 2,000 characters. Read it before writing posts. PUT merges: send only the fields you change. When creating a post, "applyBrand": true appends the hashtags and signature that the text does not already contain.

Analytics

GET /posts/{id}/analytics returns engagement numbers per network for one published post. Numbers are cached for an hour and refreshed in the background a few times a day; add ?refresh=true to pull them on the spot. Metric names are the same everywhere they apply: likes, comments, shares, views, reposts, quotes.

{
  "analytics": {
    "postId": "7c1e…",
    "targets": [
      { "targetId": "…", "network": "youtube", "available": true, "metrics": { "views": 1500, "likes": 40, "comments": 7 }, "fetchedAt": "2026-11-07T20:10:00Z", "error": null },
      { "targetId": "…", "network": "tiktok", "available": false, "metrics": null, "fetchedAt": null, "error": "TikTok metrics need the video.list permission, which is part of the next TikTok review." }
    ],
    "totals": { "views": 1500, "likes": 40, "comments": 7 }
  }
}

Today the numbers come from Facebook Pages (likes, comments, shares), Instagram (likes, comments), YouTube (views, likes, comments) and Bluesky (likes, reposts, replies, quotes). Other networks return available: false with the reason. GET /analytics?days=30 (1 to 365) summarizes the workspace from stored numbers: posts and channel posts (targets) published, totals per network, the best posts, and lastMeasuredAt.

GET /analytics/accounts?days=30 (7, 30 or 90) returns the account numbers shown on the Analytics page: for each connected channel its followers, following, posts and views where the network reports them, followersChange and viewsChange over the period, the daily series and measuredAt; and for the workspace totalFollowers, followersChange, totalViews, viewsChange and trackingSince. Numbers are daily snapshots from Facebook Pages, Instagram, YouTube, Bluesky and X; growth starts the day after an account is first measured, so a change is null until two days exist. A channel the network gives no numbers for has available: false and a reason.

Comments

GET  https://everysocialpost.com/api/v1/posts/{id}/comments?channel={channelId}
POST https://everysocialpost.com/api/v1/posts/{id}/comments      { "channel": "4f6d…", "commentId": "1234_5678", "message": "Thank you! We ship nationwide." }

Reads the comments on a published Facebook Page or Instagram post and replies as the Page or account. Each comment carries id, text, author, createdAt, likes, replies, canReply, fromUs and nested children. The response's canReply says whether the channel was connected with comment permissions (Facebook: pages_read_user_content and pages_manage_engagement; Instagram: instagram_manage_comments); a channel connected without them returns a 409 asking to reconnect it.

Webhooks

Instead of polling, register an https URL and receive signed JSON events. Owners and admins can manage webhooks; up to 10 per workspace.

POST https://everysocialpost.com/api/v1/webhooks
{ "url": "https://agent.example.com/esp", "events": ["post.created", "target.published", "target.failed", "post.completed", "channel.needs_reconnect"], "description": "Muse" }

{ "webhook": { "id": "c1d2…", "url": "…", "events": […], "active": true, "secret": "whsec_…" } }

The secret is shown once. Each delivery is a POST with headers X-ESP-Event, X-ESP-Delivery and X-ESP-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of <t>.<raw body> with the secret. Reply 2xx within 10 seconds; anything else is retried with backoff (1, 5, 15, 60, 240, 720 minutes). After 50 consecutive failures the webhook is paused; PATCH https://everysocialpost.com/api/v1/webhooks/{id} with { "active": true } resumes it. GET lists webhooks, DELETE removes one.

{
  "event": "target.published", "occurredAt": "2026-11-07T15:02:15.000Z", "workspaceId": "…", "id": "delivery id", "attempt": 1,
  "data": { "postId": "e8a1…", "targetId": "…", "channelId": "4f6d…", "network": "facebook", "name": "Reyes Bakery", "url": "https://www.facebook.com/…", "providerPostId": "…" }
}

Events: post.created (queued, with the resolved time and approval), post.approval_requested, post.approved, post.rejected, target.published, target.failed (final failure after retries, with needsReconnect), post.completed (every target settled, with the final status of each) and channel.needs_reconnect. credits.low fires when X credits run low (see X credits).

Webhook delivery history

GET https://everysocialpost.com/api/v1/webhooks/{id}/deliveries?limit=20

The last deliveries of one webhook, newest first (up to 100): event, attempts, createdAt, deliveredAt, nextAttemptAt while retries remain, the HTTP status your endpoint answered and the error if it could not be reached. Owner or admin keys only.

API keys in use

GET https://everysocialpost.com/api/v1/keys

The keys of the workspace: id, name, prefix (first 12 characters), scope, createdAt, lastUsedAt and, for a rotated key, expiresAt. Never the key itself. Creating, rotating and revoking stay in Settings. Owner or admin keys only.

Activity history

GET https://everysocialpost.com/api/v1/activity?limit=50
GET https://everysocialpost.com/api/v1/activity?action=post.edited&before=1234
{ "activity": [
  { "id": "1240", "at": "2026-11-14T18:02:11.000Z", "action": "post.scheduled", "actor": "maya@example.com", "via": "api", "apiKey": "Muse production", "subject": "7b1e…", "detail": { "scheduledFor": "2026-11-20T14:00:00.000Z", "approval": "approved", "channels": 3 } }
], "nextBefore": "1191" }

Who did what, newest first: posts (scheduled, sent, moved, edited, approved, sent back, retried, deleted), media deleted, channels connected and disconnected, keys, webhooks, team changes and exports. via is app or api; with api, apiKey is the name of the key. Page with before set to the previous nextBefore. The history starts on November 14, 2026; earlier actions were not recorded. Owner or admin keys only.

X credits

GET https://everysocialpost.com/api/v1/credits
{ "x": { "balanceCents": 460, "postCents": 5, "linkPostCents": 40, "low": false, "lowThresholdCents": 100, "companyAccount": false, "packsCents": [500, 1000, 2500], "customAmountCents": { "min": 500, "max": 50000, "step": 100 }, "topUpUrl": "https://everysocialpost.com/dashboard/billing" } }

Check the balance before a batch; a create that the balance cannot cover is refused with status 402 before anything is queued. When the balance of a workspace that has bought credits falls under lowThresholdCents, the workspace gets one email and one credits.low webhook (balanceCents, thresholdCents); it is checked every hour and sent again only after a top-up and a new dip.

Health

GET https://everysocialpost.com/api/health

Upload media first (optional)

Send the file bytes, or a JSON body with a public URL, and use the returned id in media: The same file uploaded twice is stored once: the second upload answers with the id of the first and uses no extra storage.

POST https://everysocialpost.com/api/v1/media
Content-Type: image/jpeg
X-File-Name: sourdough.jpg

<binary file>
POST https://everysocialpost.com/api/v1/media
Content-Type: application/json

{ "url": "https://example.com/photos/sourdough.jpg" }
{ "media": { "id": "02f2…", "name": "sourdough.jpg", "mime": "image/jpeg", "size": 183204 } }

Accepted: JPG, PNG, GIF, WebP, MP4 and MOV. A single request takes files up to 20 MB; larger files (up to 2 GB) use the resumable upload below. Storage per workspace: Free 100 MB, Starter 2 GB, Pro 10 GB, Agency 50 GB.

Delete media

DELETE https://everysocialpost.com/api/v1/media/{id}

Frees storage. A file used by a draft, a scheduled post or a post with a failed account answers 409, because that post still needs it. Once a post has gone out on every account, its files can be deleted; the post, its links and its numbers stay. Storage in use is in GET /workspace under usage.storageBytes.

Large files: resumable upload

Announce the file, send it in 10 MB parts (any order, each part can be resent after a failure), then complete. The file is checked (type, size) when you complete.

POST https://everysocialpost.com/api/v1/media/uploads
{ "name": "episode-12.mp4", "mime": "video/mp4", "size": 734003200 }

{ "upload": { "id": "b3c4…", "partSize": 10485760, "parts": 70, "name": "episode-12.mp4", "mime": "video/mp4", "size": 734003200 } }

PUT https://everysocialpost.com/api/v1/media/uploads/{id}/parts?part=1
Content-Type: application/octet-stream
<bytes 0 to 10485759>

{ "id": "b3c4…", "part": 1, "etag": "…", "size": 10485760 }

POST https://everysocialpost.com/api/v1/media/uploads/{id}
{ "parts": [{ "part": 1, "etag": "…" }, { "part": 2, "etag": "…" }] }

{ "media": { "id": "b3c4…", "name": "episode-12.mp4", "mime": "video/mp4", "size": 734003200 } }

Every part except the last must be exactly partSize bytes. DELETE https://everysocialpost.com/api/v1/media/uploads/{id} abandons an upload; unfinished uploads are dropped after a day. Use the returned media id in media when you create the post.

Example with curl

curl -X POST https://everysocialpost.com/api/v1/posts \
  -H "Authorization: Bearer esp_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text":"Open until 6 today.","networks":["facebook","x"]}'

For AI agents

If you are an agent acting for a customer, ask them for a key from their Settings page and keep it in your secret store. Call the channels endpoint first so you post to the accounts the customer actually connected, send one request per post, and read each target's error before retrying. Posting to X is paid from the workspace's prepaid X credits ($0.05 per post, $0.40 per post with a link); a request that would exceed the balance is rejected with status 402 and a message, and a failed post is never charged, so do not loop on failures.

Changelog

Questions or a missing feature: hello@everysocialpost.com (read by a person). Back to EverySocialPost.