letmepost / platforms / TikTok

Ship Your Integration
In Minutes, Not Weeks.

TikTok's Content Posting API + creator OAuth flow, gated by a CASA-style security audit. letmepost has the publisher in build. Flip-the-switch is one config change once the audit clears. Self-hosters with their own TikTok developer app + audit cert can use it today.

Planned · Content Posting API · read the docs →
POST /v1/posts ·
{
  "targets": [{ "platform": "tiktok" }],
  "accountId": "acc_tt_xyz",
  "text": "Posted via letmepost.",
  "options": { "privacyLevel": "PUBLIC_TO_EVERYONE" }
}

Why letmepost vs Content Posting API direct?

TikTok Direct

  • You complete TikTok audit verification (6–12 weeks)
  • You implement resumable upload across multiple requests
  • You manage daily quota cost across all endpoints
  • You handle restricted-scope vs unrestricted-scope errors
  • You parse the Creator vs Business-account distinction
  • You track Google's quota deductions per call type

letmepost API

  • Our reviewed Google project covers hosted users (when CASA clears)
  • Resumable upload abstracted; one POST + a mediaId
  • Quota cost surfaced per-call in the response envelope
  • Scope errors mapped to tiktok_scope_mismatch
  • Creator vs Business handled at connect time
  • Daily quota tracked + surfaced via quota.warning webhook

⚠ the security audit gates production

TikTok's Data API write access goes through Google's CASA security audit. 6–12 weeks typical. letmepost has the publisher shipped and is sitting in the queue. Self-host users with their own Google project + CASA cert can use it today.


PLAYGROUND

connect, configure, post
▸ Connect▸ Configure▸ Execute

Google OAuth + Channel pick. Self-host with your own Google project + CASA cert to use it today.

CONNECT YOUTUBE →
Approval-gated. CASA REVIEW · IN FLIGHT

CONTENT TYPES

every tiktok surface, one shape
Title · 100 chars
Description · 5,000 chars
Video · MP4 ≤ 256GB
Thumbnail · verified channels
Scheduled

HOW IT WORKS

three steps · under two minutes

Get your API key

Sign up at dashboard.letmepost.dev.

Connect a TikTok channel

Google OAuth. Pick the channel. Creator vs Business-account distinction handled.

Upload a video

One POST /v1/posts with the video mediaId. We handle resumable upload, fire post.published when TikTok finalizes.


FEATURES

what we built so you don't

CASA-aware

Hosted users wait on our review; self-host users plug their own Google project + CASA cert.

Resumable upload abstracted

Multi-MB videos use Google's resumable upload protocol. We handle init + chunks + finalize as one SDK call.

Quota cost surfaced

Every endpoint costs quota units. We surface the unit cost per call and fire quota.warning when you approach the daily cap.

MP4 first, ≤ 256GB / 12h

Standard h.264 MP4 path. Per-channel daily upload limits enforced via Google's documented thresholds.


CODE EXAMPLE

upload a video · typescript
publish-tiktok.ts ·
import { Letmepost } from '@letmepost/sdk';
const lmp = new Letmepost({ apiKey: process.env.LMP_API_KEY });

const result = await lmp.posts.create({
  targets: [{ platform: 'tiktok', accountId: 'acc_yt_xyz' }],
  text: 'A demo of letmepost. Posted via the API.',
  media: [{ type: 'video', mediaId: 'med_video_xyz' }],
  options: {
    tiktok: {
      title: 'letmepost demo',
      privacyStatus: 'unlisted',
      categoryId: '28', // Science & Technology
    },
  },
});

COMMON QUESTIONS

about tiktok uploads

When does TikTok go live?

Hosted users wait on TikTok audit verification (6–12 weeks). Self-host with your own Google project + CASA cert today.

What's CASA?

Cloud Application Security Assessment. Google's audit for apps requesting restricted scopes like TikTok write. Annual recertification required.

How big can videos be?

≤ 256GB or 12h, whichever first. Standard h.264 MP4. Resumable upload handled.

Quota cost?

Uploads cost ~1,600 units, list calls cost 1, comments cost 50. Daily cap is 10,000 units default. We surface unit cost per call + fire quota.warning approaching the cap. Calculator tool.

Shorts vs full videos?

Both upload through the same endpoint. privacyStatus, categoryId, and tags map to the standard Content Posting API fields.


ONE API · 8 PLATFORMS

tiktok is just one of them

LEARN MORE


READY FOR YOUTUBE?

Self-host today with your own Google project + CASA cert. Hosted users queue up; live when CASA clears. Same publisher either way.

* * * DATA API v3 · CASA · IN BUILD * * *
PLAT · YOUTUBE · PLANNED
→ START FREE