Approvals
Default: the approver inbox — the caller’s ACTIVE tasks on PENDING requests, snapshot-matched, on the unified list contract (100 per page, sort -submitted_at (default) or submitted_at, search, ids). One row per task: id equals task_id, and ids matches the caller’s own task ids only. Each data entry (ApprovalInboxItemDto) is subject-polymorphic: document is populated for a document-approval request, payment_run for a payment-run approval request, distribution_batch for a distribution-batch approval request, portal_package for an investor-portal package publish request — exactly one of the four is non-null per item, and actionable is computed off whichever total applies (a portal-package request never requires authority, but is never actionable for its own submitter, nor for a caller without portal:manage).
The document_id and status switches below are DEPRECATED (use GET /v1/approvals/requests); they keep their own shapes, 50-row default and limit/cursor handling.
When document_id is supplied this switches to a DIFFERENT, request-level shape: that document’s full approval-request history — ALL requests across ALL statuses (pending/approved/rejected/cancelled), most-recent first, org-scoped. The snapshot match and the active/pending filters are ignored, and the result is unpaginated (meta.next_cursor is always null) because a document has few requests. Each data entry is an ApprovalRequestSummaryDto: { request_id, document_id, status, current_step_order, submitted_by, submitted_at, resolved_at, rule_id }.
When status is supplied (and document_id is not) this switches to a THIRD shape: the ORG-WIDE history of RESOLVED requests for that terminal status (approved or rejected), most-recently-resolved first (resolved_at DESC, id DESC), cursor-paginated. Each data entry is an ApprovalHistoryItemDto: { request_id, status, submitted_by, submitted_at, resolved_at, approved_by, document, payment_run, distribution_batch, portal_package }, the same document/payment_run/distribution_batch/portal_package polymorphism as the default inbox shape. approved_by is the distinct user ids that recorded an approve decision on the request, ordered by their earliest approve-decision time (empty for a request with no approve decisions). An unknown status is rejected with 400 VALIDATION_FAILED.
Required scope: approvals:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>document_type?stringInbox-only filter. A real document type (e.g. bill) restricts to that document type; the special value payment_run restricts to payment-run approval requests, distribution_batch to distribution-batch approval requests, and portal_package to investor-portal package publish requests instead.
legal_entity_id?stringuuiddocument_id?stringDeprecatedDeprecated: use GET /v1/approvals/requests. A document id switches this route to that document’s request-level history (summary shape, unpaginated).
status?stringDeprecatedDeprecated: use GET /v1/approvals/requests. approved or rejected switches this route to the org-wide resolved-request history. Ignored when document_id is present.
"approved""rejected"cursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: -submitted_at
"-submitted_at""submitted_at"search?stringCase-insensitive substring match on: document_number, party name, payment run number, legal entity name.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/approvals'{ "data": [ { "actionable": true, "distribution_batch": { "due_dates": { "from": "2019-08-24", "to": "2019-08-24" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_count": 0, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "submitted_at": "2019-08-24T14:15:22Z", "total": "1234.50" }, "document": { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "submitted_at": "string", "total": "1234.50" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "payment_run": { "amount": "1234.50", "bank_account_name": "string", "bill_count": 0, "entity_group_id": "3d94d49b-ac77-49ca-89b4-686413823c10", "entity_group_name": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "payment_run_id": "30719c1a-d3bb-4533-b173-916acfe066b0", "run_number": "string", "submitted_at": "string", "total": "1234.50", "vendor_count": 0 }, "portal_package": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "period_label": "string", "publish_failed_at": "string", "publish_outcome": "published", "submitted_at": "string", "window_end_inclusive": "2019-08-24", "window_start": "2019-08-24" }, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "require_authority": true, "step_name": "string", "step_order": 0, "task_id": "736fde4d-9029-4915-8189-01353d6982cb" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}pending is the caller’s active tasks on pending requests (the inbox membership); actionable is those the caller can act on now (the inbox actionable flag). A non-member reads as the inbox does.
Required scope: approvals:read
Pagination: computed
access-tokenAuthorizationBearer <token>application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/approvals/count'{ "data": { "actionable": 0, "pending": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Org-wide approval requests, one row per request (id is the request id), on the unified list contract (100 per page). status takes a comma list of pending/approved/rejected/cancelled; document_id restricts to one document’s requests; document_type and legal_entity_id filter the subject as in the inbox. Sorts by submitted_at or resolved_at; a pending request has no resolution time and sorts as the latest by resolved_at. ids returns those requests regardless of other filters (the org still applies). Each row carries exactly one of document/payment_run/distribution_batch/portal_package.
Required scope: approvals:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?stringComma-separated request statuses: pending, approved, rejected, cancelled.
document_id?stringOnly the requests of this document.
uuiddocument_type?stringA document type, or payment_run, distribution_batch, portal_package.
legal_entity_id?stringuuidcursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: -submitted_at
"-submitted_at""submitted_at""-resolved_at""resolved_at"search?stringCase-insensitive substring match on: document_number, party name, payment run number, legal entity name.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/approvals/requests'{ "data": [ { "actionable": true, "approved_by": [ "string" ], "current_step_order": 0, "distribution_batch": { "due_dates": { "from": "2019-08-24", "to": "2019-08-24" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_count": 0, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "submitted_at": "2019-08-24T14:15:22Z", "total": "1234.50" }, "document": { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "submitted_at": "string", "total": "1234.50" }, "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "payment_run": { "amount": "1234.50", "bank_account_name": "string", "bill_count": 0, "entity_group_id": "3d94d49b-ac77-49ca-89b4-686413823c10", "entity_group_name": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "payment_run_id": "30719c1a-d3bb-4533-b173-916acfe066b0", "run_number": "string", "submitted_at": "string", "total": "1234.50", "vendor_count": 0 }, "portal_package": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "period_label": "string", "publish_failed_at": "string", "publish_outcome": "published", "submitted_at": "string", "window_end_inclusive": "2019-08-24", "window_start": "2019-08-24" }, "resolved_at": "string", "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60", "status": "pending", "submitted_at": "string", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: approvals:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/approvals/string'{ "data": { "current_step_order": 0, "decisions": [ { "approver_user_id": "83b6f6d9-c2f2-490e-8b8c-2f56e2c1c583", "decided_at": "string", "decision": "approve", "note": "string", "step_order": 0, "task_id": "736fde4d-9029-4915-8189-01353d6982cb" } ], "distribution_batch": { "due_dates": { "from": "2019-08-24", "to": "2019-08-24" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "item_count": 0, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "submitted_at": "2019-08-24T14:15:22Z", "total": "1234.50" }, "distribution_batch_id": "c3958afc-c40b-4382-aa80-06fac07c2b36", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "payment_run": { "amount": "1234.50", "bank_account_name": "string", "bill_count": 0, "entity_group_id": "3d94d49b-ac77-49ca-89b4-686413823c10", "entity_group_name": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "payment_run_id": "30719c1a-d3bb-4533-b173-916acfe066b0", "run_number": "string", "submitted_at": "string", "total": "1234.50", "vendor_count": 0 }, "payment_run_id": "30719c1a-d3bb-4533-b173-916acfe066b0", "portal_package": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "period_label": "string", "publish_failed_at": "string", "publish_outcome": "published", "submitted_at": "string", "window_end_inclusive": "2019-08-24", "window_start": "2019-08-24" }, "portal_package_id": "3ed46df9-7439-4253-8a93-48e49bd0c8e4", "resolved_at": "string", "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60", "status": "pending", "submitted_at": "string", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "tasks": [ { "approvals_received": 0, "approvals_required": 0, "approvers_snapshot": [ { "kind": "role", "role": "string", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ], "name": "string", "require_authority": true, "status": "pending", "step_order": 0, "task_id": "736fde4d-9029-4915-8189-01353d6982cb" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: documents:approve
Error codes: VALIDATION_FAILED, FORBIDDEN, LEGAL_ENTITY_NOT_IN_SCOPE, CONFLICT, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
decision*stringThe decision the approver is recording against the active task.
"approve""reject"note?|Optional free-text note recorded with the decision.
length <= 2000application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/approvals/string/decision' \ -H 'Content-Type: application/json' \ -d '{ "decision": "approve"}'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: documents:write
Error codes: FORBIDDEN, CONFLICT, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/approvals/string/withdraw'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}