Skip to content
Developers

    Posts

    Get the next free posting time

    Markdown
    GEThttps://api.tiktornado.com/api/v1/accounts/{accountId}/queue/next

    Scope: accounts:read

    The time a post of this kind would get right now with queue: true, by the rules under PUT /accounts/{accountId}/queue. Nothing is held: the post's time is picked again when it is saved, so it can differ if other posts were saved in between.

    Path parameters

    • accountIdstringRequired

      The account, from GET /accounts.

      Matches ^[A-Za-z0-9]{1,64}$.

    Query parameters

    • kindstringRequired

      The kind of post. Each kind has its own daily limit.

      One of video, photo.

    Example request

    curl 'https://api.tiktornado.com/api/v1/accounts/j971x2c4ajrq0w8sd5e8fxz3a57v2k8m/queue/next?kind=video' \
      -H "Authorization: Bearer $TIKTORNADO_API_KEY"

    Response 200

    The next free time.

    • scheduledForstringRequired

      The next free posting time, in UTC.

      An ISO 8601 date and time.

    Example
    {
      "scheduledFor": "2026-12-02T14:00:00.000Z"
    }

    Errors

    StatusReasonMessage
    400invalid_request

    Something here isn't valid. Check it and try again.

    queue_empty

    This account has no posting times yet. Add some, or pick a time.

    queue_full

    There's no free posting time in the next 4 weeks. Add more times, or pick one.

    account_not_ready

    This account isn't ready to post yet.

    This account is under review by TikTok, so new posts can't be scheduled right now.

    invalid_state

    This can't be done right now. Refresh and try again.

    401api_key_invalid

    This API key isn't valid. Check it, or create a new one in the app.

    403access_locked

    Your subscription isn't active, so this can't be changed right now. Visit Billing to fix it.

    api_scope_missing

    This API key can't do this. Create a key with the access it needs in the app.

    404not_found

    We couldn't find this.

    429slow_down

    You're going a bit fast. Wait a moment and try again.

    500unknown_error

    Something went wrong on our side. We're on it.

    503service_unavailable

    Something went wrong on our side. We're on it.