Upload script points to the device in chunks for direct playback.
This endpoint is used internally by the server to stream pre-processed script points to devices. Points are sent in chunks with metadata for tracking and assembly.
The points use a time/position format where:
time is in millisecondspos is in range [0..100) representing the position percentageMaximum 100 points per device command (server handles chunking automatically).
Device Token for SDK operations. Obtain via: GET /api/haptics/device/device_token Format: {device_id}-{1|2}-{random} Note: ApiToken (from POST /device/otp/confirm) can also be used for most SDK endpoints.
Request body for uploading script points to the device.
Unique identifier for the script on the current device.
12345
Unique identifier for this upload session.
1
Sequence number of this chunk (starting from 0 or 1).
0
Array of script points to upload.
Total number of chunks in this upload session.
1
Total number of points in the script.
100
OK
Standard success response.
Response message.
"ok"