cURL
curl --request POST \ --url https://api.getmelody.io/device/hlc/play \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "velocity": 0.5, "low_limit": 0.5, "high_limit": 0.5 } '
Play Haptic Loop
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.
The haptic loop control settings of the device.
The velocity of the loop.
0.5
The low limit of the loop.
The high limit of the loop.
OK