---
title: "POST /locations/{locationId}/floors/{id}/plans"
method: POST
path: "/locations/{locationId}/floors/{id}/plans"
tags: ["Floor Plans"]
---

# POST /locations/{locationId}/floors/{id}/plans

`POST /locations/{locationId}/floors/{id}/plans`

This endpoint allows you to create a floor plan for a specific floor at a specific location. Currently only one floor plan file is supported per floor, which means that uploading a new file will overwrite any existing file, even if it has a different format (svg vs png). Support for Location-based camera grouping is only available in the professional and enterprise editions.

## Response `201`

Successfully set

- FloorPlanGetResponse — Represents a floor plan file
  - `id` string — Unique identifier of the floor plan
  - `floorId` string — Unique identifier of the floor
  - `type` 'png' | 'svg' | 'pdf' — Type of the floor image
  - `creator` 'originalUpload' | 'cloudGenerated'

## 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.
- `404` — Referenced resource could not be found.
- `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)
