Solutions / Social media management API
Social media management API
Build your own social dashboard, agency tool or internal marketing bot without writing fourteen integrations. Your users connect their accounts with each platform's own sign-in; you get one REST API for posts, comments, DMs, reviews, analytics and webhooks.
- Publishing
- Scheduling
- Comment moderation
- Direct messages
- Reviews
- Analytics
- Webhooks
curl -X POST https://api.zaynstack.com/v1/posts \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "ZaynCleaner 1.0: give your Mac room to breathe.",
"media": [{ "source_type": "url", "source": "https://zaynstack.com/media/screens/zayncleaner/clean-scan.jpg", "type": "image" }],
"targets": [
{ "account_id": "<instagram-account-id>" },
{ "account_id": "<facebook-account-id>" }
],
"scheduled_at": "2026-12-06T10:00:00Z"
}'How it works
Four calls from zero to live
1Let a user connect
Ask for a connect link and send the person there. They approve on the platform's page and come back to your app.
POST /v1/accounts/connect { "platform": "instagram", "redirect_uri": "https://yourapp.com/connected" } → { "auth_url": "https://www.instagram.com/oauth/authorize?…" }2Publish or schedule
One body, many targets. Per-account overrides when a network needs a different caption or title.
POST /v1/posts { "text": "…", "targets": [{ "account_id": "…" }], "scheduled_at": "…" }3Moderate and reply
Comments, DMs, mentions and reviews come back in one shape. Reply, hide, like or delete with the same calls everywhere.
GET /v1/inbox/comments POST /v1/inbox/comments/{post}/{comment}/replies POST /v1/inbox/conversations/{id}/messages4Listen with webhooks
Get comment.received, dm.received, post.published and 22 more events, signed and retried.
POST /v1/webhooks { "url": "https://yourapp.com/hooks", "events": ["comment.received", "post.failed"] }
Included
What else comes with it
Brands for every client
Group a client's accounts into a brand and give each API key access to only the brands it should touch.
Invite links
Send an account owner a one-time link: they connect their own profile into your brand without a login.
Queues
Weekly posting slots per brand. Send a post with queue_id and it takes the next free time.
Analytics
Daily account and post metrics stored for you, plus CSV exports per account.
Automations
Auto-reply to comments and DMs on Instagram and Facebook by keyword.
MCP built in
Every endpoint is also a tool for Claude, ChatGPT or Cursor at /mcp.
Networks
Works on
Questions
Do my users need developer accounts?+
No. You register one app per platform; your users only click Connect and approve.
Which platforms support inbox features?+
Comments on Instagram, Facebook, Threads, YouTube, X, Bluesky and LinkedIn; DMs on Instagram, Facebook, WhatsApp, Telegram, X, Bluesky and Zalo; reviews on Google Business and App Store Connect. See each platform page for details.
What happens when a platform cannot do something?+
The API answers 501 resource.not_supported with the platform named, so your code can branch instead of guessing.
Also