Access
A TikTok developer app with the Content Posting API, then an audit that checks your app against TikTok's terms and content sharing guidelines. Apps built only for internal or test use don't pass.

Ayrshare's TikTok API lets developers publish videos and photo carousels to TikTok personal and business accounts via a single REST endpoint. It supports scheduled posts, drafts, content labels, comment management, and analytics across 14+ social networks through one integration.
Your users link their own TikTok accounts through an OAuth flow inside your product, on Ayrshare's audited TikTok app. Posts go out public from day one, without your own TikTok audit.
One integration, 14+ networks, 30M+ API calls a day.
14+
networks on one integration
10 GB
max video upload
30M+
API calls handled daily
99.99%
API uptime
14+
networks on one integration
10 GB
max video upload
30M+
API calls handled daily
99.99%
API uptime
TikTok has several APIs, and posting runs through one of them: the Content Posting API, with Direct Post for publishing and Upload for sending drafts to a creator's inbox. The Display API reads profile and video data, and the Business API covers ads. Until TikTok audits your app, the Content Posting API keeps every post private and lets only 5 users post through your app in any 24 hours.
A TikTok developer app with the Content Posting API, then an audit that checks your app against TikTok's terms and content sharing guidelines. Apps built only for internal or test use don't pass.
TikTok publishes no fee for the Content Posting API. The cost is the audit, building to TikTok's posting UX rules, and yearly reauthorization for every user.
Personal and business accounts. Business accounts are always public, so followers-only posts need a private personal account.
About 15 posts per creator per day, shared across every app that creator uses, and 6 posts per minute.

Each sample publishes a TikTok video now, then schedules a second one. Same endpoint, same JSON, in Node.js, Python, PHP, Java, Go, Ruby, C#, or plain cURL. Add a Profile-Key header to post for one of your users.
# 1. Publish a TikTok video nowcurl -X POST https://api.ayrshare.com/api/post \ -H "Authorization: Bearer $AYRSHARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "post": "Behind the scenes of launch week #buildinpublic", "platforms": ["tiktok"], "mediaUrls": ["https://example.com/launch.mp4"] }' # 2. Schedule one for later (ISO 8601, UTC)curl -X POST https://api.ayrshare.com/api/post \ -H "Authorization: Bearer $AYRSHARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "post": "Friday product drop #newrelease", "platforms": ["tiktok"], "mediaUrls": ["https://example.com/drop.mp4"], "scheduleDate": "2026-11-06T17:00:00Z" }'
TikTok's rules in one place. The full list lives in the TikTok media guidelines and the TikTok publishing options.
MP4, MOV, or WebM, 3 seconds to 10 minutes, 23 to 60 FPS, in 9:16 or 16:9.
JPG, JPEG, or WEBP. WebP is converted to JPEG automatically. PNG isn't accepted. 1080 x 1920, 1920 x 1080, or square up to 1080 x 1080.
Video posts, photo carousels, and drafts sent to the creator's TikTok inbox. One post can't mix photos and video.
Hashtags and @mentions count. TikTok drops line breaks.
Personal and business TikTok accounts. Each user reauthorizes once a year, with a reminder 15 days before.
AI-generated, paid partnership, or promotional content. The AI label can't be removed after posting.
Posts start as pending. A webhook reports the live TikTok URL once processing finishes.
Pass a scheduleDate to publish later. TikTok allows 6 posts per minute; Ayrshare allows 300 API calls per 5 minutes per profile.
Choose the cover image, add a title, and let TikTok add music.
{ "post": "Five layouts we tested this month", "platforms": ["tiktok"], "mediaUrls": [ "https://example.com/layout-1.jpg", "https://example.com/layout-2.jpg", "https://example.com/layout-3.jpg" ], "tikTokOptions": { "title": "Layout tests", "imageCoverIndex": 1, "autoAddMusic": true }}
Ayrshare's TikTok app is already audited, so your product sends one request and your users' posts go out public. Ayrshare runs TikTok's creator-info check, upload, and processing flow, renews access tokens that TikTok expires every 24 hours, and sends a webhook with the TikTok ID and URL once the video is live. When TikTok changes its API, the fix ships on our side, not in your sprint.
For a step-by-step walkthrough, read How to Post to TikTok with an API.
See TikTok Processing and WebhooksPOST /post with the video URL and tikTokOptions. Returns a pending ID right away.
Creator-info check, chunked upload, processing, and the 24-hour token refresh.
TikTok video ID, postUrl, and status, usually within 1 to 2 minutes. Comments arrive by webhook too.
When your product needs TikTok analytics or comment moderation, it's already on the same integration. No second vendor, no second auth flow.

Post and account metrics in the same JSON shape as every other network, refreshed every 24 to 48 hours. The account owner turns on analytics in the TikTok app.
Analytics APIRead, reply, hide, and delete from one endpoint, next to Instagram, YouTube, and the rest.
Engagement APIPull a creator's past TikTok videos with metrics, including ones not posted through Ayrshare.
History APICheck a post for banned hashtags, duplicate content, and posting limits before it reaches your customer's account.
Validate docsDirect messages, and deleting a published TikTok through the API.
See every network you can reach with the same integration on the supported networks page.
Yes. Ayrshare's TikTok API lets developers publish videos and photo carousels to TikTok personal and business accounts via a single REST endpoint. It supports scheduled posts, drafts, content labels, comment management, and analytics across 14+ social networks through one integration. You send a video URL to the /post endpoint, and a webhook tells you when TikTok has published it, usually within 1 to 2 minutes.
Yes. Send up to 35 JPG or JPEG images in one post, up to 20 MB each. You can choose the cover image and add a title. WebP images are converted for you, but PNG isn't accepted.
Yes. Pass a scheduleDate in ISO 8601 UTC format and Ayrshare publishes the video or photo post at that time. Webhooks report the final status, including the live TikTok URL.
Both personal and business accounts. Your users link their own account through a hosted OAuth page, and you post for them by sending their Profile-Key. Each user reauthorizes once a year, with a reminder 15 days before.
TikTok allows 6 posts per minute and 15 per day for each account through its API, so spread bulk posting with scheduled dates. Ayrshare's own limit is 300 calls per 5 minutes per profile, not shared across your organization. See handling TikTok 429 errors.
Yes, for each video and for the whole account. TikTok refreshes analytics every 24 to 48 hours and reports account totals over a rolling 60 days. The account owner must turn on analytics in the TikTok app.
Get an API key, publish your first TikTok video, and turn on the other networks with the same call when you need them.