Device API / API reference
List devices
Retrieve the phones assigned to your account, including expired phones that still have a device record.
GET
/api/v1/devicesRequest
Supply your bearer key. No request parameters are required.
Terminal
curl "$APPCLOUD_BASE/api/v1/devices" -H "Authorization: Bearer $APPCLOUD_API_KEY"Example response
200 · JSON
{
"devices": [
{
"id": "phone_123",
"name": "QA phone",
"group": null,
"status": "active",
"expiresAt": "2027-01-10T15:00:00.000Z",
"canControl": true
}
]
}expiresAt uses an ISO timestamp. Check canControl before sending an action. A phone can have an active rental while its live session is temporarily offline.