Log inStart Free Trial
easyCoexistence Official APIs

How to add TikTok posting to your SaaS

A SaaS adds TikTok posting by connecting each customer's TikTok account with a hosted link, then calling easyCoexistence's POST /channels/{id}/posts with one video or 1 to 35 images and a caption, now or at a publish_at time up to 90 days ahead. The post goes out through TikTok's API for Business, which allows 15 posts a day per account, and your backend hears when it is live.

15 a day

Video posts TikTok publishes per account through its API for Business, at no more than six a minute.

1 GB

Largest video TikTok's publish endpoint accepts, as MP4, MOV or WebM, 3 to 600 seconds long.

35 images

Most images one TikTok photo post can hold; each JPG, JPEG or WebP, up to 20 MB.

90

UTF-16 code units a TikTok photo post's title can hold.

90 days

How far ahead easyCoexistence's posts endpoint can schedule a TikTok post.

How does a customer connect TikTok?

Through a connect session with channel set to tiktok. The hosted page shows your name and Continue with TikTok, which opens TikTok's own consent screen in the same tab; the customer signs in, allows access and lands on your redirect_url with a channel_id. Store it next to your customer, since every post call names the channel.

What does a TikTok post request look like?

One POST to /channels/{id}/posts with the caption in text and the file in media. Leave out publish_at to post now, or set an ISO 8601 time with its offset to post later. A post for now answers 201, or 422 with TikTok's reason if it failed.

Schedule a TikTok video
curl -X POST https://easycoexistence.com/api/v1/channels/$CHANNEL_ID/posts \
  -H "Authorization: Bearer $EC_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: tt_video_5530" \
  -d '{
    "text": "Behind the scenes of our new store #opening",
    "media": [{ "url": "https://cdn.example.com/store-tour.mp4", "type": "video" }],
    "disable_comment": false,
    "publish_at": "2026-11-10T18:00:00-05:00"
  }'

Video post or photo post: what does each take?

A TikTok post is one video or a set of images, never both, and carries no link. The text, up to 2,200 characters here, is the caption on both, and TikTok's own file rules are checked before the post is queued:

Video postPhoto post
MediaOne video, MP4, MOV or WebM1 to 35 images, JPEG or WebP
SizeUp to 1 GB, 3 to 600 seconds, at least 360 pxUp to 20 MB per image
TitleNone; the caption onlytitle, up to 90 characters
Commentsdisable_comment turns them offdisable_comment turns them off

Where does the media have to live?

Anywhere on HTTPS, or in easyCoexistence's storage. TikTok downloads only from URL prefixes verified for the app, so easyCoexistence serves each file from its own verified prefix and you verify nothing. A scheduled post's media is copied when you schedule it, images up to 30 MB and videos up to 1 GB, so a link that dies before the post time cannot break it. To upload a file instead, POST /media returns a media_id.

How do you know a post is live?

From the post's status and from events. A post moves from scheduled to publishing, then processing while TikTok downloads and checks the file; easyCoexistence asks TikTok for its status every 20 seconds until it reports the post complete. Your events URL then receives post.published with the post and its channel, or post.failed with the network's reason. GET /posts/{id} shows the same, with network_post_id and permalink once live.

How do edits, cancels and retries work?

On the post, while TikTok does not have it yet. PATCH /posts/{id} changes publish_at, text or title on a scheduled post; to change the media, cancel it with DELETE /posts/{id} and create a new one. POST /posts/{id}/retry publishes a failed post again. When TikTok gives no confirmation within 2 hours, the post fails with may_be_published true, and the retry needs confirm set to true.

What happens with comments after the post?

They can reach your product. PUT /channels/{id}/webhook forwards TikTok's comment.update events to your endpoint, signed, and your backend replies under the comment through TikTok's business/comment/reply/create/ with the token from the credentials call. Replies on TikTok are public, since a TikTok connection has no DMs.

Common mistakes

  • Sending PNG images for a photo post. TikTok takes JPEG or WebP only, so the post is refused before it is queued.
  • Putting a title on a video post. title is for photo posts, and a video carries its words in the caption alone.
  • Retrying a post with may_be_published true without looking. TikTok may have published it already, so check the account before retrying with confirm.
  • Planning more than 15 posts a day for one account. TikTok caps API posts per account, so spread a customer's calendar across days.
Doing this with EasyCoexistence

easyCoexistence adds TikTok posting to your SaaS: your customers connect their TikTok accounts through a hosted link, and your backend posts videos and photo posts now or later, hears when each one is live and receives its comments. The same API covers WhatsApp, Instagram, Facebook, YouTube, LinkedIn and more channels, with every connection monitored 24/7. 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 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

Can my SaaS post TikTok videos as drafts?

No. easyCoexistence's posts endpoint publishes the video to the account, at once or at publish_at. Use scheduling to hold a post until the customer is ready.

Does TikTok let me schedule posts through its API?

TikTok's publish endpoints act when they are called. easyCoexistence keeps the post in its queue and calls TikTok at publish_at, up to 90 days ahead.

Can my SaaS turn off comments on a TikTok post?

Yes. Set disable_comment to true on the post. When the account's own settings already turn comments off, TikTok accepts only true.

How much does easyCoexistence cost per TikTok account?

Each TikTok account your customers connect costs US$ 9 to US$ 0.75 a month, by the band of your total connections, with the first 3 days free.

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