---
title: "Create a structure"
method: POST
path: "/v1/property_inspections/{property_inspection_id}/structures"
tags: ["Property Inspection"]
deprecated: true
---

# Create a structure

`POST /v1/property_inspections/{property_inspection_id}/structures`

## Request

- Base URL: `https://api.encircleapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.encircleapp.com/v1/property_inspections/{property_inspection_id}/structures`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/encircleapp/apis/encircle-public-api/docs/v1/property_inspections/:property_inspection_id/structures/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

## Headers

- `X-Encircle-Attribution` string
- `X-Encircle-Request` string

## Request body

- StructureRequest: A `Structure` represents a building which contains `Room`s. When a `PropertyClaim` or `PropertyInspection` is created, a primary `Structure` is automatically created.
  - `name` string, required: The name of the `Structure`.

## Response `200`

The `Structure` was created successfully.

- StructureResponse: A `Structure` represents a building which contains `Room`s. When a `PropertyClaim` or `PropertyInspection` is created, a primary `Structure` is automatically created.
  - `id` integer, required
  - `name` string, required: The name of the `Structure`.

## Other responses

- `400`: Error processing request.
- `401`: Authentication error.
- `404`: Requested resource does not exist.

## Changes

- **2026-10-28** `2ed23bd529dc`: 3 warning
  - added the new `outpostsyncerror` enum value to the `code` response property for the response status `400`
  - added the new `outpostsyncerror` enum value to the `code` response property for the response status `401`
  - added the new `outpostsyncerror` enum value to the `code` response property for the response status `404`

[Operation history](https://skmtc.dev/encircleapp/apis/encircle-public-api/changes/v1/property_inspections/:property_inspection_id/structures/post.md)

---

[API](https://skmtc.dev/encircleapp/apis/encircle-public-api.md) - [All operations](https://skmtc.dev/encircleapp/apis/encircle-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/encircleapp/apis/encircle-public-api/revisions/2ed23bd529dc?raw)
