Post statuses
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
| Status | Meaning |
|---|---|
scheduling | Saved, and on its way to TikTok's scheduler. A save, an edit or a move shows this until TikTok's scheduler has the change |
scheduled | Waiting for its time |
to_drafts | Waiting for its time, to go to the account's TikTok drafts instead of being published |
publishing | Going out now |
published | Live on TikTok |
in_drafts | In the account's TikTok drafts, waiting for you to finish it and post it in the TikTok app |
failed | It couldn't go out. error says why. Edit or move it to try again |
cancelling | Cancelled, and being dropped from TikTok's scheduler |
cancelled | Cancelled. It won't go out |
paused | Held while the account's subscription isn't active |
missed | Its 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
publishinguntil TikTok confirms, thenpublished. - Drafts. A post sent with
toDrafts: trueshowsto_draftswhile it waits. Once TikTok has it in the drafts it becomesin_drafts. When you post it publicly from the TikTok app it becomespublished, with stats and comments like any post. A draft you post privately, or never post, staysin_drafts. TikTok holds at most 5 drafts waiting per account: past that, the post fails withtiktok_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 postcancellinguntil TikTok's scheduler has dropped it, thencancelled. - 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 toscheduledif its time is still more than 10 minutes away, and becomesmissedotherwise. While the account's subscription isn't active,GET /postsleaves its posts out, so you will rarely seepausedthere. - 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.