Sign inGet startedStart making slideshows
AI & Automation

Posting TikTok Photo Carousels Through the API: A Developer Guide

Post TikTok photo carousels with the Content Posting API: scopes, MEDIA_UPLOAD vs DIRECT_POST, photo limits, curl examples and the first errors.

By MonoxydePublished Updated 9 min read

A laptop and a phone on a warm off-white surface, the phone showing a three-photo carousel of ceramic vases

To post a TikTok photo carousel through the API, call POST /v2/post/publish/content/init/ on open.tiktokapis.com with media_type: "PHOTO", a post mode and up to 35 image URLs from a domain you verified. MEDIA_UPLOAD (scope video.upload) sends it to the creator's inbox; DIRECT_POST (scope video.publish) publishes it.

That is the short version. The rest of this guide covers what TikTok's documentation spreads over five pages, plus what we learned building photo publishing into Monoxyde's TikTok scheduler. Every API fact below comes from TikTok's developer docs as read on 2 December 2026, linked inline.

What Do You Need Before You Can Post Photos Through the TikTok API?

You need four things in place before the first call works:

  1. A registered app on TikTok for Developers with Login Kit and the Content Posting API added.
  2. Approved scopes. video.upload for inbox uploads, video.publish for direct posts. Direct posting also needs the Direct Post configuration switched on for the Content Posting API, according to the Direct Post getting-started guide.
  3. A verified domain or URL prefix for your images. Photo posts can only pull from URLs, and TikTok checks that you own them.
  4. A user access token for each TikTok account, from the OAuth flow.

Then there is the audit. TikTok's Content Sharing Guidelines say an unaudited client can post only as SELF_ONLY, only to accounts that are private at the time of posting, and for at most 5 users in a 24-hour window. You can build and test the whole integration in that state, but your posts will not be public until TikTok reviews the app.

Which TikTok API Scopes Does Photo Posting Need?

Scope What it allows Post mode
video.upload Send photos or videos to the creator's TikTok inbox as a draft MEDIA_UPLOAD
video.publish Publish directly to the creator's profile, and read creator info DIRECT_POST
user.info.basic Read the account's open ID, avatar and display name n/a

The creator info endpoint itself is scoped to video.publish, per the Query Creator Info reference. The status endpoint accepts either video.upload or video.publish.

For reference, Monoxyde asks for user.info.basic, user.info.profile, user.info.stats, video.list, video.publish and video.upload when someone connects an account. The last two cover both post modes. The others feed TikTok analytics.

What Is the Difference Between MEDIA_UPLOAD and DIRECT_POST?

The photo post reference defines both modes on the same endpoint:

MEDIA_UPLOAD DIRECT_POST
Where the post goes The creator's TikTok inbox, to finish in TikTok's editor Straight to the profile
Scope video.upload video.publish
privacy_level Not sent; the creator picks it in TikTok Required, from the creator's allowed options
Sound The creator adds one in the TikTok app Optional auto_add_music adds a recommended track
disable_comment, branded content toggles Not used Supported
Daily limit (TikTok) At most 5 pending shares in any 24 hours Typically around 15 posts a day per creator, shared across all apps
TikTok app version 31.8 or later, or app_version_check_failed Any

The inbox mode is the one most marketing teams want. A sound can only be picked inside TikTok, and trending sounds matter on slideshows. That is why Monoxyde sends posts to drafts by default and only posts directly when you ask for it.

What Are the TikTok API Limits for Photo Posts?

These come from the photo post reference and the Media Transfer Guide:

Limit Value
Photos per post Up to 35
Formats WebP, JPEG
Picture size Maximum 1080p
File size Maximum 20 MB per image
Upload method PULL_FROM_URL only
Title 90 UTF-16 characters
Description 4,000 UTF-16 characters
Cover photo_cover_index, counted from 0
Init rate limit 6 requests a minute per user token
Creator info rate limit 20 requests a minute per user token
Status rate limit 30 requests a minute per user token

"Maximum 1080p" is stricter than it sounds. We render slides at 1080×1920 for portrait and scale any larger photo down so the short side is at most 1080 and the long side at most 1920. Anything bigger comes back from the status endpoint as picture_size_check_failed. For the design side of those numbers, see our guide to TikTok slideshow sizes and safe zones.

  • Slide 1 of a TikTok slideshow for a planner app: “How I stopped losing every afternoon”
  • Slide 2 of a TikTok slideshow for a planner app: “Do the hard task before lunch Your focus is better in the morning.”
  • Slide 3 of a TikTok slideshow for a planner app: “Take a real lunch break Away from the desk, ideally outside.”
  • Slide 4 of a TikTok slideshow for a planner app: “Keep the phone in another room You can't scroll what isn't there.”
  • Slide 5 of a TikTok slideshow for a planner app: “My planner app reminds me when to switch tasks So I don't drift.”
for the 3pm crash #productivitytips #workfromhomeExample made with Monoxyde · More planners & productivity slideshow examples

How Do You Post a Photo Carousel Step by Step?

About 30 minutes

  1. Step 1: Register the app and request scopes

    Add Login Kit and the Content Posting API to your app on developers.tiktok.com, and request `video.upload` (inbox) or `video.publish` (direct post).

  2. Step 2: Verify where the photos live

    Verify the domain or URL prefix that will serve your images, because photo posts can only pull from verified URLs.

  3. Step 3: Get the creator's token

    Send the creator through TikTok's OAuth flow and keep the access token and refresh token for their account.

  4. Step 4: Query creator info

    Call `/v2/post/publish/creator_info/query/` to read the nickname, the allowed privacy levels and whether the account can post right now.

  5. Step 5: Initialize the photo post

    Call `/v2/post/publish/content/init/` with `media_type: PHOTO`, the post mode, the post info and the photo URLs. Keep the returned `publish_id`.

  6. Step 6: Poll the status

    Call `/v2/post/publish/status/fetch/` with the `publish_id` until it reports `SEND_TO_USER_INBOX`, `PUBLISH_COMPLETE` or `FAILED`.

Step 1: Query Creator Info

TikTok requires this before every post. It tells you which account you are posting as and what it allows.

curl --location --request POST 'https://open.tiktokapis.com/v2/post/publish/creator_info/query/' \
  --header 'Authorization: Bearer act.example12345' \
  --header 'Content-Type: application/json; charset=UTF-8'

The response carries creator_nickname, creator_username, privacy_level_options and comment_disabled. For a public account the privacy options are PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS and SELF_ONLY. A private account gets FOLLOWER_OF_CREATOR in place of the first.

This endpoint answers some refusals with HTTP 200 and an error code, such as spam_risk_too_many_posts when the account hit its daily cap. Check error.code, not only the HTTP status.

curl --location 'https://open.tiktokapis.com/v2/post/publish/content/init/' \
  --header 'Authorization: Bearer act.example12345' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "media_type": "PHOTO",
    "post_mode": "MEDIA_UPLOAD",
    "post_info": {
      "title": "3 apps that fixed my sleep",
      "description": "Which one would you try first? #sleep #apps"
    },
    "source_info": {
      "source": "PULL_FROM_URL",
      "photo_cover_index": 0,
      "photo_images": [
        "https://media.example.com/slides/01.webp",
        "https://media.example.com/slides/02.webp",
        "https://media.example.com/slides/03.webp"
      ]
    }
  }'

After this call, tell the user to open the TikTok inbox notification to finish the post. TikTok's reference asks apps to say so.

Step 2b: Or Publish It Directly

curl --location 'https://open.tiktokapis.com/v2/post/publish/content/init/' \
  --header 'Authorization: Bearer act.example12345' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "media_type": "PHOTO",
    "post_mode": "DIRECT_POST",
    "post_info": {
      "title": "3 apps that fixed my sleep",
      "description": "Which one would you try first? #sleep #apps",
      "privacy_level": "PUBLIC_TO_EVERYONE",
      "disable_comment": false,
      "auto_add_music": true,
      "brand_content_toggle": false,
      "brand_organic_toggle": true
    },
    "source_info": {
      "source": "PULL_FROM_URL",
      "photo_cover_index": 0,
      "photo_images": [
        "https://media.example.com/slides/01.webp",
        "https://media.example.com/slides/02.webp",
        "https://media.example.com/slides/03.webp"
      ]
    }
  }'

privacy_level must be one of the values creator info returned, or you get privacy_level_option_mismatch. brand_organic_toggle: true marks a post that promotes your own business, which is the honest setting for an app promoting itself. There is also an optional top-level is_aigc flag that labels the photos as AI-generated.

Both calls return a publish_id:

{
  "data": { "publish_id": "p_pub_url~v2.123456789" },
  "error": { "code": "ok", "message": "", "log_id": "202210112248442CB9319E1FB30C1073F3" }
}

Step 3: Poll the Status

curl --location 'https://open.tiktokapis.com/v2/post/publish/status/fetch/' \
  --header 'Authorization: Bearer act.example12345' \
  --header 'Content-Type: application/json; charset=UTF-8' \
  --data-raw '{ "publish_id": "p_pub_url~v2.123456789" }'

How Do You Know Whether the TikTok Post Went Through?

The status reference lists these values for status:

Status Meaning for a photo post
PROCESSING_DOWNLOAD TikTok is pulling your photos from the URLs
SEND_TO_USER_INBOX Inbox mode: the notification reached the creator
PUBLISH_COMPLETE Posted. In inbox mode, the creator finished and posted it
FAILED Read fail_reason

publicaly_available_post_id (spelled that way in the API) only fills in once the post is public and has passed moderation, so do not treat an empty list as a failure.

Which TikTok API Errors Will You Hit First?

Code What it means Fix
url_ownership_unverified Photo URLs are not on a verified domain or prefix Verify the domain in the developer portal
privacy_level_option_mismatch privacy_level missing or not allowed for this account Use a value from creator info
unaudited_client_can_only_post_to_private_accounts App not audited and account is public Test on a private account, then apply for the audit
spam_risk_too_many_posts The account hit its daily API post cap Stop and retry tomorrow
spam_risk_too_many_pending_share 5 inbox uploads are still waiting for the creator Ask the creator to finish or clear their drafts
scope_not_authorized Token lacks video.upload or video.publish Reconnect the account with the scope
picture_size_check_failed A photo is above 1080p Resize before you host it
photo_pull_failed TikTok could not download a photo in time Check the URL is public and fast
rate_limit_exceeded Over 6 init calls a minute for that token Back off and retry

What Does TikTok Require from Your Posting Screen?

The Content Sharing Guidelines are part of the audit. For photo posts, the points that shape your UI are:

  • Show the creator's nickname so they know which account is posting.
  • Let the user pick the privacy level from the creator info options, with no default.
  • Show only "Allow comment" for photos (Duet and Stitch do not apply), unchecked by default and greyed out if the creator disabled comments.
  • Offer the commercial content disclosure, off by default, with "Your brand" and "Branded content" options.
  • Show "By posting, you agree to TikTok's Music Usage Confirmation" before the publish button.
  • Stop and ask the user to try later when creator info says the account cannot post right now.
  • Add no watermark, logo or promotional text to the content you send.

Can You Schedule Photo Posts Through the TikTok API?

No. The init body has no publish-time field, so scheduling is your job: store the post, then call init at the scheduled time with a fresh token. Access tokens expire, so refresh them ahead of the call. We refresh when less than five minutes remain, and mark the account for reconnection only when TikTok refuses the refresh, not on a network error.

How Does Monoxyde Use the TikTok Photo API?

Monoxyde publishes through the official Content Posting API in photo mode. In practice:

  • Drafts by default. Posts go out as MEDIA_UPLOAD so you can add a sound in TikTok. Direct posting is a choice per post.
  • Interactions off unless you turn them on. Comments and the branded content toggles follow what you pick, in line with the guidelines above.
  • Sized for TikTok. Slides are rendered within 1080p and served from Monoxyde's own verified media domain, so url_ownership_unverified and picture_size_check_failed never reach you.
  • Titles and captions trimmed to TikTok's 90 and 4,000 character limits.
  • Account caps respected. When creator info reports spam_risk_too_many_posts, spam_risk_user_banned_from_posting or reached_active_user_cap, the attempt stops instead of retrying. Monoxyde also caps each account at 5 posts a day.
  • A calendar on top that calls init at the scheduled time, for up to 10 TikTok accounts on every plan.

A posting calendar for one day: 10 TikTok accounts each post 5 slideshows, at 8 am, 11 am, 2 pm, 5 pm, 8 pm, 50 posts in all

One honest limit: Monoxyde has no public REST API documentation. Its API keys work with the Monoxyde MCP server, so you can drive the same publishing from Claude Code or Codex instead of writing HTTP calls. Our guide to making TikTok slideshows with Claude shows that route, and running several TikTok accounts for one app covers the posting limits from the account side.

Should You Build on the TikTok API Yourself or Use a Tool?

Build it yourself if you are shipping a product that other creators will use, you want full control over the posting screen, and you are ready for TikTok's audit. The API is small and well documented, and this guide covers most of what you need.

Use Monoxyde if what you want is slideshows on your own app's TikTok accounts. You skip the audit, the domain verification and the token handling, and you get the part the API does not give you: slides modeled on posts that already went viral, made from your App Store link by the AI slideshow generator. Plans start at $19.99 a month on the pricing page, and our walkthrough on automating TikTok slideshows with AI shows the full flow.

Skip the API audit: connect up to 10 TikTok accounts and schedule slideshows from one calendar.

Start making slideshows

AI & Automation FAQ

Does the TikTok API support photo carousels?
What is the difference between MEDIA_UPLOAD and DIRECT_POST?
Can I upload photo files directly instead of URLs?
Why are my API posts only visible to me?
Can I schedule TikTok photo posts through the API?
  • #TikTok API

More Guides on AI & Automation

Start Making TikTok Slideshows for Your App

Paste your App Store link, pick a blueprint, approve the drafts.