Skip to content

TikTok Tasks

Fresh

Add Video/Album/Warmup Task

URL: https://openapi.geelark.com/open/v1/task/addMethod: POST

Publish Video Parameters

ParameterRequiredTypeDescription
scheduleAtYesintegerScheduled time (seconds timestamp)
envIdYesstringCloud phone ID
videoYesstringVideo URL (from upload API)
videoDescNostringDescription (max 4000 chars)
productIdNostringProduct ID
productTitleNostringProduct display title
refVideoIdNostringSimilar video ID
maxTryTimesNointegerAuto-retry count (0-3, default 3)
timeoutMinNointegerTimeout (30-80 min, default 80)
sameVideoVolumeNointegerSame video volume (0-100)
sourceVideoVolumeNointegerOriginal video volume (0-100)
markAINoboolMark as AI-generated (default false)
coverNostringCover image URL
needShareLinkNoboolGet share link (default false)

Warmup Parameters

ParameterRequiredTypeDescription
scheduleAtYesintegerScheduled time (seconds timestamp)
envIdYesstringCloud phone ID
actionYesstringsearch profile, search video, browse video
keywordsNoarray[string]Search keywords
durationYesintegerDuration in minutes

Album/Image Set Parameters

ParameterRequiredTypeDescription
scheduleAtYesintegerScheduled time
envIdYesstringCloud phone ID
imagesYesarrayImage URLs
videoDescNostringDescription (max 4000 chars)
videoTitleNostringGallery title (max 90 chars)
productIdNostringProduct ID
markAINoboolMark as AI-generated
needShareLinkNoboolGet share link

Request Examples

json
{
  "planName": "testAdd",
  "taskType": 2,
  "list": [
    {
      "scheduleAt": 1718744459,
      "envId": "123456654321",
      "action": "search video",
      "keywords": ["hi"],
      "duration": 10
    }
  ]
}
json
{
  "planName": "testAdd",
  "taskType": 1,
  "list": [
    {
      "scheduleAt": 1718744459,
      "envId": "123456654321",
      "video": "https://demo.geelark.com/open-upload/DhRP36s3.mp4"
    }
  ]
}
json
{
  "planName": "testAdd",
  "taskType": 3,
  "list": [
    {
      "scheduleAt": 1718744459,
      "envId": "123456654321",
      "images": ["https://demo.geelark.com/img1.jpg", "https://demo.geelark.com/img2.jpg"]
    }
  ]
}

TikTok Login

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokLogin

ParameterRequiredTypeDescription
nameNostringTask name (max 128 chars)
remarkNostringRemarks (max 200 chars)
scheduleAtYesintScheduled time (timestamp)
idYesstringCloud phone ID
accountYesstringAccount (max 64 chars)
passwordYesstringPassword (max 64 chars)

TikTok Profile Edit

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokEdit

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
avatarNostringAvatar URL (1:1 aspect ratio)
nickNameNostringNickname (max 30 chars)
bioNostringBio (max 160 chars)
siteNostringWebsite URL (http/https)

TikTok Like (Star)

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokStar

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
videoLinkYesstringVideo URL to like
probabilityNointLike probability (%)

Asia variant: https://openapi.geelark.com/open/v1/rpa/task/tiktokStarAsia


TikTok AI Comment

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokAIComment

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
videoLinkNostringVideo URL (or random)
probabilityNointComment probability (%)

Asia variant: https://openapi.geelark.com/open/v1/rpa/task/tiktokAICommentAsia


TikTok DM (Direct Message)

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokDM

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
targetUserYesstringTarget username
messageYesstringMessage content

Asia variant: https://openapi.geelark.com/open/v1/rpa/task/tiktokDMAsia


TikTok Follow

URL: https://openapi.geelark.com/open/v1/rpa/task/tiktokFollow

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
targetUserYesstringTarget username to follow

Asia variant: https://openapi.geelark.com/open/v1/rpa/task/tiktokFollowAsia


Error Codes

CodeDescription
41000Insufficient task credits
43004Cloud phone has expired
41001Insufficient balance
43018Monthly cloud phone not bound to device
48004Required app version not met

GEELark API Documentation - Built with VitePress