Skip to content

Unlocked

This event is fired by the station when a spot is unlocked after an unlock request.

Body parameters

  • event: unlocked
  • station (integer): The identifier of the station where a spot was unlocked.
  • data: (json object).
  • spot (integer): The number of the unlocked spot. The range is between 1 and 32 (included).
  • unlock (integer): The identifier of the unlock, as it was in the unlock request.
  • vehicle (integer, nullable): The identifier of the unlocked vehicle. Null if the spot was empty (For example, when you sent unlock to a spot that was already unlocked, or when the locker was manually closed without vehicle).

Body example

{
    "event": "unlocked",
    "station": 156,
    "data": {
        "spot": 1,
        "unlock": 656411,
        "vehicle": 114
    }
}