Usage Instructions
Reset and regenerate device, supports changing proxy ID and specifying phone model.
This interface can only be used while the cloud phone is powered on.
Request Instructions
- Method:
POST
- Endpoint:
/api/v1/cloudPhone/newPhone
Request Parameters
Parameter |
Type |
Required |
Description |
image_id |
string |
Yes |
Cloud phone ID |
proxy_id |
string |
No |
Optional proxy ID, can be found in the Proxy List |
dns |
integer |
No |
DNS Status: 1 - Enabled; 2 - Disabled. Default is Enabled |
model |
string |
No |
Optional phone model, supported models for specific Android versions can be found in the Cloud Phone Model List |
gps |
Object |
No |
GPS |
locale |
Object |
No |
Locale |
sim |
Object |
No |
SIM |
gps
Parameter |
Type |
Required |
Description |
type |
integer |
Yes |
1 - Simulate based on proxy IP; 2 - Custom. Default is Simulate based on proxy IP |
longitude |
string |
No |
Longitude, If type is 1, this value does not take effect. |
latitude |
string |
No |
Latitude, If type is 1, this value does not take effect. |
locale
Parameter |
Type |
Required |
Description |
type |
integer |
No |
1 - Simulate based on proxy IP; 2 - Custom. Default is Simulate based on proxy IP |
timezone |
string |
No |
Timezone, If type is 1, this value does not take effect. |
language |
string |
No |
Language, If type is 1, this value does not take effect. |
sim
Parameter |
Type |
Required |
Description |
type |
integer |
No |
1 - Simulate based on proxy IP; 2 - Custom; 3 - Close. Default is Simulate based on proxy IP |
country |
string |
No |
|
Request Example
Response Example
{
"code": 200,
"data": {
"message": "Success"
},
"message": "Success"
}