Skip to content
Developers

    Scheduling and timing

    Markdown
    When a tiktornado post goes out: scheduled times, post now, the 10-minute lock, editing, moving and cancelling, and the daily limit of 15 per kind.

    Three ways to say when

    A new post takes exactly one of these. None, or more than one, is invalid_request.

    FieldWhen it goes out
    scheduledForAt that time. ISO 8601 with a time zone, more than 10 minutes from now
    postNow: trueAt once
    queue: trueAt the account's next free posting time for its kind. See Posting queues

    The answer always says the time the post was saved for:

    {
      "id": "k174wq9nrm6t2f0bd3xh8pz5a87v1c2e",
      "status": "scheduling",
      "scheduledFor": "2026-12-02T15:00:00.000Z"
    }

    scheduledFor is the time you chose, the moment it was saved for postNow, or the slot the queue picked. Each of the three works with toDrafts: true too: the post then goes to the account's TikTok drafts at that time instead of being published.

    Scheduled posts

    scheduledFor must carry a time zone: 2026-12-02T15:00:00Z or 2026-12-02T16:00:00+01:00. A time with no zone, or a date alone, is invalid_request. A time 10 minutes or less from now is schedule_too_soon, and a time after the account ends is past_account_end.

    Post now

    postNow: true skips the 10-minute lead. Every other check still runs: the daily limit, the account's end, the media and the settings.

    {
      "accountId": "j971x2c4ajrq0w8sd5e8fxz3a57v2k8m",
      "kind": "video",
      "caption": "Morning run done",
      "mediaRefs": ["https://media.example.com/uploads/2b81de/morning-run.mp4"],
      "postNow": true
    }

    tiktornado hands the post to TikTok's scheduler right away, timed one minute ahead, so it goes out about a minute after it is saved.

    A post sent with postNow is locked from the start: it can't be edited, moved or cancelled (post_locked). If it fails, you can edit it like any failed post, and from then on it is an ordinary scheduled post.

    The 10-minute lock

    From 10 minutes before a post's time, it can't be edited, moved or cancelled. Those requests answer post_locked. The lock is there because TikTok's scheduler is about to publish the post.

    The daily limit

    An account takes at most 15 videos and 15 photo posts in any 24 hours. The window is rolling, not a calendar day: a new post is refused with daily_limit_reached when any 24-hour window holding its time would have more than 15 posts of its kind.

    Posts that count are the ones scheduled (to drafts included), publishing, published, paused or in drafts. Cancelled, failed and missed posts don't count.

    Edit a post

    PATCH /posts/{postId} changes a scheduled or failed post. Send any of caption, mediaRefs, settings and scheduledFor, at least one. Only the fields you send change.

    {
      "caption": "Leg day, round two #fitness",
      "mediaRefs": ["https://media.example.com/uploads/e61b4f/leg-day-v2.mp4"]
    }
    {
      "id": "k174wq9nrm6t2f0bd3xh8pz5a87v1c2e",
      "status": "scheduling"
    }
    • The whole post is checked again as it would be after the edit: the caption, the media, the settings and the time. New media is checked like a new post's.
    • settings replaces the whole set. settings: null clears every setting. See Post settings.
    • kind and toDrafts never change. To change them, cancel the post and schedule a new one.
    • A failed post that is edited is scheduled again, with its error cleared. Its time must be more than 10 minutes ahead, so if the old time has passed, send a new scheduledFor with the edit.
    • A post that is publishing or published is post_already_published. A cancelled, paused, missed or in drafts post is invalid_state.

    Move a post

    PATCH /posts/{postId} with scheduledFor alone moves the post to a new time:

    { "scheduledFor": "2026-12-03T18:30:00Z" }

    The new time follows the same rules as a new post's: more than 10 minutes ahead, not after the account ends, and within the daily limit. The post itself isn't counted twice. A failed post can be moved too, which schedules it again.

    Cancel a post

    DELETE /posts/{postId} cancels a post that is waiting for its time:

    {
      "id": "k174wq9nrm6t2f0bd3xh8pz5a87v1c2e",
      "status": "cancelling"
    }

    The post shows cancelling until TikTok's scheduler has dropped it, then cancelled. Only a scheduled post can be cancelled: a failed, cancelled or missed post answers invalid_state, and a published one post_already_published. Inside the 10-minute lock, or for a postNow post, the answer is post_locked.

    After saving

    Every save answers with status scheduling: tiktornado has the post and is handing it to TikTok's scheduler. Follow it with GET /posts until it shows scheduled. See Post statuses.

    Saves to one account are fastest one at a time. See Several requests at once.