---
title: "Import Vehicles and Devices"
method: POST
path: "/v2/organisations/{organisation_id}/vehicles/import"
tags: ["Gateway GRPC"]
---

# Import Vehicles and Devices

`POST /v2/organisations/{organisation_id}/vehicles/import`

## Request

- Base URL: `https://api.cautio.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cautio.in/v2/organisations/{organisation_id}/vehicles/import`
- Auth: HTTP bearer

## Path parameters

- `organisation_id` string, required

## Request body

- ImportVehiclesDTO
  - `items` ImportVehicleItemDTO[], required: List of vehicles and optionally their devices to be imported
    - `vehicle` CreateVehicleBody, required
      - `index` number, required: Index of the vehicle in the request
      - `license` LicenseInfo, required
        - `plate_number` string, required: Plate number of the vehicle
        - `alias_name` string: Alias name of the vehicle
        - `country` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246, required: Country code of the vehicle
        - `category` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8, required: Plate type of the vehicle
      - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, required: Vehicle type
      - `engine_type` 0 | 1, required: Engine type
      - `entity_type` 0 | 1, required: Entity type
      - `entity_id` string, required: Entity ID associated with the vehicle
    - `device` ImportVehicleDeviceDTO
      - `device_number` string, required: Device number
      - `model_name` string, required: Device model name
      - `alias_name` string: Device alias name
      - `sim_card_number` string: SIM card number
      - `firmware_version` string: Firmware version
      - `dashcam` DashcamDataDto
        - `channels` ChannelDto[], required: Dashcam channels
          - `alias_name` string, required: Channel alias name
          - `enabled` boolean, required: Whether the channel is enabled
          - `index` number, required: Channel index

## Response `200`

Import completed successfully

- ImportVehiclesResponseDto
  - `success` boolean, required: Whether every row succeeded
  - `message` string, required: Import result message
  - `total` number, required: Total rows processed
  - `success_count` number, required: Successfully processed rows
  - `failed_count` number, required: Failed rows
  - `errors` ImportVehicleErrorDto[], required
    - `row` number, required: Request item index
    - `code` number: Error status code
    - `field` string: Invalid field
    - `error` string, required: Error message
  - `created_vehicles` ImportedVehicleDto[], required
    - `row` number, required: Request item index
    - `vehicle_id` string, required: Created vehicle ID
  - `created_devices` ImportedDeviceDto[], required
    - `row` number, required: Request item index
    - `device_id` string, required: Created device ID

---

[API](https://skmtc.dev/cautio/apis/cautio-api.md) - [All operations](https://skmtc.dev/cautio/apis/cautio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cautio/apis/cautio-api/revisions/214e6d1d2b6c?raw)
