Skip to main content
POST
/
device
/
hsc
/
start
Start Haptic Script
curl --request POST \
  --url https://api.hapticsconnect.com/device/hsc/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "time": 123,
  "server_time_ms": 123456789,
  "loop": true
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json

Start the haptic script control of the device.

time
integer
required

The time in milliseconds at which to start the script.

Example:

123

server_time_ms
integer

The server time in milliseconds according to the client.

Example:

123456789

loop
boolean

Script must be cyclic

Example:

true

Response

200

OK