Skip to content

Launch App

Request

Launch an installed app on a Cloud Phone.

  • Preconditions: the phone must be powered on and not held by another member.
  • Completion: the response confirms the command reached the service, not that the app is in the foreground. There is no endpoint that reports a running app — verify with a screen capture or a shell command.
  • Retry: no deduplication; a repeat call dispatches the command again.

Documented business errors: 33300, 33301. See Error Codes for what each code means. Any operation can additionally return the common codes.

Bodyapplication/json
idstringrequired

Cloud phone ID

packageNamestringrequired

App package name

curl -i -X POST \
  http://127.0.0.1:40000/api/cloudphone/app/start \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1674550360293464",
    "packageName": "com.depop"
  }'

Responses

Success. data is always null for this operation; the outcome is carried by code.

Headers
any
Bodyapplication/json
codeinteger
msgstring or null
datanull
requestIdstring
Response
{ "code": 0, "msg": null, "data": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }