> ## Documentation Index
> Fetch the complete documentation index at: https://smartcar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Closure Signals

### Doors

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-doors`

An object containing information about the vehicle's doors.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="values" type="array" required={true}>
      An array of objects containing information about the state of the vehicle's doors.
    </ParamField>

    <Expandable title="Array item properties">
      <ParamField path="row" type="number" required={false}>
        Represents the row position of a specific door, front to back (0 to Doors.rowCount-1).
      </ParamField>

      <ParamField path="column" type="number" required={false}>
        Represents the column position of a specific door, left to right (0 to Door.ColumnCount-1).
      </ParamField>

      <ParamField path="isOpen" type="boolean" required={false}>
        Indicates if the door is open.
      </ParamField>

      <ParamField path="isLocked" type="boolean" required={false}>
        Indicates if the door is locked.
      </ParamField>
    </Expandable>

    <ParamField path="rowCount" type="number" required={false}>
      Indicates the total number of door rows present in the vehicle. This field, along with columnCount, provides information about the vehicle's door layout and the total number of doors available.
    </ParamField>

    <ParamField path="columnCount" type="number" required={false}>
      Indicates the total number of door columns present in the vehicle. This field, along with rowCount, provides information about the vehicle's door layout and the total number of doors available.
    </ParamField>

    ```json Example theme={null}
    {
      "rowCount": 2,
      "columnCount": 2,
      "doors": [
        {
          "row": 0,
          "column": 0,
          "isOpen": false,
          "isLocked": true
        },
        {
          "row": 0,
          "column": 1,
          "isOpen": false,
          "isLocked": true
        },
        {
          "row": 1,
          "column": 0,
          "isOpen": false,
          "isLocked": true
        },
        {
          "row": 1,
          "column": 1,
          "isOpen": false,
          "isLocked": true
        }
      ]
    }
    ```
  </Expandable>
</ParamField>

### EngineCover

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-enginecover`

An object containing information about the state of the vehicle's engine cover for ICE or PHEV vehicles.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="isOpen" type="boolean" required={false}>
      Indicates if the trunk is open.
    </ParamField>

    ```json Example theme={null}
    {
      "isOpen": false
    }
    ```
  </Expandable>
</ParamField>

### FrontTrunk

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-fronttrunk`

An object containing information about the state of the vehicle's front trunk.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="isOpen" type="boolean" required={false}>
      Indicates if the trunk is open.
    </ParamField>

    <ParamField path="isLocked" type="boolean" required={false}>
      Indicates if the trunk is locked.
    </ParamField>

    ```json Example theme={null}
    {
      "isLocked": true,
      "isOpen": false
    }
    ```
  </Expandable>
</ParamField>

### IsLocked

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-islocked`

A boolean value indicating whether the vehicle's closures are currently locked.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="value" type="boolean" required={false} />

    ```json Example theme={null}
    {
      "value": true
    }
    ```
  </Expandable>
</ParamField>

### RearTrunk

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-reartrunk`

An object containing information about the state of the vehicle's rear trunk.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="isOpen" type="boolean" required={false}>
      Indicates if the trunk is open.
    </ParamField>

    <ParamField path="isLocked" type="boolean" required={false}>
      Indicates if the trunk is locked.
    </ParamField>

    ```json Example theme={null}
    {
      "isLocked": true,
      "isOpen": false
    }
    ```
  </Expandable>
</ParamField>

### Sunroof

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-sunroof`

An object containing information about the state of the vehicle's sunroof.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="isOpen" type="boolean" required={false}>
      Indicates if the trunk is open.
    </ParamField>

    ```json Example theme={null}
    {
      "isOpen": false
    }
    ```
  </Expandable>
</ParamField>

### Tailgate

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-tailgate`

An object containing information about the state of the vehicle's tailgate.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="isOpen" type="boolean" required={false}>
      Indicates if the tailgate is open.
    </ParamField>

    <ParamField path="isLocked" type="boolean" required={false}>
      Indicates if the tailgate is locked.
    </ParamField>

    ```json Example theme={null}
    {
      "isLocked": true,
      "isOpen": false
    }
    ```
  </Expandable>
</ParamField>

### Windows

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/closure-windows`

An object containing information about the vehicle's windows.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="values" type="array" required={true}>
      An array of objects, where each object represents a specific window in the vehicle.
    </ParamField>

    <Expandable title="Array item properties">
      <ParamField path="row" type="number" required={false}>
        Represents the row position of a specific window, front to back (0 to Windows.rowCount-1).
      </ParamField>

      <ParamField path="column" type="number" required={false}>
        Represents the column position of a specific window, left to right (0 to Windows.columnCount-1).
      </ParamField>

      <ParamField path="isOpen" type="boolean" required={false}>
        Indicates if the window is open.
      </ParamField>
    </Expandable>

    <ParamField path="rowCount" type="number" required={false}>
      Indicates the total number of window rows present in the vehicle. This field, along with columnCount, provides information about the vehicle's window layout and the total number of windows available.
    </ParamField>

    <ParamField path="columnCount" type="number" required={false}>
      Indicates the total number of window columns present in the vehicle. This field, along with rowCount, provides information about the vehicle's window layout and the total number of windows available.
    </ParamField>

    ```json Example theme={null}
    {
      "rowCount": 2,
      "columnCount": 2,
      "windows": [
        {
          "row": 0,
          "column": 0,
          "isOpen": false
        },
        {
          "row": 0,
          "column": 1,
          "isOpen": false
        },
        {
          "row": 1,
          "column": 0,
          "isOpen": false
        },
        {
          "row": 1,
          "column": 1,
          "isOpen": false
        }
      ]
    }
    ```
  </Expandable>
</ParamField>
