cURL
curl --request GET \ --url https://api.hapticsconnect.com/device/session \ --header 'Authorization: Bearer <token>'
{ "connected_at": "2022-09-01T12:34:56Z", "ip": "244.178.44.111", "server_time": "2022-09-01T12:34:56Z" }
Retrieve the current session of the device.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The time the device was connected.
"2022-09-01T12:34:56Z"
The IP address of the device.
"244.178.44.111"
The current time of the server.