cURL
curl --request GET \ --url https://api.getmelody.io/device/hps/status \ --header 'Authorization: Bearer <token>'
{ "is_playing": true, "stream_time": 10, "points_left": 2 }
Get the device points stream status.
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.
OK
Is stream playing
true
Current stream time in milliseconds
10
How many points left to play
2