Skip to content

Custom Tasks

Fresh

Custom tasks allow you to execute user-defined task flows on cloud phones.

Task Flow Query

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

Request Parameters

ParameterRequiredTypeDescription
pageYesintegerPage number
pageSizeYesintegerPage size (max 100)

Response Fields (TaskFlow)

FieldTypeDescription
idstringTask flow ID
namestringTask flow name
paramsarrayParameter definitions

Create Custom Task

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

ParameterRequiredTypeDescription
nameNostringTask name (max 128 chars)
remarkNostringRemarks (max 200 chars)
scheduleAtYesintScheduled time
idYesstringCloud phone ID
flowIdYesstringTask flow ID (from query)
paramMapNoobjectTask flow parameters

Request Example

json
{
  "name": "test",
  "remark": "test remark",
  "scheduleAt": 1741846843,
  "id": "557536075321468390",
  "flowId": "562316072435344885",
  "paramMap": {
    "Title": "video",
    "Desc": "this is video",
    "Video": ["https://material.geelark.cn/a.mp4"]
  }
}

Import Custom Task Flow

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

Import a custom task flow definition.


Export Custom Task Flow

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

Export a custom task flow for backup or transfer.

ParameterRequiredTypeDescription
idYesstringTask flow ID

Multichannel Video Distribution

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

Distribute video content across multiple platforms simultaneously.

ParameterRequiredTypeDescription
scheduleAtYesintScheduled time
idYesstringCloud phone ID
videoYesstringVideo URL
platformsYesarray[string]Target platforms

GEELark API Documentation - Built with VitePress