List or inspect staged background tasks for account import, registration, and warming.
x-api-keyUpstreamgateway · task trackerStarter and upExecutes on the dedicated 1:1 mobile device context bound to your account_id (from Import session, Email sign-in, or Scale+ registration).
No required query or body parameters — send your x-api-key header.
Failed or timed-out upstream calls always cost $0 (0 requests deducted from your quota).
| Field | Type | Description |
|---|---|---|
tasks | object[] | List of tasks objects. |
tasks[].task_id | string | Unique task identifier. |
tasks[].kind | string | Decoded kind value. |
tasks[].status | string | Current lifecycle or health status. |
tasks[].progress | integer | Decoded progress value. |
tasks[].stage_key | string | Decoded stage key value. |
tasks[].stage_label | string | Decoded stage label value. |
count | integer | Decoded count value. |
Free: catalog listings and job status lookups use 0 requests.
Runs strictly on connected accounts you own. Starter and up.
Bind an existing TikTok account you own onto a dedicated 1:1 mobile hardware context, verify session health, and keep passport tokens fresh.
| Step | Endpoint | Purpose |
|---|---|---|
| 1 | POST /v1/account/import | Import session cookies OR start email OTP: Import an exported sessionid via POST /v1/account/import, or trigger passwordless OTP via /v1/account/login/otp/send. |
| 2 | POST /v1/account/login/otp/verify | Complete OTP verification (if using email sign-in): Submit the 6-digit code to /v1/account/login/otp/verify to persist your Connected Workspace account_id. |
| 3 | GET /v1/account/health | Verify session health & warm tier: Call GET /v1/account/health?account_id=... before running publishing, DM, or Studio workflows. |
| 4 ★ | GET /v1/account/tasks | List background tasks: List or inspect staged background tasks for account import, registration, and warming. (GET /v1/account/tasks). |
| 5 | POST /v1/account/session | Refresh passport & MSSDK session state: Periodically run POST /v1/account/session to refresh passport account info and token heartbeat. |
import { TikUltra } from 'tikultra'
const client = new TikUltra({ apiKey: process.env.TIKULTRA_KEY })
const res = await client.request('GET', '/v1/account/tasks')
console.log(res.data){
"tasks": [
{
"task_id": "tsk_4a7f902bc1e",
"kind": "import_account",
"status": "succeeded",
"progress": 100,
"stage_key": "persist_bind",
"stage_label": "Persisted internal account ID",
"result": {
"account_id": "acc_7Hq2",
"uid": "107955"
}
}
],
"count": 1
}Sign up and get 500 free requests — test public data & browser tools with no credit card, then upgrade anytime.