Get active session from device

Gets the details of the current active timing session from the device.

Gets the details of the current active timing session from the device.

GET https://api.runonrufus.com/v0/sessions/device/{deviceid}/active

Path Parameters

NameTypeDescription

deviceid*

String

Id of the device to retrieve the active session from.

Headers

NameTypeDescription

api_key*

String

Account api key with READ or READ_WRITE access type.

{
  "description": "Success",
  "result": [
    {
      "token_session": "2A19294BB886C3D5C7783309BBC6E385515C843893A6BC126FECE3904C6E2B25",
      "alias": "START-5K",
      "creation_date": "2023-02-03T15:08:12.000Z",
      "duration": "2023-02-03T17:08:12.000Z",
      "active": true,
      "passings": 31,
      "first": "2023-02-03T16:08:18.263Z",
      "last": "2023-12-22T09:20:25.130Z"
    }
  ]
}
curl -X GET \
-H "Content-Type: application/json" \
-H "api_key: ror-ae4fc6c19681a20fad30" \
https://api.runonrufus.com/v0/sessions/device/65A1B7E0C6BC3D32C268C1506E3F6F39E225DC6ED79573E177E7243E8E38115B/active

Last updated