Skip to main content
GET
/
device
/
session
Retrieve Device Session
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

connected_at
string<date-time>
required

The time the device was connected.

Example:

"2022-09-01T12:34:56Z"

ip
string
required

The IP address of the device.

Example:

"244.178.44.111"

server_time
string<date-time>
required

The current time of the server.

Example:

"2022-09-01T12:34:56Z"