Callback Types
FreshCallback Type Reference
| Type | Event |
|---|---|
| 1 | Cloud phone startup |
| 4 | Cloud phone file upload |
| 5 | Cloud phone screenshot |
| 6 | RPA task completion |
| 8 | Cloud phone shutdown |
| 9 | Cloud phone name change |
| 10 | Cloud phone deletion |
| 11 | Cloud phone tag change |
| 12 | RPA task creation |
| 13 | RPA task cancellation |
| 14 | Batch import contacts |
| 15 | App installation |
Type 1: Cloud Phone Start
json
{
"type": 1,
"id": "528086321789535232",
"result": true,
"username": "admin@geelark.com",
"ip": "62.141.247.218",
"eventTime": 1766567054
}| Field | Description |
|---|---|
| result | true=success, false=failure |
| username | User who started |
| ip | User IP address |
| eventTime | Timestamp in seconds |
Type 4: File Upload
json
{
"type": 4,
"id": "528715748189668352",
"taskId": "128715748189668352",
"result": true
}Type 5: Screenshot
json
{
"type": 5,
"id": "528715748189668352",
"taskId": "128715748189668352",
"result": true,
"downloadLink": "https://www.abc.com/a.jpg"
}Type 6: Task Completion
json
{
"type": 6,
"taskId": "528715748189668352",
"result": true
}Type 8: Cloud Phone Stop
json
{
"type": 8,
"id": "528086321789535232",
"username": "GeeLark",
"ip": "62.141.247.218",
"eventTime": 1766567054,
"useMin": 1
}| Field | Description |
|---|---|
| useMin | Usage duration in minutes |
Type 9: Name Change
json
{
"type": 9,
"items": [
{ "id": "583502967211075086", "name": "newName" }
]
}Type 10: Deletion
json
{
"type": 10,
"items": [
{ "id": "583502967211075086", "recycle": false }
]
}Type 11: Tag Change
json
{
"type": 11,
"envIds": ["583502967211075086"]
}Type 12: Task Creation
json
{
"type": 12,
"taskIds": ["528715748189668352"],
"channel": "api"
}Type 13: Task Cancellation
json
{
"type": 13,
"taskIds": ["528715748189668352"],
"channel": "api"
}Type 14: Batch Import Contacts
json
{
"type": 14,
"taskId": "528715748189168352",
"status": 1
}| Field | Description |
|---|---|
| status | 0=Failed, 1=Successful |
Type 15: App Installation
json
{
"type": 15,
"packageName": "com.example.app",
"appVersionId": "1793552962140770305",
"id": "528715748189168352",
"result": 1
}| Field | Description |
|---|---|
| result | 0=failure, 1=success |