---
title: "POST /lprVehicleLists"
method: POST
path: "/lprVehicleLists"
tags: ["LPR Vehicle Lists"]
---

# POST /lprVehicleLists

`POST /lprVehicleLists`

Add a new vehicleList to the user account

## Request body

- LprVehicleListMetaUntaggedForPost — User supplied attributes of the list, that does not return the individual vehicle records, to be used during creation of list or patching of list
  - `name` string — User supplied name for the list
  - `enabled` boolean — Whether list is enabled
  - `notes` string — A verbose explanation of the vehicle list
  - `resourceFilter` ResourceFilter — List of actors against which filtering to happen (camera/location/account)
    - `actors` ActorFilter[] — List of the actors for which events are checked.
      - `id` string — The id of the thing that caused the event This can be camera or location ID. If not supplied for any entry in the array, it is taken to mean as the entire account.
      - `type` 'camera' | 'location', required — Type of actor that caused the event.

## Response `201`

Successful creation of the new list

- LprVehicleListMeta — User supplied attributes of the list, that does not return the individual vehicle records, to be used during creation of list or patching of list
  - `name` string, required — User supplied name for the list
  - `enabled` boolean — Whether list is enabled
  - `notes` string — A verbose explanation of the vehicle list
  - `resourceFilter` ResourceFilter — List of actors against which filtering to happen (camera/location/account)
    - `actors` ActorFilter[] — List of the actors for which events are checked.
      - `id` string — The id of the thing that caused the event This can be camera or location ID. If not supplied for any entry in the array, it is taken to mean as the entire account.
      - `type` 'camera' | 'location', required — Type of actor that caused the event.
  - `id` string, required — Unique system generated id for list
  - `createTimestamp` string, date-time, required — Timestamp when this list created
  - `updateTimestamp` string, date-time, required — Timestamp when this list last updated
  - `createdByUserId` string, required — User id of the creator of the vehicle list
  - `vehicleCount` integer, required — Number of vehicles in the list

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `409` — There was a conflict while trying to perform your request. See error details for more information.
- `500` — Something went wrong in the server. Please try again.

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/revisions/df57313de545/schema)
