
# 获取云手机列表
参考《云手机服务器API参考》的"[查询云手机列表](https://support.huaweicloud.com/api-cph/cph_api_0503.html)"章节获取云手机列表。
#### 接口示例
```
GET https://{CPH Endpoint}/v1/{project_id}/cloud-phone/phones?phone_name={phone_name}&server_id={server_id}&status={status}&offset={offset}&limit={limit}&type={type}
Header:
Content-Type: application/json
X-Auth-Token: ${token}
```
其中，
- CPH Endpoint为Endpoint列表中CPH对应区域的终端节点，如华北-北京四为cph.cn-north-4.myhuaweicloud.com。
- project_id为云手游服务器所属区域对应的项目ID，如083e9f825e80f50c2f96c0045edc70e8。可通过如下方式获取：
  1. 登录管理控制台。
  
  2. 单击右上角用户名下的"我的凭证"。
  
  3. 在"API凭证"页面的项目列表中获取项目ID。
     图1获取项目ID   
     ![](https://support.huaweicloud.com/bestpractice-cph/zh-cn_image_0000001169445762.png "点击放大") 
   
- URL中"?"之后的部分为可选参数。
- $token为[获取Token](https://support.huaweicloud.com/api-iam/iam_30_0001.html)接口的响应结果。
 
#### 接口使用示例
```
GET https://cph.cn-north-4.myhuaweicloud.com/v1/083e9f825e80f50c2f96c0045edc70e8/cloud-phone/phones
Header:
Content-Type: application/json
X-Auth-Token: ${token}
```
![](https://support.huaweicloud.com/bestpractice-cph/public_sys-resources/note_3.0-zh-cn.png)
${token}需要换成实际获取到的token值。
