# List device's temporal accesses
List all generated temporal accesses belonging to a device.
Get api/v1/{anydeskid}/temporal
Example request:
curl https://app.anyclassroom.com/api/v1/devices/123456789/temporal \
-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": [
{
"token": "4ceef208-9aec-4a91-b0db-30f629728e36",
"from_time": 1628198760,
"until_time": 1628200200,
"url": "https://app.anyclassroom.com/temporal-access/4ceef208-....",
"created_at": "2021-08-05T21:24:02.000000Z",
"updated_at": "2021-08-05T21:50:03.000000Z"
}
...
],
"links": [
{
"url": null,
"label": "Previous",
"active": false
},
{
"url": "https://app.anyclassroom.com/api/v1/devices/949454460/temporal?per_page=1&page=1",
"label": 1,
"active": true
},
],
"meta": {
"total": 66,
"per_page": 1,
"current_page": 1,
"last_page": 66
}
}