Skip to content

Get Cloud Phone by ctrAlias ​

Query single cloud phone details by ctrAlias.

Interface Address:

text
/papi/container/getContainer

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

ParameterTypeRequiredDescription
X-Access-KeystringYesAPI access key ID. See API Rules for authentication details
X-SignaturestringYesSignature value, Base64-encoded HMAC-SHA256 result
X-TimestampstringYesMillisecond-level Unix timestamp (13 digits)
X-NoncestringYesRandom string, 10~32 characters of lowercase letters and digits

Body Parameters:

ParameterTypeRequiredDescription
ctrAliasstringYesContainer alias

Request Example:

json
{
  "ctrAlias": "22d6sr1gii"
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
dataobjectResponse data
├─ ctrIdstringContainer ID
├─ roleIdintegerRole ID
├─ namestringContainer name
├─ ctrNameIdstringContainer business ID
├─ autoRenewFlagbooleanWhether auto-renewal is enabled
├─ sharebooleanWhether shared
├─ expireintegerExpiration time (validity period)
├─ statusintegerStatus
├─ ctrNamestringContainer name
├─ ctrMobileModelstringModel
├─ ctrAliasstringContainer alias
├─ remarkstringCloud phone remark
├─ ctrRemarkstringCloud phone remark
├─ ctrIpstringContainer IP
├─ bootstrapAtintegerBoot time
├─ stopAtintegerShutdown time
├─ authNumintegerNumber of authorized users
├─ groupNamestringGroup name
├─ cphoneProxyHoststringProxy IP
├─ refreshCountintegerFree one-click refresh count
├─ payRefreshCountintegerPaid one-click refresh count
├─ monthlyGiftCountintegerMonthly free one-click refresh total count
├─ deststringDevice IP encrypted string
├─ screenshotServiceUrlstringScreenshot service URL
├─ turnServerUristringTURN server URI
├─ skuNamestringSKU name
├─ skuCodestringSKU code
├─ aliasCodestringAlias code
├─ androidVersionstringAndroid version
├─ osintegerCloud phone OS
├─ levelintegerSKU level
├─ packageCodestringPackage code
├─ fpSignstringCloud phone operation API authentication signature
├─ topFlagbooleanWhether pinned to top
├─ ossServiceApiUrlstringOSS service API URL
├─ operateFlagbooleanWhether has operation permission
├─ authTypeintegerAuthorization type. 0-Ordinary, 1-Authorized, 2-Authorized by
msgstringError message

Response Example:

json
{
  "code": 0,
  "data": {
    "ctrId": "ctr-xxx",
    "roleId": 0,
    "name": "Test-Phone-01",
    "ctrNameId": "ctrNameId-xxx",
    "autoRenewFlag": false,
    "share": false,
    "expire": 1735689600000,
    "status": 7,
    "ctrName": "Test-Phone-01",
    "ctrMobileModel": "SM-G9880",
    "ctrAlias": "22d6sr1gii",
    "remark": "remark",
    "ctrRemark": "cloud phone remark",
    "ctrIp": "192.168.1.100",
    "bootstrapAt": 1735689600000,
    "stopAt": 0,
    "authNum": 0,
    "groupName": "Default Group",
    "cphoneProxyHost": "",
    "refreshCount": 10,
    "payRefreshCount": 0,
    "monthlyGiftCount": 10,
    "dest": "encrypted-xxx",
    "screenshotServiceUrl": "https://screenshot.example.com",
    "turnServerUri": "turn:turn.example.com:3478",
    "skuName": "Standard",
    "skuCode": "standard",
    "aliasCode": "std",
    "androidVersion": "Android 12",
    "os": 12,
    "level": 1,
    "packageCode": "pkg-xxx",
    "fpSign": "sign-xxx",
    "topFlag": false,
    "ossServiceApiUrl": "https://oss.example.com",
    "operateFlag": true,
    "authType": 0
  },
  "msg": "success"
}

OpenAPI Docs