Skip to main content
POST
Send Haptic Direct Control Command

Authorizations

Authorization
string
header
required

Short-lived session token obtained from POST /api/sessions/v2. Send it as Authorization: Bearer <session_token> together with the X-Device-Key: <device-key> header identifying the target device.

Headers

X-Device-Key
string
required

Device Key (4 BIP39 words) identifying the target device. Obtain it from POST /device/otp/confirm/v2.

Pattern: ^[a-z]+-[a-z]+-[a-z]+-[a-z]+$
Example:

"orbit-ranch-silver-tomato"

Body

application/json

Target position and the time the stroker takes to reach it. time is required — a request with time set to 0 is rejected with 400. If position is omitted it defaults to 0.

time
number
required

How long the move should take, in milliseconds.

Example:

200

position
number

Target position, 0 to 10000.

Example:

5000

Response

OK