YourNextHome
API ReferenceApartment

Bulk create apartments (transactional, all-or-nothing)

POST
/api/v1/apartment/bulk

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/apartment/bulk" \  -H "Content-Type: application/json" \  -d '{    "buildingId": "string",    "apartments": [      {        "name": "string"      }    ]  }'
{
  "created": 0
}