Download OpenAPI specification:Download
Request a vehicle to open the battery cover.
vehicleId required | integer >= 1 |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
{- "code": 0,
- "message": "Success"
}
Set a value for the specified configuration on a vehicle. The vehicle should be online to receive the new config value.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
lowSpeedLimit | integer [ 6 .. 25 ] The maximum speed limit in low mode. |
mediumSpeedLimit | integer [ 6 .. 25 ] The maximum speed limit in medium mode. |
highSpeedLimit | integer [ 6 .. 25 ] The maximum speed limit in high mode. |
cruiseControl | boolean Enable the cruise controle. |
buttonSwitchSpeedMode | boolean Enable the scooter button to change the speed mode. |
{- "lowSpeedLimit": 6,
- "mediumSpeedLimit": 6,
- "highSpeedLimit": 6,
- "cruiseControl": true,
- "buttonSwitchSpeedMode": true
}
{- "code": 0,
- "message": "Success"
}
Enable or disable the throttle of a vehicle. The vehicle should be online to receive the new config value.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
enabled required | boolean Enable the throttle. |
{- "enabled": true
}
{- "code": 0,
- "message": "Success"
}
Enable a vehicle.
vehicleId required | integer >= 1 |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
segway_qrcode | string The QRCode of a Segway vehicle. If provided, the sleeve with be linked with the Segway access provided in the manager. This feature required to import your Segway scooter list in the manager. |
{- "segway_qrcode": "string"
}
{- "code": 0,
- "message": "Success"
}
Get a vehicle's information.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
{- "code": 0,
- "message": "Success",
- "data": {
- "vehicle_id": 136,
- "model_name": "ABC100",
- "manufacturer": "Scooter company",
- "model_type": "scooter+sleeve+iot",
- "activation_date": "2019-08-24T14:15:22Z",
- "imei": "990000862471854",
- "online": true,
- "locked": true,
- "battery": 0
}
}
Get the list of enabled vehicles.
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
{- "code": 0,
- "message": "Success",
- "data": [
- {
- "vehicle_id": 156,
- "activation_date": "2021-02-01T09:46:54.000Z",
- "imei": "990000862471854"
}
]
}
Get the list of disabled vehicles.
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
{- "code": 0,
- "message": "Success",
- "data": [
- {
- "vehicle_id": 157,
- "imei": "990000862471854"
}
]
}
Define a label and optional group to the vehicle (custom name defined by the customer).
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
label required | string [ 1 .. 50 ] characters The new label of the vehicle. |
group | string or null [ 1 .. 50 ] characters The new group of the vehicle |
{- "label": "string",
- "group": "string"
}
{- "code": 0,
- "message": "Success"
}
Control the light state of a vehicle.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
state required | string Enum: "off" "on" "flicker" The state on the light. |
{- "state": "off"
}
{- "code": 0,
- "message": "Success"
}
Lock a vehicle.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
lock required | integer An identifier to track this lock request. This will be sent back in the locked event. |
{- "lock": 0
}
{- "code": 0,
- "message": "Success"
}
Shutdown a vehicle. WARNING after shutting down a vehicle the only way to start it again is physically by plugin it in a charger.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
{- "code": 0,
- "message": "Success"
}
Request a vehicle to play a given sound.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
sound_type required | string Enum: "geo-fence" "toot" "low_battery" The name of the sound to play. |
{- "sound_type": "geo-fence"
}
{- "code": 0,
- "message": "Success"
}
Set a specific speed mode on a vehicle.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
speed_mode | integer Enum: 1 2 3 The speed mode (1 = low speed. 2 = medium speed. 3 = high speed). |
{- "speed_mode": 1
}
{- "code": 0,
- "message": "Success"
}
Unlock a vehicle.
vehicleId required | integer >= 1 The identifier of the vehicle. |
X-Knot-Date required | integer Unix epoch in milliseconds of when the request was made. |
X-Api-Key required | string The Api Key used to sign this request. |
unlock required | integer [ 1 .. 9007199254740991 ] An identifier to track this unlock request. This will be sent back in the unlocked event. |
ignore_station_status | boolean Ignore the station status if the vehicle is in a spot. Useful for maintenance because it allows unlocking a vehicle when it has been manually removed from a disconnected station. |
{- "unlock": 5875,
- "ignore_station_status": true
}
{- "code": 0,
- "message": "Success"
}