---
title: "Uploading images of a vehicle."
method: POST
path: "/devices/{deviceId}/images"
tags: ["Vehicle Images"]
---

# Uploading images of a vehicle.

`POST /devices/{deviceId}/images`

Uploads images of a vehicle that will be ingested and processed. The total size of the main vehicle image and all of the context images must not exceed 9 MB. File size is calculated in binary mb (MB), where 1 MB is 1048576 bytes.

## Path parameters

- `deviceId` string, required

## Response `204`

The image was successfully ingested.

## Other responses

- `400` — The given request contains one or more errors.
- `401` — The provided token is either expired or invalid.
- `404` — The given device ID was not found.
- `413` — The total size of all the images uploaded exceeds 9 MiB. Total file sizes: 13 MiB
- `429` — The maximum number of requests per second has been exceeded.
- `500` — An internal error happened when processing the request.

---

[API](https://skmtc.net/flocksafety/apis/oauth-api.md) · [All operations](https://skmtc.net/flocksafety/apis/oauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flocksafety/oauth-api/revisions/126df7964ba5/schema)
