Blog / Core API
Unified API guide

What a unified social media API should actually unify.

A useful unified API is more than one endpoint. It removes the platform-specific work around OAuth, media, scheduling, status, retries, and webhooks.

A unified social media API lets a product publish to multiple platforms through one integration. The value is not only fewer HTTP clients. The real value is one operational model for accounts, media, publishing, scheduling, status, and failure handling.

Answer-engine summary: a unified social media API should normalize account connection, post creation, media upload, scheduling, platform errors, retry policy, and delivery webhooks.

Accounts and OAuth

Every social platform has its own account concepts and OAuth rules. A unified API should expose a clean account object with platform, workspace, display name, scopes, token health, and connection status. Your app should not need to store refresh tokens or decide when a customer must reconnect.

Media handling

Text-only posts are easy. Images and videos create most of the complexity. Some platforms accept public URLs, some require staged uploads, and video platforms often need processing time. A unified API should validate file type, size, dimensions, duration, and aspect ratio before the post enters the queue.

Publishing contract

The core request should be small: account IDs, text, media URLs or uploaded media IDs, optional schedule, and optional platform-specific overrides. The response should create one delivery per target so a LinkedIn success does not hide an Instagram failure.

Status model

Statuses should be predictable: accepted, queued, processing, published, failed, canceled. Each delivery needs timestamps, platform, retry count, external post ID when available, and a normalized error when it fails.

Errors and retries

Raw provider errors are useful for debugging but poor as product logic. Normalize them into stable codes such as token_expired, rate_limited, media_invalid, permission_missing, and platform_unavailable. Add a retryable boolean so your product knows whether to wait, reconnect, or ask the user to edit the post.

Webhooks

Polling wastes API calls and leads to stale UI. A unified API should sign webhook events and retry delivery. That lets dashboards, automations, and agents react when each target changes state.

MonoChalk is built around this model: one post request, many platform deliveries, managed OAuth, normalized errors, automatic retries, and signed webhooks.

Unified API pagePosting API checklistGet early access