Skip to main content
GET
/
device
/
id
Retrieve Device ID
curl --request GET \
  --url https://api.hapticsconnect.com/device/id \
  --header 'Authorization: Bearer <token>'
{
  "device_id": 123456,
  "status": "ok"
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

OK

device_id
integer<int64>
required

The device ID.

Example:

123456

status
string
required

The status of the operation.

Example:

"ok"