To ensure accurate synchronization with the server time, follow these steps:
alpha = 0.3 # Smoothing factor, 0.1 to 0.3 (recommended for balancing stability and responsiveness).
ewma = alpha * time_diff + (1 - alpha) * ewma
synchronized_server_time_ms = client_ts + ewma
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
The current server time in milliseconds.