Acreum Docs
Properties & leasing

Properties

List properties

GET
/v1/properties

Properties owned by the org. Replaces GET /v1/trackables?trackable_type_code=property. There is no trackable_type_id / trackable_type_code filter: the endpoint IS the type. For the spaces inside a property, call GET /v1/spaces?property_id=.

Required scope: properties:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

search?string

Case-insensitive search on name and code.

legal_entity_id?string

Narrow to one owning legal entity. A restricted principal asking for an entity outside its allowed set gets 403 rather than a silently empty page.

Formatuuid
status?string

Lifecycle status, not occupancy.

Value in"active""inactive""archived"
property_type?string

Asset class. Filters the column, never the attributes blob.

Value in"office""retail""industrial""multifamily""land""mixed_use""other"
ownership_kind?string

Which properties to list by their legal entity's ownership. Defaults to 'owned' (which includes properties with no legal entity) — managed properties are opt-in, same contract as GET /v1/legal-entities.

Value in"owned""managed""all"
managed_by?string

Who manages the property: 'self' (no manager), 'internal' (an owned legal entity), 'external' (a party).

Value in"self""internal""external"
is_leasable?boolean

Narrow to properties that are, or are not, themselves the rentable location. true means the property is rented whole; false means something leasable sits beneath it.

attribute_filters?string

Equality filter on attributes, as a URL-encoded JSON object. Keys are validated against the built-in property attribute schema; an undeclared key is rejected rather than silently matching nothing.

cursor?string
limit?number

1..100, default 50

sort?string

Default: code

Value in"code""-code""name""-name""created_at""-created_at""purchase_date""-purchase_date"

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/properties'
{  "data": [    {      "active_contract_count": 1,      "active_contract_ids": [        "5743fc6c-e90a-46a4-aff2-278becb1f791"      ],      "address": "string",      "address_line2": "string",      "attributes": {},      "city": "string",      "code": "string",      "country": "string",      "county": "string",      "created_at": "2019-08-24T14:15:22Z",      "date_sold": "2019-08-24",      "effective_managing_legal_entity_id": "a8cb06e6-956e-47da-9d8e-0dde0b619fed",      "has_spaces": true,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_leasable": true,      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "legal_entity_ownership_kind": "owned",      "managing_legal_entity_id": "b522100b-0f0e-46bf-9e46-681f248a16fc",      "managing_party_id": "fdf09198-0b83-4d21-bb83-1f4ca9c1c22e",      "name": "string",      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "property_type": "office",      "purchase_date": "2019-08-24",      "purchase_price": "1250000.00",      "rentable_sqft": "12500.00",      "space_count": 4,      "state": "string",      "status": "active",      "subtree_leaf_count": 4,      "subtree_occupied_leaf_count": 3,      "updated_at": "2019-08-24T14:15:22Z",      "zip": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}

Create property

POST
/v1/properties

Takes no type id — the endpoint implies it. A code collision surfaces as 409 CONFLICT (codes are unique per org, spec D4).

Required scope: properties:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
address?string

Street address.

Lengthlength <= 200
address_line2?string

Second address line.

Lengthlength <= 200
attributes?

Caller-defined attributes (jsonb) for anything the columns above do not name. Shape is caller-defined. The promoted fields (address, address_line2, city, county, country, state, zip, date_sold, rentable_sqft, property_type) are NOT read from here — pass them as fields; keys of those names in this blob are ignored and stripped. address_line1/postal_code/sqft/type are accepted alias spellings and are stripped too.

city?string
Lengthlength <= 100
code*string

Unique per org (spec D4).

Lengthlength <= 64
country?string

Country, ISO-ish.

Lengthlength <= 3
county?string

County — geography, not tax. See PropertyV1Dto.county; this is not parcels.jurisdiction.

Lengthlength <= 100
date_sold?string
Formatdate
is_leasable?boolean

Whether the property itself is the rentable location. Defaults to true — a property is created with no spaces, so at that moment it is rentable whole.

legal_entity_id?string
Formatuuid
managing_legal_entity_id?string

Internal manager (an OWNED legal entity) — who operates this property, as distinct from legal_entity_id, who owns it. Mutually exclusive with managing_party_id. On POST /v1/properties/managed this same field additionally selects mode A: the new MANAGED legal entity is created under this manager, and it becomes the property's manager (spec 2026-09-19 D2).

Formatuuid
managing_party_id?string

External manager (a party in this org). Mutually exclusive with managing_legal_entity_id.

Formatuuid
name*string
Lengthlength <= 200
property_type?string

Asset class. May also be sent as type inside attributes -- the write path promotes and strips it either way. Defaults to null (unclassified).

Value in"office""retail""industrial""multifamily""land""mixed_use""other"
purchase_date?string
Formatdate
purchase_price?string

Numeric string with up to 2 decimal places (e.g. "1250000.00").

rentable_sqft?string

Rentable square feet for the whole property. numeric(14,2) as a string. May also be sent inside attributes — the write path promotes and strips it either way.

state?string
Lengthlength <= 100
status?string

Lifecycle status. Defaults to active.

Value in"active""inactive""archived"
zip?string

Postal code.

Lengthlength <= 20

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/properties' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "name": "string"}'
{  "data": {    "active_contract_count": 1,    "active_contract_ids": [      "5743fc6c-e90a-46a4-aff2-278becb1f791"    ],    "address": "string",    "address_line2": "string",    "attributes": {},    "city": "string",    "code": "string",    "country": "string",    "county": "string",    "created_at": "2019-08-24T14:15:22Z",    "date_sold": "2019-08-24",    "effective_managing_legal_entity_id": "a8cb06e6-956e-47da-9d8e-0dde0b619fed",    "has_spaces": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_leasable": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "legal_entity_ownership_kind": "owned",    "managing_legal_entity_id": "b522100b-0f0e-46bf-9e46-681f248a16fc",    "managing_party_id": "fdf09198-0b83-4d21-bb83-1f4ca9c1c22e",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "property_type": "office",    "purchase_date": "2019-08-24",    "purchase_price": "1250000.00",    "rentable_sqft": "12500.00",    "space_count": 4,    "state": "string",    "status": "active",    "subtree_leaf_count": 4,    "subtree_occupied_leaf_count": 3,    "updated_at": "2019-08-24T14:15:22Z",    "zip": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Create managed property

POST
/v1/properties/managed

Creates the property together with its MANAGED legal entity in one transaction (spec 2026-08-27 §5.2). Pass managing_legal_entity_id (+ optional legal_entity_name, default: the property name) to mint a new managed entity, OR legal_entity_id of an existing managed entity — exactly one of the two. An owned legal_entity_id is rejected. A code collision surfaces as 409 CONFLICT.

Required scope: properties:write

Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
address?string

Street address.

Lengthlength <= 200
address_line2?string

Second address line.

Lengthlength <= 200
attributes?

Caller-defined attributes (jsonb) for anything the columns above do not name. Shape is caller-defined. The promoted fields (address, address_line2, city, county, country, state, zip, date_sold, rentable_sqft, property_type) are NOT read from here — pass them as fields; keys of those names in this blob are ignored and stripped. address_line1/postal_code/sqft/type are accepted alias spellings and are stripped too.

city?string
Lengthlength <= 100
code*string

Unique per org (spec D4).

Lengthlength <= 64
country?string

Country, ISO-ish.

Lengthlength <= 3
county?string

County — geography, not tax. See PropertyV1Dto.county; this is not parcels.jurisdiction.

Lengthlength <= 100
date_sold?string
Formatdate
is_leasable?boolean

Whether the property itself is the rentable location. Defaults to true — a property is created with no spaces, so at that moment it is rentable whole.

legal_entity_id?string
Formatuuid
legal_entity_name?string

Mode A only: name for the new managed legal entity. Defaults to the property name.

Lengthlength <= 200
managing_legal_entity_id?string

Internal manager (an OWNED legal entity) — who operates this property, as distinct from legal_entity_id, who owns it. Mutually exclusive with managing_party_id. On POST /v1/properties/managed this same field additionally selects mode A: the new MANAGED legal entity is created under this manager, and it becomes the property's manager (spec 2026-09-19 D2).

Formatuuid
managing_party_id?string

External manager (a party in this org). Mutually exclusive with managing_legal_entity_id.

Formatuuid
name*string
Lengthlength <= 200
property_type?string

Asset class. May also be sent as type inside attributes -- the write path promotes and strips it either way. Defaults to null (unclassified).

Value in"office""retail""industrial""multifamily""land""mixed_use""other"
purchase_date?string
Formatdate
purchase_price?string

Numeric string with up to 2 decimal places (e.g. "1250000.00").

rentable_sqft?string

Rentable square feet for the whole property. numeric(14,2) as a string. May also be sent inside attributes — the write path promotes and strips it either way.

state?string
Lengthlength <= 100
status?string

Lifecycle status. Defaults to active.

Value in"active""inactive""archived"
zip?string

Postal code.

Lengthlength <= 20

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/properties/managed' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "name": "string"}'
{  "data": {    "active_contract_count": 1,    "active_contract_ids": [      "5743fc6c-e90a-46a4-aff2-278becb1f791"    ],    "address": "string",    "address_line2": "string",    "attributes": {},    "city": "string",    "code": "string",    "country": "string",    "county": "string",    "created_at": "2019-08-24T14:15:22Z",    "date_sold": "2019-08-24",    "effective_managing_legal_entity_id": "a8cb06e6-956e-47da-9d8e-0dde0b619fed",    "has_spaces": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_leasable": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "legal_entity_ownership_kind": "owned",    "managing_legal_entity_id": "b522100b-0f0e-46bf-9e46-681f248a16fc",    "managing_party_id": "fdf09198-0b83-4d21-bb83-1f4ca9c1c22e",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "property_type": "office",    "purchase_date": "2019-08-24",    "purchase_price": "1250000.00",    "rentable_sqft": "12500.00",    "space_count": 4,    "state": "string",    "status": "active",    "subtree_leaf_count": 4,    "subtree_occupied_leaf_count": 3,    "updated_at": "2019-08-24T14:15:22Z",    "zip": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Get property by id

GET
/v1/properties/{id}

Required scope: properties:read

Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/properties/string'
{  "data": {    "active_contract_count": 1,    "active_contract_ids": [      "5743fc6c-e90a-46a4-aff2-278becb1f791"    ],    "address": "string",    "address_line2": "string",    "attributes": {},    "city": "string",    "code": "string",    "country": "string",    "county": "string",    "created_at": "2019-08-24T14:15:22Z",    "date_sold": "2019-08-24",    "effective_managing_legal_entity_id": "a8cb06e6-956e-47da-9d8e-0dde0b619fed",    "has_spaces": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_leasable": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "legal_entity_ownership_kind": "owned",    "managing_legal_entity_id": "b522100b-0f0e-46bf-9e46-681f248a16fc",    "managing_party_id": "fdf09198-0b83-4d21-bb83-1f4ca9c1c22e",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "property_type": "office",    "purchase_date": "2019-08-24",    "purchase_price": "1250000.00",    "rentable_sqft": "12500.00",    "space_count": 4,    "state": "string",    "status": "active",    "subtree_leaf_count": 4,    "subtree_occupied_leaf_count": 3,    "updated_at": "2019-08-24T14:15:22Z",    "zip": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Delete property

DELETE
/v1/properties/{id}

Refused with TRACKABLE_HAS_JOURNAL_REFERENCES when journal dimensions still tag this property — the accounting spine must not be left pointing at a deleted row. Refused with PROPERTY_HAS_LEASES when any contract (a terminated lease included) names this property or one of its spaces as premises; archive the property instead. Deleting also removes the property's spaces (the mirror clears the subtree deepest-first).

Required scope: properties:write

Error codes: NOT_FOUND, CONFLICT, TRACKABLE_HAS_JOURNAL_REFERENCES, PROPERTY_HAS_LEASES, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

Possible error codes: LEGAL_ENTITY_NOT_IN_SCOPE

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/properties/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}

Update property

PUT
/v1/properties/{id}

Required scope: properties:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: NOT_FOUND, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE, LEASABLE_PATH_CONFLICT, PROPERTY_OWNER_LOCKED_BY_LOAN_COLLATERAL

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Request Body

application/json
  1. body
address?|
Lengthlength <= 200
address_line2?|
Lengthlength <= 200
attributes?

Caller-defined attributes (jsonb) for anything the columns above do not name. Replaces the whole blob. The promoted fields are NOT read from here — pass them as fields.

city?|
Lengthlength <= 100
country?|
Lengthlength <= 3
county?|
Lengthlength <= 100
date_sold?|
Formatdate
is_leasable?boolean

Whether the property itself is the rentable location. Fix 7's D5 invariant allows at most one leasable node per root-to-leaf path, so this and a leasable space beneath it must never both be true. That invariant is not yet enforced at this write path — the refusal arrives with spec P4. Until then, setting this true on a property that has a leasable space creates a violation the leasing.leasable_path_conflict detector will report.

legal_entity_id?|
Formatuuid
managing_legal_entity_id?|

Internal manager (an OWNED legal entity). Send null to clear.

Formatuuid
managing_party_id?|

External manager (a party in this org). Send null to clear.

Formatuuid
name?string
Lengthlength <= 200
property_type?|

Asset class, or null to clear.

Value in"office""retail""industrial""multifamily""land""mixed_use""other"
purchase_date?|
Formatdate
purchase_price?|

Numeric string with up to 2 decimal places, or null to clear.

rentable_sqft?|

Rentable square feet for the whole property, or null to clear. numeric(14,2) as a string.

state?|
Lengthlength <= 100
status?string
Value in"active""inactive""archived"
zip?|
Lengthlength <= 20

Response Body

application/json
  1. response
data*
meta*
curl -X PUT 'https://api.acreum.io/v1/properties/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "active_contract_count": 1,    "active_contract_ids": [      "5743fc6c-e90a-46a4-aff2-278becb1f791"    ],    "address": "string",    "address_line2": "string",    "attributes": {},    "city": "string",    "code": "string",    "country": "string",    "county": "string",    "created_at": "2019-08-24T14:15:22Z",    "date_sold": "2019-08-24",    "effective_managing_legal_entity_id": "a8cb06e6-956e-47da-9d8e-0dde0b619fed",    "has_spaces": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_leasable": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "legal_entity_ownership_kind": "owned",    "managing_legal_entity_id": "b522100b-0f0e-46bf-9e46-681f248a16fc",    "managing_party_id": "fdf09198-0b83-4d21-bb83-1f4ca9c1c22e",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "property_type": "office",    "purchase_date": "2019-08-24",    "purchase_price": "1250000.00",    "rentable_sqft": "12500.00",    "space_count": 4,    "state": "string",    "status": "active",    "subtree_leaf_count": 4,    "subtree_occupied_leaf_count": 3,    "updated_at": "2019-08-24T14:15:22Z",    "zip": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/properties/{parentId}/files

Required scope: properties:read

Pagination: cursor

Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

parentId*string

Query Parameters

cursor?string
limit?number

1..500, default 200

include?string

Pass "descendants" to include files from every space in this property, at any depth (roll-up). Pass "hierarchy" to include files of contracts linked to this property or to any space in it.

Value in"descendants""hierarchy"

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/properties/string/files'
{  "data": [    {      "content_type": "application/pdf",      "file_name": "string",      "file_sha256": "string",      "file_size_bytes": 0,      "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",      "folder_name": "string",      "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",      "group_label": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "owner_name": "string",      "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",      "source_kind": "party",      "source_label": "string",      "uploaded_at": "2019-08-24T14:15:22Z",      "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/properties/{parentId}/files

Required scope: properties:write

Error codes: ATTACHMENT_NOT_FOUND, ATTACHMENT_TYPE_UNSUPPORTED, ATTACHMENT_TOO_LARGE, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

parentId*string

Query Parameters

folderId*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

multipart/form-data
  1. body
file*unknown

PDF, image, Office, CSV or TXT file. Max 20 MiB. Sniffed server-side.

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/properties/string/files?folderId=string' \  -H 'Idempotency-Key: string' \  -F 'file=null'
{  "data": {    "content_type": "application/pdf",    "file_name": "string",    "file_sha256": "string",    "file_size_bytes": 0,    "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",    "folder_name": "string",    "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",    "group_label": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "owner_name": "string",    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",    "source_kind": "party",    "source_label": "string",    "uploaded_at": "2019-08-24T14:15:22Z",    "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PATCH
/v1/properties/{parentId}/files/{fileId}

Required scope: properties:write

Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

parentId*string
fileId*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
file_name?string

New display name for the file (rename). Trimmed server-side; storage_path and content_type never change. The extension is immutable — the new name must keep the current extension (changing it returns VALIDATION_FAILED). Omit to leave the current name unchanged. An explicit null is rejected — omit the field instead.

Length1 <= length <= 255
folder_id?|

Target folder id (see GET /v1/org-folders), or null to move the file to the root. Omit to leave the current folder unchanged.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/properties/string/files/string' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "content_type": "application/pdf",    "file_name": "string",    "file_sha256": "string",    "file_size_bytes": 0,    "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",    "folder_name": "string",    "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",    "group_label": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "owner_name": "string",    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",    "source_kind": "party",    "source_label": "string",    "uploaded_at": "2019-08-24T14:15:22Z",    "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Delete a property file

DELETE
/v1/properties/{parentId}/files/{fileId}

Required scope: files:delete

Error codes: ATTACHMENT_NOT_FOUND, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

parentId*string
fileId*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Response Body

Possible error codes: IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/properties/string/files/string' \  -H 'Idempotency-Key: string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}
GET
/v1/properties/{parentId}/files/{fileId}/download

Required scope: properties:read

Error codes: ATTACHMENT_NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

parentId*string
fileId*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/properties/string/files/string/download'
{  "data": {    "expires_at": "2019-08-24T14:15:22Z",    "url": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}