What a managed TikTok account is
Every other TikTok API reads public data. Managed accounts are the other half: you connect a TikTok account you own once, and from then on your code can do what you would do in the app. Upload videos and carousels, reply to comments, answer DMs, change the profile, read Creator Studio numbers, start a LIVE and moderate it.
Each connected account runs on its own dedicated mobile device context: a device ID, install, hardware profile, app version and region that stay the same on every call and are never shared with another account or with scraping traffic. To TikTok, the account looks like what it is: one person on one phone.
Everything a managed account can do
| Action | Endpoint | Cost per call |
|---|---|---|
| Sign in with an email code | /v1/account/login/otp/send + /otp/verify | 10 reqs + 10 reqs |
| Import a session you own | /v1/account/import | 10 reqs |
| List accounts and their health | /v1/account/sessions, /v1/account/health | Free, 1 req |
| Upload and publish a video | /v1/account/upload/video | 25 reqs |
| Publish a photo carousel | /v1/account/upload/slideshow | 25 reqs |
| Change who can see a post, or delete it | /v1/account/post/visibility, /v1/account/upload/delete | 2 reqs |
| Comment or reply to a comment | /v1/account/comment | 10 reqs |
| Heart or delete comments on your posts | /v1/account/comment/like, /comment/delete | 6 reqs |
| Read the DM inbox and threads | /v1/account/dm/inbox, /dm/conversation/messages | 2 reqs |
| Send or reply to a DM, send an image | /v1/account/dm/send, /dm/reply, /dm/send-image | 10 reqs |
| Edit nickname, bio, avatar, username, privacy | /v1/account/profile/* | 6 reqs |
| Read Creator Studio analytics | /v1/account/studio/overview | 2 reqs |
| Start a LIVE and get the stream key | /v1/account/live/start | 25 reqs |
| Moderate LIVE chat, co-host, end LIVE | /v1/account/live/moderate, /cohost, /finish | 10 reqs |
Why every account gets its own device
TikTok sees much more than a username. Every request carries a device ID and install ID, details of the phone and the app version, and comes from an IP address. When several accounts sign in from the same phone, the same browser profile or the same network, TikTok can treat them as connected. Most of the time that is harmless. It becomes a problem when one account gets a warning: accounts that share its device can be pulled into the same review.
This is why agencies that run every client from one phone, or from an anti-detect browser with a pool of proxies, keep seeing verification prompts, logouts and restrictions. The fix is consistency. The same account should always look like the same phone in the same place, and no two accounts should share a phone.
- One device per account. Each connected account gets its own device context, created once and reused for every call.
- Stable hardware and app version. The device keeps its hardware profile and app build, so the account never jumps between phones.
- A home region. The account keeps a region that matches where it normally operates.
- No shared traffic. Public scraping runs on a separate managed pool. Nothing you read from TikTok runs through your accounts.
Connect your first account
There are two ways to connect an account you own. Both end the same way: an account_id bound to a dedicated device, which every account endpoint takes.
- 1Send a sign-in code
POST
/v1/account/login/otp/sendwith the account’s email. TikTok emails its usual six-digit code. Keep thecontext_idfrom the response: it ties the next step to the same device. - 2Verify the code
POST
/v1/account/login/otp/verifywith the email, the code and thecontext_id. If TikTok asks for an extra check on that account, pass thepassport_ticketit returns to finish. - 3Or import a session
If the account has no email, or you already have a session in your own browser, POST
/v1/account/importwith thesession_id(thesessionidcookie) instead. - 4Check it is healthy
GET
/v1/account/sessionslists every connected account with its device and health;/v1/account/healthchecks one account before a long job.
POST /v1/account/login/otp/verify · 10 reqs per call| Parameter | Type | Required | What it does |
|---|---|---|---|
context_id | string | Yes | The context_id returned by /v1/account/login/otp/send. e.g. 7392011847562901234 |
email | string | Yes | The same email. e.g. you@example.com |
code | string | Yes | The 6-digit code from the email. e.g. 482913 |
passport_ticket | string | No | Optional passport_ticket returned by /v1/account/login/otp/send. |
proxy | string | No | Optional residential/mobile proxy URL. |
from tikultra import TikUltra
client = TikUltra() # reads TIKULTRA_KEY
EMAIL = "you@yourbrand.com"
ctx = client.account.login_otp_send(EMAIL)
code = input("Six-digit code from the inbox: ")
acc = client.account.login_otp_verify(EMAIL, code, context_id=ctx["context_id"])
print("connected", acc["account_id"])
for a in client.request("GET", "/v1/account/sessions")["sessions"]:
print(a["account_id"], a["username"], a["health"], a["region"]){
"sessions": [
{
"account_id": "acc_7Hq2",
"context_id": "ctx_9mK4vP2x",
"device_id": "7392011847562901234",
"uid": "107955",
"username": "yourstudio",
"nickname": "Your Studio",
"health": "healthy",
"warm_tier": "calibrated_warm",
"region": "US",
"os": "android"
}
],
"count": 1
}Publish videos and carousels
Publishing is one multipart call. Tikultra runs the app’s own upload sequence on the account’s device (authorize, chunked transfer, precheck, create) and returns the new post’s aweme_id and share_url. If any stage fails, nothing is posted and the call is not billed.
POST /v1/account/upload/video · 25 reqs per call| Parameter | Type | Required | What it does |
|---|---|---|---|
account_id | string | Yes | A connected account, from /dash/sessions or POST /v1/account/import. e.g. acc_7Hq2 |
file | file | file, video_url or video_base64 | The .mp4 or .mov file (multipart only). |
video_url | string | file, video_url or video_base64 | Or a URL to fetch the video from. e.g. https://cdn.example.com/media/clip-1080p60.mp4 |
video_base64 | string | file, video_url or video_base64 | Or the video as base64. |
caption | string | No | The caption. e.g. Mechanical keyboard sound test |
hashtags | string[] | No | Hashtags, without the #. |
mentions | string[] | No | Usernames to mention. |
visibility | string | No | Who can see it. e.g. public |
allow_comment | boolean | No | Allow comments. e.g. true |
allow_duet | boolean | No | Allow duets. e.g. true |
allow_stitch | boolean | No | Allow stitches. e.g. true |
allow_download | boolean | No | Allow downloads. e.g. false |
cover_timestamp_ms | integer | No | Frame to use as the cover. e.g. 1200 |
poi_id | string | No | Tag a place. |
music_id | string | No | Use a sound. |
schedule_time | integer | No | Publish later, as Unix seconds. |
aigc_generated | boolean | No | Label the post as AI-generated. e.g. false |
shop_product_ids | string[] | No | Products to anchor. |
A few parameters do more than you might expect:
schedule_timeschedules the post natively on TikTok for a Unix time, so you can queue posts without keeping a worker running.shop_product_idstags TikTok Shop products on the video, which is how affiliate and seller accounts make shoppable posts from code.video_urluploads from a link instead of a file, handy when your renders live in cloud storage.allow_comment,allow_duet,allow_stitchandallow_downloadset the post’s interaction settings;cover_timestamp_mspicks the cover frame.aigc_generatedlabels AI-generated content, which TikTok asks creators to disclose.
post = client.account.upload_video(
account_id=acc["account_id"],
file="./launch.mp4",
caption="Unboxing the new 75% board #desksetup",
visibility="public",
shop_product_ids=["1729441872198734410"], # optional: make it shoppable
)
print(post["aweme_id"], post["share_url"]){
"status_code": 0,
"account_id": "acc_7Hq2",
"aweme_id": "7693184538704416031",
"status": "published",
"visibility": "public",
"share_url": "https://www.tiktok.com/@tiktok/video/7693184538704416031",
"steps": {
"authorize_ms": 182,
"transfer_ms": 2840,
"precheck_ms": 410,
"create_ms": 366
},
"log_pb": {
"impr_id": "202611120200419F8E7D6C5B4A3210"
}
}Carousels work the same way with /v1/account/upload/slideshow and a list of images. Use /v1/account/upload/precheck first if you need to know the account’s duration limit, and /v1/account/upload/places to find a poi_id to tag a location. Our upload API guide and bulk upload guide go deeper.
Answer comments and DMs
The fastest way to grow a brand account is to answer people. Read new comments on your posts with /v1/video/comments (sort by new) and new messages with /v1/account/dm/inbox, then reply with /v1/account/comment (pass reply_to_comment_id to thread it) or /v1/account/dm/reply.
POST /v1/account/comment · 10 reqs per call| Parameter | Type | Required | What it does |
|---|---|---|---|
account_id | string | Yes | A connected account, from /dash/sessions or POST /v1/account/import. e.g. acc_7Hq2 |
aweme_id | string | Yes | The post. e.g. 7693184538704416031 |
text | string | Yes | The comment. e.g. Thanks for watching! |
reply_to_comment_id | string | No | Reply to this comment. |
ANSWERS = {
"link": "It's in our bio, and pinned in the comments 👆",
"price": "It's $59 today with the voucher on the product page",
"ship": "We ship to the US, UK and EU in 3–7 days",
}
done = set() # store this in your database
def answer(text):
t = text.lower()
return next((a for k, a in ANSWERS.items() if k in t), None)
for post_id in recent_post_ids:
page = client.video.comments(post_id, sort_strategy="new")
for c in page["comments"]:
reply = answer(c["text"])
if reply and c["cid"] not in done:
client.account.comment(acc["account_id"], post_id, reply, reply_to_comment_id=c["cid"])
done.add(c["cid"])Keep a record of what you answered so nothing gets two replies, and send everything you cannot match to a person. The auto reply guide has the full pattern for comments and DMs, and the moderation guide covers deleting spam and scam links.
Go LIVE from code
POST /v1/account/live/start with a title creates a LIVE room on the account and returns its RTMP push URL and stream key. Paste them into OBS, Streamlabs or ffmpeg, send /v1/account/live/ping every ping_interval_sec seconds while you stream, and call /v1/account/live/finish at the end. While you are live, /v1/account/live/moderate posts, pins or removes comments and mutes viewers.
{
"status_code": 0,
"account_id": "acc_7Hq2",
"room_id": "7708619922263280397",
"stream_id": "2988475619283746510",
"status": "created",
"title": "Desk build, part 2",
"rtmp_push_url": "rtmps://push-rtmp-f5-tt01.fcdn.us.tiktokcdn.com/game/",
"stream_key": "stream-7708619922263280397?expire=1794527200&sign=8b2f91c4e0",
"max_bitrate_kbps": 6000,
"ping_interval_sec": 15
}The account must be allowed to go LIVE on TikTok; TikTok sets those rules. Full setup, OBS settings and ffmpeg commands are in the stream key guide.
Profiles, privacy and Studio analytics
Profile endpoints change the nickname, bio and link (/v1/account/profile/update), the avatar, the @username (only to a free handle; see the username checker) and privacy settings such as who can comment, duet, stitch or message. /v1/account/studio/overview returns the account’s Creator Studio numbers: post views, profile views, net followers and top posts.
{
"status_code": 0,
"account_id": "acc_7Hq2",
"window_days": 7,
"metrics": {
"post_views": 492810,
"profile_views": 18420,
"likes": 38910,
"comments": 1940,
"shares": 4120,
"net_followers": 2840
},
"top_posts": [
{
"aweme_id": "7693184538704416031",
"desc": "Get in the live stream! #fortnite #pirate #shop #token #live",
"play_count": 1482906,
"avg_watch_sec": 24.6,
"completion_rate_pct": 41.8
}
],
"log_pb": {
"impr_id": "202611120200419F8E7D6C5B4A3210"
}
}Running many accounts
| Plan | Price | Managed accounts | Requests / month | Rate limit |
|---|---|---|---|---|
| Starter | $49/mo | 3 | 40,000 | 20 req/s |
| Growth | $159/mo | 15 | 175,000 | 75 req/s |
| Scale | $499/mo | 60 | 750,000 | 250 req/s |
A few habits keep a fleet of accounts calm:
- One queue per account. Never let two jobs act on the same account at the same moment. A per-account queue with concurrency one is enough.
- Map accounts to owners. Store
account_idnext to the client, brand or region it belongs to, and write rules per account: a brand might auto-answer DMs while a creator only drafts replies for review. - Check health daily. Call
/v1/account/healtheach morning and reconnect expired sessions with an email code before scheduled posts fail. - Spread activity. Post and reply at a human pace through the day, not in bursts at the top of the hour.
The multiple accounts guide covers team workflows in detail.
Keeping accounts healthy
| Do | Avoid |
|---|---|
| Publish on a steady schedule | Posting dozens of videos in an hour |
| Reply to people who commented or messaged you | Copy-paste comments on strangers’ videos |
| Moderate spam on your own posts | Unsolicited DMs to accounts that never contacted you |
| Engage with your real community | Mass following or liking to get attention back |
| Keep each account on its own device | Sharing one phone or browser profile across accounts |
What managed accounts cost
Account actions are priced per call like every other endpoint. A publish is 25 reqs, a comment or DM reply 10 reqs, an inbox read 2 reqs. A brand account that posts twice a day, answers 50 comments and 30 DMs and checks its inbox hourly uses about 898 requests a day, 26,940 a month: $33.00 at Starter’s rate, inside Starter’s 40,000 included requests.
| Plan | Monthly price | Requests included | Per 1,000 calls | Rate limit |
|---|---|---|---|---|
| Starter | $49 | 40,000 | $30.63 | 20 req/s |
| Growth | $159 | 175,000 | $22.71 | 75 req/s |
| Scale | $499 | 750,000 | $16.63 | 250 req/s |
Errors and session expiry
Account calls return the same error codes as the rest of the API. The one specific to accounts is session_expired (409): the account logged out everywhere, changed its password, or TikTok asked for a new sign-in. Send a new email code and the same account_id keeps working.
| Status | Code | Meaning | Retry? |
|---|---|---|---|
| 400 | invalid_request | A parameter is missing or malformed. | No. Fix the request. |
| 401 | unauthorized | The key is missing, wrong or revoked. | No. |
| 402 | out_of_credits | Your balance can’t cover this call. | After a top-up. |
| 403 | forbidden | Your plan doesn’t include this endpoint. | No. Upgrade. |
| 404 | not_found | The video, profile or product doesn’t exist or isn’t visible. | No. |
| 409 | session_expired | A connected account needs to sign in again. | After re-connecting. |
| 429 | rate_limited | Over your plan’s requests per second. | Yes, after retry-after. |
| 502 | upstream_error | TikTok returned an error after our retries. | Yes, with backoff. |
| 504 | upstream_timeout | TikTok didn’t answer in time. | Yes, with backoff. |
Managed accounts vs the alternatives
| Option | Can post | DMs, comments, LIVE | Account isolation | Catch |
|---|---|---|---|---|
| Tikultra managed accounts | Yes, public right away | Yes | One device per account | Accounts you own only |
| TikTok Content Posting API | Yes, after OAuth and an app audit | No | Not applicable | Posts stay private until your app passes the audit |
| Social media suites (Hootsuite, Buffer, Later) | Yes, through the official API | Limited | Not applicable | Same limits as the official API, priced per seat |
| Phone farms and anti-detect browsers | Yes | Yes, by hand or macros | Depends on your setup | Hardware, proxies and maintenance; easy to link accounts |
| Read-only data APIs (ScrapeCreators, EnsembleData, Apify) | No | No | Not applicable | Public data only |
| Capability | Tikultra | TikAPI | EnsembleData | ScrapeCreators |
|---|---|---|---|---|
| Connect & register your accounts | Multi-account OTP, import & BYO-proxy reg | 1-account browser OAuth | — | — |
| Publish videos & slideshows | 1-call native upload | — | — | — |
| Comments & replies (your accounts) | Publish, reply, heart, delete | Basic web comment | — | — |
| Direct messages (your accounts) | Native protobuf IM, media, voice & groups | Basic web DMs only | — | — |
| Host & interact in LIVE | RTMP start, moderate, co-host, battle | Read chat only | — | — |
Prices checked 19 Nov 2026 on each vendor’s public pricing page; capabilities from their public API docs. A dash means the vendor’s public docs don’t list it (checked 19 Nov 2026). Full comparison