Skip to content

ReferenceInside a case

Workflow approvals

A workflow can pause at an approval step and wait for a member to approve or reject. The answer chooses which way the workflow goes on; it is not the case’s decision. Each approval is recorded on the case as a note and on its timeline.

Updated

Ask about this pageRead this page as Markdown

The approval object

  • idstring

    The approval’s id, starting with apr_.

  • case_idstring

    The case the workflow runs on.

  • workflowobject

    The workflow, with its id and name.

  • stepstring

    The step the workflow is paused at.

  • messagestring

    What the step shows the approver.

  • approversstring

    Who may approve, in words.

  • statusenum

    pending, approved, rejected or cancelled. A pending step is cancelled when the case is approved or rejected.

  • requested_atstring

    When the workflow paused.

  • resolvedobject

    Who approved or rejected it, when, and their comment. null while it waits.

List a case's approvals

Reads only

GET/v1/cases/{case_id}/workflow_approvals

The approval steps a workflow paused at on this case: what waits, who may approve, and how each one ended.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga workflow-approvals list <case_id>
MCP tool
list_workflow_approvals
Returns
The case’s approvals, the one waiting first.

Parameters

  • case_idid (case_)Required

    The case whose approvals to list. In the path.

curl -X GET https://api.kontiga.com/v1/cases/case_7Kq2Xw9/workflow_approvals \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/cases/{case_id}/workflow_approvals

Response, 200 OK
{
  "items": [
    {
      "id": "apr_2Mz6Qd4",
      "object": "workflow_approval",
      "mode": "live",
      "case_id": "case_7Kq2Xw9",
      "workflow": {
        "id": "wf_2Pk7Hd3",
        "name": "Mortgage applications"
      },
      "step": "Senior underwriter approval",
      "message": "Loan of €412,000 on 14 Harbour Row, Galway. A senior underwriter approves before the case goes on to a decision.",
      "approvers": "Owners and admins",
      "status": "pending",
      "requested_at": "2026-11-24T18:55:31Z",
      "resolved": null
    }
  ],
  "next_cursor": null
}

Approve a workflow step

Changes data

POST/v1/workflow_approvals/{approval_id}/approve

Approve the step a workflow waits at, with an optional comment for the audit log; the workflow goes on along its approved path.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga workflow-approvals approve <approval_id> [--comment <text>]
MCP tool
approve_workflow_step
Returns
The approval, approved, with who did it and when.

Parameters

  • approval_idid (apr_)Required

    The approval step to approve. One that no longer waits answers 409. In the path.

  • commentstring

    Why, for the audit log, up to 500 characters.

curl -X POST https://api.kontiga.com/v1/workflow_approvals/apr_2Mz6Qd4/approve \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "comment": "Loan to value is 78%, inside our lending policy."
  }'

POST /v1/workflow_approvals/{approval_id}/approve

Response, 200 OK
{
  "id": "apr_2Mz6Qd4",
  "object": "workflow_approval",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "workflow": {
    "id": "wf_2Pk7Hd3",
    "name": "Mortgage applications"
  },
  "step": "Senior underwriter approval",
  "message": "Loan of €412,000 on 14 Harbour Row, Galway. A senior underwriter approves before the case goes on to a decision.",
  "approvers": "Owners and admins",
  "status": "approved",
  "requested_at": "2026-11-24T18:55:31Z",
  "resolved": {
    "by": "Ines Moreau",
    "at": "2026-11-26T08:10:44Z",
    "comment": "Loan to value is 78%, inside our lending policy."
  }
}

Reject a workflow step

Changes data

POST/v1/workflow_approvals/{approval_id}/reject

Reject the step a workflow waits at, with an optional comment for the audit log; the workflow goes on along its rejected path.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga workflow-approvals reject <approval_id> [--comment <text>]
MCP tool
reject_workflow_step
Returns
The approval, rejected, with who did it and when.

Parameters

  • approval_idid (apr_)Required

    The approval step to reject. One that no longer waits answers 409. In the path.

  • commentstring

    Why, for the audit log, up to 500 characters.

curl -X POST https://api.kontiga.com/v1/workflow_approvals/apr_2Mz6Qd4/reject \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "comment": "The loan needs a second valuation before it can go on."
  }'

POST /v1/workflow_approvals/{approval_id}/reject

Response, 200 OK
{
  "id": "apr_2Mz6Qd4",
  "object": "workflow_approval",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "workflow": {
    "id": "wf_2Pk7Hd3",
    "name": "Mortgage applications"
  },
  "step": "Senior underwriter approval",
  "message": "Loan of €412,000 on 14 Harbour Row, Galway. A senior underwriter approves before the case goes on to a decision.",
  "approvers": "Owners and admins",
  "status": "rejected",
  "requested_at": "2026-11-24T18:55:31Z",
  "resolved": {
    "by": "Ines Moreau",
    "at": "2026-11-26T08:10:44Z",
    "comment": "The loan needs a second valuation before it can go on."
  }
}