Tutorials

How a Unified Social Media API Posts to 14 Networks With One Request

Taras Shynkarenko
•Updated: •6 min read
How a Unified Social Media API Posts to 14 Networks With One RequestHow a Unified Social Media API Posts to 14 Networks With One Request

TL;DR, Quick Answer

6 min read

AdaptlyPost's REST API is a unified social media API: one POST /social-posts request publishes or schedules a post on Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, Bluesky, Mastodon, Telegram, Google Business Profile, Tumblr and WordPress, with per-network text, media and settings in the same body. Authenticate with a Bearer key starting adaptly_ from adaptlypost.com/api-tokens; the key carries a workspace role. Validate a post before creating it, bulk schedule up to 100 posts per call, upload media through presigned URLs, and get signed webhooks when posts publish or fail. The limit is 600 requests per minute per key. The API, an OpenAPI document and a typed SDK come with every plan from $19 a month.

A unified social media API gives you one request shape, one authentication scheme and one error format for every network, so posting to Instagram, LinkedIn and TikTok is the same call with different account ids. AdaptlyPost's REST API is one: a single POST /social-posts publishes or schedules a post across 14 networks.

The alternative is writing fourteen integrations. Each network has its own OAuth app review, upload protocol, rate limits and error codes, and each one changes on its own schedule. I've lost weeks to Instagram's container status polling alone. A unified API moves that work to someone whose whole job is keeping it working.

The short version: create a key at adaptlypost.com/api-tokens, call GET /social-accounts for your account ids, then send POST /social-posts with text, media URLs and those ids.

What is a unified social media API?

A unified social media API is one API that posts to many social networks through the same endpoints, so your code never talks to Instagram's or LinkedIn's API directly. The provider holds the network connections, converts your request into each network's format, and returns one result per account.

With AdaptlyPost, the networks are Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, Bluesky, Mastodon, Telegram, Google Business Profile, Tumblr and WordPress. Your users connect accounts with the network's own sign-in, and AdaptlyPost stores and refreshes the tokens.

Who does the network work
Fourteen integrations
  • An OAuth app review for each network
  • A separate upload protocol for each
  • Different rate limits and error codes
  • Changes on fourteen separate schedules
One unified API
  • One authentication scheme
  • One request shape
  • One error format
  • The provider holds the network connections
The networks' own limits still apply when you post through a unified API.

How do you authenticate?

You authenticate with an API key in the Authorization: Bearer header. Keys start with adaptly_, belong to one workspace, and carry the role you pick when you create them at adaptlypost.com/api-tokens.

RoleWhat the key can do
AdminEverything, including connecting accounts, connect links, members and workspaces
EditorCreate, schedule, publish, retry and delete posts, manage webhooks, upload media, use AI
ContributorCreate and edit its own drafts, upload media, use AI
ViewerRead posts, accounts and analytics

A key never does more than the member who created it. GET /me returns the key's workspace, role and permissions, which is the first call worth making in a new integration. OAuth tokens also work, and reach every workspace their member belongs to.

A developer types code on a laptop, the kind of work it takes to send a first post through the API.

How do you create your first post?

You create a post with POST /social-posts at https://post.adaptlypost.com/post/api/v1, sending the text, a content type, the account ids and, for a scheduled post, scheduledAt with a timezone. The response returns the post id right away; publishing happens in the background.

curl https://post.adaptlypost.com/post/api/v1/social-posts \
  -H "Authorization: Bearer $ADAPTLYPOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "We shipped dark mode today.",
    "contentType": "IMAGE",
    "mediaUrls": ["https://cdn.example.com/dark-mode.png"],
    "accountIds": ["<instagram id>", "<linkedin id>", "<bluesky id>"],
    "scheduledAt": "2026-12-08T09:00:00Z",
    "timezone": "Europe/Warsaw"
  }'

Per-network differences go in the same body: platformTexts for different text per network, platformMedia for different files, and each network's own settings, such as Instagram Reels or a YouTube title and privacy. The posting API page lists every field by network.

AdaptlyPost's social media posting API page, with a POST /social-posts request and the posts it published.

How do you know a post will be accepted?

You check it with POST /social-posts/validate before creating it. Validate runs every check that create runs and returns each problem per network, without creating anything. Text over a network's limit, a video too long for TikTok or a missing YouTube title all come back as issues with a code and a message.

Because publishing is asynchronous, a created post isn't a published post. Read the outcome with GET /social-posts/{id}/results, or better, subscribe to webhooks: post.published, post.partially_failed and post.failed arrive signed the moment each network answers. The social media webhooks guide covers the events and signature check.

How does media upload work?

Media goes in as public HTTPS URLs in mediaUrls. AdaptlyPost copies each file into its own storage before posting, so a URL only needs to be reachable at creation time. For local files, POST /upload-urls returns presigned upload URLs; send the bytes straight to storage, and use the public URL you get back.

The upload route accepts JPEG, PNG and WebP images, MP4 and QuickTime video, and PDF, PowerPoint and Word files for LinkedIn document posts. The SDK wraps the whole flow in one media.upload call that takes a file's bytes.

What are the limits?

The API allows 600 requests per minute per key and answers 429 with a Retry-After header past that. POST /social-posts/bulk schedules up to 100 posts per call, and a workspace holds up to 10 webhooks.

AdaptlyPost API limits
600
Requests per minute, per key. Every response carries RateLimit headers.
100
Posts per bulk call, with a matching route that validates the batch first.
10
Webhooks per workspace, each with its own events and signing secret.
The networks' own limits still apply on top, such as Instagram's 100 API posts per 24 hours.

The networks' own caps still count. The 429 and Retry-After guide covers how to back off, and the Instagram API limit post covers the cap people hit first.

A small team works together on laptops, like an agency setting up account connections for its customers.

Can your users connect their own accounts?

Your users connect their own accounts through connect links: POST /connect-links returns a start URL per network, your app sends the user there, they approve on the network's own consent screen, and they come back to your returnUrl with the new account ids. The tokens stay with AdaptlyPost.

That's the piece that makes the API usable inside a product. An agency tool or a SaaS app shows its own "Connect Instagram" button, and an Admin key can create a workspace per customer with POST /workspaces so each customer's accounts stay apart.

What else does the API cover?

Beyond posting, the API reads analytics, answers the inbox, generates captions and images, and manages workspaces and team members. The same operations are available as an MCP server for AI agents, a TypeScript SDK and a CLI.

AreaExamples
PostsCreate, validate, bulk schedule, retry failed networks, recurring posts, labels
AnalyticsOverview, time series, per-post metrics, top posts
InboxComments, mentions, messages and Google reviews, with replies
AIGenerate and refine captions, generate images
TeamWorkspaces, members, invitations, connect links
RSSFeeds that turn new articles into posts

The OpenAPI document lives at https://post.adaptlypost.com/post/api/v1/openapi.json, so you can generate a client in any language. For a comparison with other schedulers' APIs, see the best social media scheduling API roundup.

Frequently Asked Questions

Is there one API for all social media platforms?

AdaptlyPost's REST API posts to 14 networks through one set of endpoints: Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, Bluesky, Mastodon, Telegram, Google Business Profile, Tumblr and WordPress.

Do I need developer apps on each network?

You don't need your own developer apps. AdaptlyPost posts through its own approved apps, and accounts connect with each network's normal sign-in.

How much does the AdaptlyPost API cost?

API access comes with every AdaptlyPost plan: Creator at $19 a month, Pro at $39 and Enterprise at $89, each with a 7-day free trial.

What is the API's rate limit?

The API allows 600 requests per minute per key and returns 429 with a Retry-After header when you exceed it. The SDK and CLI retry after that header on their own.

Can I schedule posts in bulk?

POST /social-posts/bulk schedules up to 100 posts in one call, and POST /social-posts/bulk/validate checks the whole batch first without creating anything.

Is there an OpenAPI spec?

The OpenAPI document is at https://post.adaptlypost.com/post/api/v1/openapi.json. The TypeScript SDK is generated from it.

Can I check a post before publishing it through the API?

POST /social-posts/validate runs every check that create runs, without creating anything. It returns each problem per network with a code and a message, such as text over a network's limit or a missing YouTube title.

How do I know if my API post was published?

Publishing happens in the background, so a created post isn't a published post yet. Call GET /social-posts/{id}/results, or subscribe to the post.published, post.partially_failed and post.failed webhooks. The webhooks arrive signed.

How do I upload local images or videos through the API?

Call POST /upload-urls to get presigned upload URLs, send the file straight to storage, and use the public URL you get back in mediaUrls. The TypeScript SDK does the whole flow in one media.upload call.

Can my app's users connect their own social accounts?

They can, through connect links. POST /connect-links returns a start URL per network, the user approves on that network's consent screen, and they come back to your returnUrl with the new account ids. The tokens stay with AdaptlyPost.

Was This Article Helpful?

Let us know what you think!

See us more often in Google

One click marks AdaptlyPost as a preferred source, so our articles sit higher in your Top Stories, AI Mode, and AI Overviews.

Related Articles