Social publishing API

Publishing is a lifecycle. PostGate's API treats it like one.

"Posting" suggests a single fire-and-forget call. PostGate models it as what it actually is: content moves from draft or scheduled, through per-target delivery, to a terminal outcome — published, partial, or failed. Call it a social media posting API, a content publishing API, or an autoposting API — underneath, one POST /api/posts call and a structured delivery lifecycle is what backs all of them.

Why this matters

What "publishing" means in PostGate's model

Four ways to publish, one endpoint

draft: true saves a post for approval before anything goes out. An ISO 8601 scheduled_at publishes at a fixed instant. scheduled_at: "queue" drops it into the next open recurring slot from a cron or slot schedule. Omit all three and delivery starts immediately.

A real per-target delivery lifecycle

Each platform target moves through pending, media_ready, publishing, and sometimes reconciling or retry_scheduled, before landing on published, failed, or skipped. This isn't cosmetic state — it's what delivery evidence is built on.

Webhooks tell you when it's actually true

Subscribe to post.draft, post.scheduled, post.published, post.partial, and post.failed — signed, HMAC-verified events instead of polling for a state change. See the full event catalog.

How it works

From content to proof of delivery

01

Draft, schedule, or queue content

Create a post in whichever state fits your workflow — pending approval, timed for later, or queued into a recurring publishing slot.

02

PostGate delivers and tracks lifecycle state

Each platform target is rendered, delivered, and retried independently, with its state visible at every step — not just at the end.

03

Get notified when it's terminal, with evidence

A signed webhook or a status read returns the permalink, platform ID, and error detail for every target — the record of what actually published.

Related

See the same API from two other angles

Social media API

The broader picture: connecting accounts, publishing, and the developer surface PostGate exposes end to end.

Get started

Publish with a real lifecycle on the free sandbox plan

Free, Solo, Launch, and Build plans all include drafts, scheduling, queueing, and webhooks — the difference is connected profiles, posting volume, and entitlements like white-label and BYOK.