Appcloud
Device API / API reference

Get a device

Read a phone’s name, group, rental status and control availability.

GET/api/v1/devices/{id}

Request

Use the Appcloud ID returned by List devices as the final path segment.

Terminal
curl "$APPCLOUD_BASE/api/v1/devices/$DEVICE_ID" -H "Authorization: Bearer $APPCLOUD_API_KEY"

Example response

200 · JSON
{
  "device": {
    "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.