Log inStart Free Trial
easyCoexistence Official APIs

How to launch Instagram, Facebook and TikTok features in your SaaS in days, not months

A SaaS launches Instagram, Facebook and TikTok features in days by building on a provider that already holds each network's access, instead of passing Meta's App Review and TikTok's audit itself. easyCoexistence's Partner API gives one API key for connect sessions, posts, signed webhooks and automations on official APIs, renews tokens, checks every account every 6 hours and charges per connection.

easyCoexistence is social media infrastructure for AI agents: its Partner API connects your customers' WhatsApp, Instagram, Facebook and TikTok accounts to your product, with no app review on your side.

Advanced Access

What a Meta app needs to serve Instagram professional accounts it doesn't own or manage; it requires App Review and Business Verification.

SELF_ONLY

The viewership TikTok holds unaudited Content Posting API clients to, for up to 5 users in 24 hours.

Mar 20, 2026

Since then, a TikTok API for Business app requesting TikTok Accounts first needs an Accounts API access application form.

60 days

How long a refreshed Instagram token stays valid, counted from the day it was refreshed.

1 day

Validity of a TikTok account access token from the API for Business, renewed with a refresh token that lasts a year.

15 a day

Video posts TikTok's API for Business allows per account, at most six a minute.

What does it take to add these networks on your own?

Approvals from Meta and TikTok, a token lifecycle per network and something that notices when an account drops. Meta's Instagram Platform docs say an app serving Instagram professional accounts it does not own or manage needs Advanced Access, which requires App Review and Business Verification. On TikTok, a Content Posting API app posts privately until TikTok audits it, and an API for Business app needs an approved company developer profile, an app review and, since March 20, 2026, the Accounts API access form. After launch, Instagram tokens must be refreshed before their 60 days run out and TikTok's access tokens last a day, while each network's webhooks need subscribing and verifying. None of it is your product. Side by side:

On your ownOn easyCoexistence
Meta accessApp Review and Business Verification for Advanced AccesseasyCoexistence's own Meta app, already reviewed
TikTok accessA developer app; Content Posting posts stay private until the auditeasyCoexistence's app on TikTok's API for Business
Customer sign-inAn OAuth flow per networkOne hosted connect page per session
TokensInstagram's refreshed before 60 days, TikTok's dailyRenewed by easyCoexistence
Dropped accountsYour own checks and alertsChecked every 6 hours, with signed channel.* events

What does one API key cover?

The four parts a social feature is made of, for each customer's account, under one ec_live_ key kept on your server. Connect sessions put the account in: POST /connect-sessions with channel set to instagram, facebook or tiktok returns a hosted URL, valid for an hour, where the customer signs in with the network's own login and comes back to your redirect_url with a channel_id. They need no easyCoexistence account, email or card. Your external_ref rides on each connection, event and list, so every account maps to your customer. The Partner API reference has the full shapes; the rest works on the channel_id:

  • Posts: publish now or 1 minute to 90 days ahead on Instagram (photos, carousels of 2 to 10, Reels, Stories), Facebook Pages (text, link, photo, video) and TikTok (videos, photo posts).
  • Webhooks: Instagram and Facebook comments, mentions and DMs, and TikTok comments, relayed to your endpoint as they arrive and signed per account with X-EC-Signature.
  • Automations: dm_received, comment_received and tag_added triggers on Instagram and Facebook, comment_received on TikTok, with replies, ai_reply, hide_comment and call_webhook steps.
  • Status: signed channel.* events when an account drops or comes back, and post.published or post.failed for each post.

How do Instagram and Facebook features work without the token?

Through easyCoexistence, which keeps the token because Meta's terms do not allow handing it to another app. For an Instagram account or a Facebook Page, GET /channels/{id}?credentials=1 returns the Graph API base and the account's id with no token, and easyCoexistence acts on the account for you: the posts endpoint publishes, the webhook brings in comments, mentions and DMs, and automations reply. When your own code or model should write the reply, a call_webhook step POSTs the event to your URL, signed with X-EC-Signature. Answer {"reply": "..."} and easyCoexistence sends that text to the person, as a DM on Instagram or a Messenger message on Facebook. An ai_reply step writes it with your own Anthropic, OpenAI or OpenRouter key instead. TikTok differs: its token comes back from credentials=1 for your own calls, renewed daily. The MCP server signs in with OAuth rather than a key, so it serves your team's assistant, not your backend.

What does a realistic launch plan look like?

Four releases, each useful on its own and none waiting on a platform review. Start with the key and a Connect button, so customers link accounts and you watch them arrive with their external_ref. Posting comes next: a composer or scheduler is one endpoint plus the events that report each post. Then the inbox, relaying each channel's comments and DMs to your endpoint, and automations that answer them, with your own code behind a call_webhook step wherever the reply needs your data. Status events run underneath from the first release, so your product can ask a customer to reconnect when channel.disconnected arrives.

1Key and ConnectAn ec_live_ key and POST /connect-sessions behind a button
2PostingPOST /channels/{id}/posts, now or up to 90 days ahead
3InboxPUT /channels/{id}/webhook relays comments and DMs
4AutomationsReplies, ai_reply or call_webhook on each channel

Which platform rules still apply to your customers' accounts?

The networks' own, which no provider can lift, so your product should state them where a customer connects or replies. Account types come first, then the windows and caps:

  • Instagram: a Business or Creator account, signed in with Instagram Login and no Facebook Page; a personal account switches for free in the app.
  • Facebook: Pages where the person is an admin or has task access.
  • TikTok: Personal and Business accounts both connect.
  • Messages: Instagram and Messenger allow a business reply within 24 hours of the person's last message, and the account must allow access to messages in Instagram's settings.
  • Comments: one private reply per comment, within 7 days of it; TikTok replies are public, since a TikTok connection has no DMs.
  • Volume: 100 API-published posts per Instagram account in 24 hours, and 15 TikTok videos per account a day.

How to set it up

  1. Create the keyIn the easyCoexistence dashboard, open Developers and create an ec_live_ key, and keep it on your server: it reaches each account connected to yours.
  2. Add a Connect buttonOn click, POST /connect-sessions with the channel and your customer's id as external_ref, then send the customer to the url it returns.
  3. Confirm the connectionWhen the customer lands on your redirect_url, read GET /connect-sessions/{id} from your backend and store the channel_id against your customer.
  4. Ship postingSend posts to POST /channels/{id}/posts, with publish_at for scheduling, and show post.published and post.failed from your events URL.
  5. Open the inbox and automationsRelay each channel with PUT /channels/{id}/webhook, create automations, and dry-run each one with POST /automations/{id}/test before it goes live.
  6. Watch connectionsWhen channel.disconnected arrives, send that customer a fresh connect link for the account.

Common mistakes

  • Planning around Instagram or Facebook tokens. The API returns none, because Meta's terms forbid handing them to another app, so route replies through automations and call_webhook from the start.
  • Making connect links in advance. Each expires after an hour and an account holds 50 open at once, so create the session when the customer clicks Connect.
  • Switching on a customer's automation untested. The test endpoint runs it on a sample message without sending anything, with the AI step and your webhook really running.
  • Sending PNG images to Instagram. Its API publishes JPEG images only, so convert other formats before they reach POST /channels/{id}/posts.
Doing this with EasyCoexistence

easyCoexistence is the provider underneath your SaaS's social features: a Meta Tech Provider with its own reviewed Meta app and its own app on TikTok's API for Business, so your customers' Instagram, Facebook and TikTok accounts connect through one hosted link and run on one API key, monitored for you. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.

easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook, Google Business Profile and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.

Frequently asked questions

Do my customers need an easyCoexistence account?

No. They open your hosted link, sign in with the network's own login and return to your redirect_url, and nobody asks them for an account, email or card.

Who is billed for my customers' accounts?

Your SaaS. Each account connected with your key is one connection on your account, priced by the band your total reaches and the same on every network.

Do I still need Meta App Review with easyCoexistence?

Not for accounts connected through it. easyCoexistence is a Meta Tech Provider whose own Meta app passed Meta's review, and your customers sign in through that app.

Can I add more networks on the same key later?

Yes. The same key also connects WhatsApp numbers, and more networks are on the way, joining the same API at the same price.

Keep reading

Connect your first channel in two minutes.

No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.

  • 3 days free
  • Cancel any time
  • Official APIs only
  • Monitored 24/7

Verified on