cURL
curl --request GET \ --url https://api.hapticsconnect.com/device/id \ --header 'Authorization: Bearer <token>'
{ "device_id": 123456, "status": "ok" }
Does not require device to be connected. Retrieve the device ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The device ID.
123456
The status of the operation.
"ok"