Upload Settings & Accounts
Manage multiple TikTok accounts/cookies, auto-extract CSRF tokens, and configure upload endpoints.
TikTok Accounts & Cookies
Store multiple cookies with automatic CSRF token extraction. Choose which account is active for uploads.
Add New TikTok Account
Upload Settings & API Options (/api)
Configure API endpoints, round-robin account juggling, container disguise defaults, and custom headers.
Applied to all API uploads and dashboard uploads by default.
Passed as a form field in the multipart body (default: 0)
Note: CSRF token is automatically extracted from your cookie and injected into x-csrf-token. You only need to add extra headers here if required.
You can stream files directly to POST /api/upload. Data is processed strictly in-memory (never written to local disk) and uploaded straight to TikTok's CDN. Accounts rotate one by one automatically on every upload when juggling is enabled.
curl -X POST --data-binary @chunk.ts -H "Content-Type: video/mp2t" -H "X-Filename: chunk.ts" http://localhost:3000/api/upload
curl -X POST -F "file=@video.ts" http://localhost:3000/api/upload
# View current options:
curl http://localhost:3000/api
# Change disguise format to PNG and enable account juggling:
curl -X POST http://localhost:3000/api -H "Content-Type: application/json" \
-d '{"disguiseFormat": "png", "accountStrategy": "juggle"}'
When you upload a video segment or image, the uploader automatically checks your active TikTok cookie for CSRF tokens under:
csrf_session_id,
tt_csrf_token,
passport_csrf_token, or
csrf_token.
If found, it automatically sets the x-csrf-token HTTP request header on the upload request, so you don't need to manually copy and paste CSRF tokens.