Get Devices Last Alive

GET {{baseUrl}}/v1/device/alive?deviceUids=<string>&deviceUids=<string>&limit=<integer>&descending=true

Get list of datetimes, when the devices were last active, for all or list of selected devices in the current organization.

This endpoint uses pagination. For more information view Pagination section.

Request Params

KeyDatatypeRequiredDescription
deviceUidsstringList of device uids. For more information, view List parameters section. This parameter is deprecated and will be removed in the future. Use deviceUids in body instead.
deviceUidsstringList of device uids. For more information, view List parameters section. This parameter is deprecated and will be removed in the future. Use deviceUids in body instead.
limitstringPage size. For more information, view Pagination section.
descendingbooleanDefault true. Order resource in descending or ascending order by createdAt.

Request Body

{"deviceUids"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
x-authstringAuthorization key and token
Content-Typestring
Content-Typestring
Acceptstring

RESPONSES

status: OK

[]