# Get device

Show a device in your account

Get api/v1/devices/{anydeskid}

Example request

curl https://app.anyclassroom.com/api/v1/devices/123456789 \
   -H 'X-Token-AC: {token}' \
   -H 'Accept: application/json' \
   -H 'Content-Type: application/json'

Example response

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "anydesk_id": "123456789",
        "anydesk_alias": null,
        "anydesk_password": "MyPassword1",
        "has_2fa": true,
        "status": "enabled",
        "classroom": {
            "id": 1,
            "name": "Einstein Classroom"
        },
        "is_online": false,
        "latest_temporal_access": [
            ... data objects ...
        ]
    }
}

# Notes

  • status property may be enabled or disabled. Depends on AnyClassroom device status. This does not affect the AnyDesk functionality, because this status it’s only informative.

  • is_online property status is retrieved from AnyDesk servers information. It will be false if:

    • AnyDesk is not started or installed.
    • AnyDesk can not connect with their servers.
    • Your AnyDesk license is not configured or is expired.
    • Your are in AnyClassroom trial license.
  • classroom property may be null if the device is not in a classroom.