# List devices

List all the devices in your account

GET api/v1/devices

Example request:

curl https://app.anyclassroom.com/api/v1/devices \
    -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",
            "is_online": false
        },
        
        ...
    ],
    "links": [
        {
            "url": null,
            "label": "Previous",
            "active": false
        },
        {
            "url": "https://app.anyclassroom.com/api/v1/devices?page=1",
            "label": 1,
            "active": true
        },
        {
            "url": null,
            "label": "Next",
            "active": false
        }
    ],
    "meta": {
        "total": 15,
        "per_page": 50,
        "current_page": 1,
        "last_page": 1
    }
}

# 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.