Skip to content
Developers

    Post statuses

    Markdown
    Every status a tiktornado post can have in the API, from scheduling to published, failed, paused, missed and TikTok drafts, and what moves it between them.

    GET /posts gives each post a status. A post you just saved starts as scheduling.

    The statuses

    StatusMeaning
    schedulingSaved, and on its way to TikTok's scheduler. A save, an edit or a move shows this until TikTok's scheduler has the change
    scheduledWaiting for its time
    to_draftsWaiting for its time, to go to the account's TikTok drafts instead of being published
    publishingGoing out now
    publishedLive on TikTok
    in_draftsIn the account's TikTok drafts, waiting for you to finish it and post it in the TikTok app
    failedIt couldn't go out. error says why. Edit or move it to try again
    cancellingCancelled, and being dropped from TikTok's scheduler
    cancelledCancelled. It won't go out
    pausedHeld while the account's subscription isn't active
    missedIts time passed while it was held, so it didn't go out

    Only a failed post has an error, { "reason", "message" }. On every other status error is null. The reasons are listed under Errors.

    How a post moves

    scheduling ─► scheduled ─► publishing ─► published
         │            │
         │            └─► (to_drafts) ─► publishing ─► in_drafts ─► published
         │
         ├─► failed ─► (edit or move) ─► scheduling
         └─► cancelling ─► cancelled
    • Publishing. At its time, TikTok's scheduler sends the post. It is publishing until TikTok confirms, then published.
    • Drafts. A post sent with toDrafts: true shows to_drafts while it waits. Once TikTok has it in the drafts it becomes in_drafts. When you post it publicly from the TikTok app it becomes published, with stats and comments like any post. A draft you post privately, or never post, stays in_drafts. TikTok holds at most 5 drafts waiting per account: past that, the post fails with tiktok_drafts_full.
    • Failures. A post fails when it can't go out: for example when TikTok refuses it, or when it couldn't reach TikTok's scheduler by 10 minutes before its time. A failed post stays failed until you edit or move it, which schedules it again. It can't be cancelled.
    • Cancelling. DELETE /posts/{postId} makes a scheduled post cancelling until TikTok's scheduler has dropped it, then cancelled.
    • Paused and missed. When the subscription that bills an account stops, its scheduled posts are paused. When the subscription is active again, each paused post goes back to scheduled if its time is still more than 10 minutes away, and becomes missed otherwise. While the account's subscription isn't active, GET /posts leaves its posts out, so you will rarely see paused there.
    • Ended accounts. When an account ends, its scheduled and paused posts are cancelled.
    • TikTok can correct itself. Rarely, TikTok reports a published post as failed after all, or the other way round. The status follows TikTok's latest word.

    Following a post

    The API never calls you, so read the post again to follow it:

    curl "https://api.tiktornado.com/api/v1/posts?accountId=j971x2c4ajrq0w8sd5e8fxz3a57v2k8m" \
      -H "Authorization: Bearer $TIKTORNADO_API_KEY"

    A few minutes between reads is plenty while a post is waiting for its time. GET /posts lists posts newest scheduled time first, so recent posts are on the first page. See Pagination.