Skip to content

Deliverables & approvals

Publish cycle outcomes, request client approval and track decisions against an exact revision.

A deliverable presents one cycle’s outcome to your customer. It carries a title, a summary, a due date, the status you have declared to your customer, and a progress figure derived from the cycle’s own tasks. Publishing makes that deliverable visible to the project’s portal clients. Their project grant separately determines which project information they can read.

  • A cycle to publish. See Cycles.
  • A portal client granted that project, if you want anyone outside the agency to see it — Client access.
  • Any agency role can create, publish and unpublish. Invited client reviewers record their requested decisions.

A cycle’s status describes what the work is doing. A deliverable’s client status describes what the customer has been told. The two can differ: work can be merged internally and still be in_review for a customer who has not seen it yet.

Client status Meaning to your customer
draft Not yet presented.
in_review Published for customer review.
delivered Handed over.
accepted The customer accepted it.

Progress comes from the cycle’s completed tasks. The response includes the task counts and cycle status used to calculate it.

Use publish and unpublish to control client visibility.

Write the customer-facing description of a cycle.

Terminal window
curl -sS -X PUT "$HLIX_BASE_URL/v1/api/deliverables/$CYCLE_ID" \
-H "x-api-key: $HLIX_API_KEY" \
-H "X-Organization-Id: $HLIX_WORKSPACE_ID" \
-H 'content-type: application/json' \
-d '{"title": "Checkout redesign", "summary": "New payment step and address validation.", "clientStatus": "in_review"}'

Expected output — the deliverable, still internal until you publish it:

{
"id": "…",
"cycleId": "…",
"title": "Checkout redesign",
"summary": "New payment step and address validation.",
"dueDate": null,
"visibility": "internal",
"clientStatus": "in_review",
"submittedRevision": null,
"publishedAt": null
}

An approval request names one reviewer, who must already be a portal client granted that project. Invite them from the project’s People page first. The request is bound to the current published revision and its content hash, so the decision refers to the work the reviewer sees.

Terminal window
curl -sS -X POST "$HLIX_BASE_URL/v1/api/deliverables/$CYCLE_ID/approvals" \
-H "x-api-key: $HLIX_API_KEY" \
-H "X-Organization-Id: $HLIX_WORKSPACE_ID" \
-H 'content-type: application/json' \
-d '{"reviewerId": "…"}'

Expected output — an approval pinned to the published snapshot:

{"id": "…", "status": "pending", "revision": 1, "revisionHash": "…"}

The reviewer records their answer in the portal. For an API call, use the reviewer’s signed-in cookie and set X-Client-Portal to the agency Workspace ID:

Terminal window
curl -sS -X POST "$HLIX_BASE_URL/v1/api/deliverables/$CYCLE_ID/approvals/$APPROVAL_ID/decide" \
-H "Cookie: $CLIENT_SESSION_COOKIE" \
-H "X-Client-Portal: $HLIX_WORKSPACE_ID" \
-H 'content-type: application/json' \
-d '{"decision": "changes_requested", "comment": "The address step still accepts an empty postcode."}'

Expected output:

{"id": "…", "status": "changes_requested", "comment": "The address step still accepts an empty postcode.", "decidedAt": "2026-08-27T17:41:10.000Z"}

The two decisions are approved and changes_requested. A changes_requested must carry a comment. The comment is also posted into the cycle’s own conversation, so your team reads it alongside everything else said about that work.

A decision is immutable once made.

Client approval records the customer’s decision. To build a preview on approval, enable it in the project’s delivery policy.

  • Clients read published deliverables on projects shared with them.
  • The agency creates and publishes deliverables; the invited reviewer records their decision.
  • Permission error: use an agency account to manage deliverables and the invited reviewer’s account to decide.
  • Cycle or deliverable not found: check the ID, Workspace and client’s project grant.
  • 400 on PUT: use the documented fields. Progress is calculated from tasks; visibility changes through publish or unpublish.
  • 400 with changes_requested needs a comment — include a comment describing the requested changes.
  • 400 with {"error": "Reviewer is not a client on this project"} — the reviewer is not a portal client granted this project. Grant it on the project’s People page, then ask again.
  • 409 with {"error": "already_decided"} — the request was already answered. Decisions are immutable.
  • 409 with {"error": "not_published"} — the deliverable was withdrawn from the customer’s view since they were asked. Publish it and request approval again.
  • 409 with {"error": "revision_moved"} — you republished after asking. The reviewer is looking at a different snapshot than the one the request was pinned to. Ask again.
  • 409 with {"error": "content_changed"} — request approval again against the current published contents.
  • Approval is recorded but the preview did not deploy: check the project’s delivery policy and the reason returned with the decision.