vehicleCommandStatePx

WebSocket subscription for Parallax command completion. Returns a base64 protobuf payload, not legacy JSON command fields.

Same URL and headers as ParallaxMessages.

Subscribe

{
  "type": "subscribe",
  "id": "<uuid>",
  "payload": {
    "operationName": "vehicleCommandStatePx",
    "variables": {
      "vehicleId": "<your-vehicle-id>",
      "commandId": "<command-id>"
    },
    "query": "subscription vehicleCommandStatePx($vehicleId: String!, $commandId: String!) { vehicleCommandStatePx(vehicleId: $vehicleId, commandId: $commandId) { payload } }"
  }
}

commandId is assigned when the app issues sendParallaxPayload.

Response

{
  "type": "next",
  "payload": {
    "data": {
      "vehicleCommandStatePx": {
        "payload": "<base64 protobuf>"
      }
    }
  }
}

Legacy alternative: vehicleCommandState / getVehicleCommand.


This site uses Just the Docs, a documentation theme for Jekyll.