Acreum Docs
Properties & leasing

Deals

List deals

GET
/v1/deals

Results are always returned newest-first (created_at desc); there is no sort parameter. Each row embeds its completeness summary (§7). Pass property_id to find the deal a given property was promoted from (spec §8.3 back-link).

Required scope: deals:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

status?string

Defaults to all when omitted.

Value in"in_progress""promoted""dropped""all"
kind?string
Value in"acquisition""disposition""internal_transfer"
property_id?string

Filter to the deal promoted into this property. Backs the property → originating-deal link (spec §8.3). Renamed from trackable_id in fix 7 unit 7.

Formatuuid
cursor?string
limit?number

1..100, default 50

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/deals'
{  "data": [    {      "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",      "attributes": {},      "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",      "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",      "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",      "code": "string",      "completeness": {        "can_promote": true,        "complete": 0,        "requirements": [          {            "gating": true,            "key": "property_details",            "message": "string",            "ok": true          }        ],        "total": 0      },      "contract_price": "string",      "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "critical_dates": [        {          "created_at": "2019-08-24T14:15:22Z",          "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",          "event_date": "2019-08-24",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "is_standard": true,          "kind": "string",          "label": "string",          "sort_order": 0,          "status": "pending",          "updated_at": "2019-08-24T14:15:22Z"        }      ],      "currency": "string",      "drop_reason": "string",      "dropped_at": "2019-08-24T14:15:22Z",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "acquisition",      "name": "string",      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "parties": [        {          "created_at": "2019-08-24T14:15:22Z",          "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",          "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",          "deal_role": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",          "side": "buyer"        }      ],      "promoted_at": "2019-08-24T14:15:22Z",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_removed_at": "2019-08-24T14:15:22Z",      "purchase_date": "2019-08-24",      "purchase_price": "string",      "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",      "stage": {        "code": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "label": "string",        "terminal_outcome": "closed"      },      "status": "in_progress",      "tenants": [        {          "created_at": "2019-08-24T14:15:22Z",          "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"        }      ],      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/deals

Required scope: deals:write

Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONFLICT, DEAL_SIDE_NOT_ALLOWED_FOR_KIND, DEAL_STAGE_CATALOG_INCOMPLETE

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
admin_legal_entity_id?stringDeprecated

Deprecated alias of contracting_legal_entity_id (removed one release after Deal Center phase 0).

Formatuuid
attributes?

Free-form jsonb bag. Canonical keys: address_line1, address_line2, city, state, postal_code, country, county, category, store_type, type, sqft.

buyer_legal_entity_id?string

The org's own legal entity on the buying side. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
buyer_party_id?string

The external buyer (a party in the org). Accepted on disposition deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
client_party_id?string

The client the deal is run for (a party in the org). Accepted on acquisition, disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
code?string

Case code (e.g. legacy "494").

Lengthlength <= 64
contract_price?string

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

contracting_legal_entity_id?string

The org's legal entity that signs the contract. Its entity_ownerships cap table (GET /v1/entity-ownerships?parent_entity_id=...) IS the deal's owners — see the owners completeness requirement. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
currency?string
Lengthlength <= 8
kind?string

Defaults to acquisition. Immutable once created.

Value in"acquisition""disposition""internal_transfer"
name*string
Lengthlength <= 200
purchase_date?string
Formatdate
purchase_price?stringDeprecated

Deprecated alias of contract_price (removed one release after Deal Center phase 0).

seller_legal_entity_id?string

The org's own legal entity on the selling side. Accepted on disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/deals/{id}

Required scope: deals:read

Error codes: NOT_FOUND

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/deals/string'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PATCH
/v1/deals/{id}

Required scope: deals:write

Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_KIND_IMMUTABLE, DEAL_SIDE_NOT_ALLOWED_FOR_KIND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Request Body

application/json
  1. body
admin_legal_entity_id?|Deprecated

Deprecated alias of contracting_legal_entity_id (removed one release after Deal Center phase 0).

Formatuuid
attributes?

Whole-object REPLACE, not a merge: when present, the deal's attributes are set to exactly this object (omit the field to leave them unchanged). Send the full attribute set on every update.

buyer_legal_entity_id?|

The org's own legal entity on the buying side. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
buyer_party_id?|

The external buyer (a party in the org). Accepted on disposition deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
client_party_id?|

The client the deal is run for (a party in the org). Accepted on acquisition, disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
code?|
Lengthlength <= 64
contract_price?|

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

contracting_legal_entity_id?|

The org's legal entity that signs the contract. Its entity_ownerships cap table (GET /v1/entity-ownerships?parent_entity_id=...) IS the deal's owners — see the owners completeness requirement. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid
currency?|
Lengthlength <= 8
name?string
Lengthlength <= 200
purchase_date?|
Formatdate
purchase_price?|Deprecated

Deprecated alias of contract_price (removed one release after Deal Center phase 0).

seller_legal_entity_id?|

The org's own legal entity on the selling side. Accepted on disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/deals/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/deals/{id}

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_DELETE_PROMOTED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

Possible error codes: NOT_FOUND

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/deals/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/deals/{id}/critical-dates

Required scope: deals:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/deals/string/critical-dates'
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",      "event_date": "2019-08-24",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_standard": true,      "kind": "string",      "label": "string",      "sort_order": 0,      "status": "pending",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/deals/{id}/critical-dates

Required scope: deals:write

Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_CRITICAL_DATES_MAX_CUSTOM, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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
event_date?|
Formatdate
label*string

Label for the custom milestone.

status?string
Value in"pending""done""na"

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/critical-dates' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "label": "string"}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",    "event_date": "2019-08-24",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_standard": true,    "kind": "string",    "label": "string",    "sort_order": 0,    "status": "pending",    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PATCH
/v1/deals/{id}/critical-dates/{cdId}

Required scope: deals:write

Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_CRITICAL_DATE_LABEL_IMMUTABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
cdId*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
event_date?|

Set/clear the date. null clears it.

Formatdate
label?string

Rename — allowed for custom entries only.

status?string
Value in"pending""done""na"

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/deals/string/critical-dates/string' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",    "event_date": "2019-08-24",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_standard": true,    "kind": "string",    "label": "string",    "sort_order": 0,    "status": "pending",    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/deals/{id}/critical-dates/{cdId}

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_NOT_EDITABLE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
cdId*string

Response Body

Possible error codes: NOT_FOUND

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/deals/string/critical-dates/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"}
POST
/v1/deals/{id}/drop

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_STAGE_CATALOG_INCOMPLETE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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
reason?string

Optional free-text reason recorded on the deal.

Lengthlength <= 500

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/drop' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

List a deal's parties

GET
/v1/deals/{id}/parties

Required scope: deals:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/deals/string/parties'
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",      "deal_role": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",      "side": "buyer"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/deals/{id}/parties

Required scope: deals:write

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, DEAL_NOT_EDITABLE, DEAL_ROLE_UNKNOWN, DEAL_ROLE_NOT_ALLOWED_FOR_KIND, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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
deal_role*string

A code from the org's deal role catalog; each role carries a side (buyer, seller or neutral). Every org is seeded with: seller, seller_attorney, seller_broker, current_lender, broker, current_owner, buyer_attorney, buyer_broker, lender, equity_partner, title_escrow, surveyor, environmental, inspector, insurer, appraiser, other. One required 'seller' party gates promote; the rest are informational. A disposition or internal transfer refuses seller and current_owner with DEAL_ROLE_NOT_ALLOWED_FOR_KIND: there the org's own entity is the seller.

Lengthlength <= 64
party_id*string
Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/parties' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "deal_role": "string",  "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",    "deal_role": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",    "side": "buyer"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/deals/{id}/parties/{dealPartyId}

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_NOT_EDITABLE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dealPartyId*string

Response Body

Possible error codes: NOT_FOUND

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/deals/string/parties/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"}
POST
/v1/deals/{id}/promote

Requires both deals:close and properties:write, because promoting creates a property.

Required scope: deals:close, properties:write

Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_CHECKLIST_INCOMPLETE, DEAL_KIND_NOT_PROMOTABLE, DEAL_STAGE_CATALOG_INCOMPLETE, CONFLICT, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/promote' \  -H 'Idempotency-Key: string'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/deals/{id}/reopen

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_STAGE_CATALOG_INCOMPLETE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/reopen' \  -H 'Idempotency-Key: string'
{  "data": {    "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a",    "attributes": {},    "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b",    "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0",    "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb",    "code": "string",    "completeness": {      "can_promote": true,      "complete": 0,      "requirements": [        {          "gating": true,          "key": "property_details",          "message": "string",          "ok": true        }      ],      "total": 0    },    "contract_price": "string",    "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03",    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "critical_dates": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "event_date": "2019-08-24",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_standard": true,        "kind": "string",        "label": "string",        "sort_order": 0,        "status": "pending",        "updated_at": "2019-08-24T14:15:22Z"      }    ],    "currency": "string",    "drop_reason": "string",    "dropped_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "acquisition",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "parties": [      {        "created_at": "2019-08-24T14:15:22Z",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "deal_role": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1",        "side": "buyer"      }    ],    "promoted_at": "2019-08-24T14:15:22Z",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_removed_at": "2019-08-24T14:15:22Z",    "purchase_date": "2019-08-24",    "purchase_price": "string",    "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15",    "stage": {      "code": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": "string",      "terminal_outcome": "closed"    },    "status": "in_progress",    "tenants": [      {        "created_at": "2019-08-24T14:15:22Z",        "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"      }    ],    "updated_at": "2019-08-24T14:15:22Z"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

List a deal's tenants

GET
/v1/deals/{id}/tenants

Required scope: deals:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/deals/string/tenants'
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}

Add a tenant to a deal

POST
/v1/deals/{id}/tenants

Required scope: deals:write

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, DEAL_NOT_EDITABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*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
party_id*string
Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/deals/string/tenants' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/deals/{id}/tenants/{tenantId}

Required scope: deals:write

Error codes: NOT_FOUND, DEAL_NOT_EDITABLE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
tenantId*string

Response Body

Possible error codes: NOT_FOUND

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/deals/string/tenants/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"}

List files for a deal

GET
/v1/deals/{parentId}/files

Required scope: deals: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

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/deals/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"  }}

Upload a file to a deal

POST
/v1/deals/{parentId}/files

Required scope: deals:write

Error codes: ATTACHMENT_NOT_FOUND, ATTACHMENT_TYPE_UNSUPPORTED, ATTACHMENT_TOO_LARGE, VALIDATION_FAILED, DEAL_NOT_EDITABLE, 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/deals/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/deals/{parentId}/files/{fileId}

Required scope: deals:write

Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, 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/deals/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 deal file

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

Required scope: files:delete

Error codes: ATTACHMENT_NOT_FOUND, DEAL_NOT_EDITABLE, 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/deals/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/deals/{parentId}/files/{fileId}/download

Required scope: deals: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/deals/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  }}