---
title: List Approval Processes
slug: list-approval-processes
docTags: 
createdAt: 2026-09-04T03:52:07.814Z
---

{
  "id": "9ks-jK8rGSHDoDBud6m4S",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/cpq/approval-processes",
    "servers": [
      {
        "url": "https://api.nue.io/cpq/approval-processes",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/cpq/approval-processes",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "List Approval Processes",
    "description": "<p>Lists the approval processes configured for an object, in the order the engine evaluates them. Supply either <code>objectType</code> or <code>recordId</code>; when <code>recordId</code> is supplied the object is derived from it and only processes applicable to that record are returned.</p>\n<p>The response is the standard approvals envelope: <code>status</code> is <code>SUCCESS</code> or <code>FAILURE</code>, <code>data</code> carries the typed payload, and <code>warnings</code> and <code>errors</code> carry coded messages. Validation and engine failures are reported as coded errors on the envelope rather than as exceptions.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "objectType",
          "type": "string",
          "description": "<p>Object to list processes for, e.g. <code>Quote</code>. Required unless <code>recordId</code> is supplied.</p>"
        },
        {
          "kind": "optional",
          "name": "recordId",
          "type": "string",
          "description": "<p>Record to derive the object from. Required unless <code>objectType</code> is supplied.</p>"
        },
        {
          "kind": "optional",
          "name": "activeOnly",
          "type": "boolean",
          "description": "Return only active processes."
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "ApiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Approval processes returned.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Envelope returned when listing approval processes.",
            "customType": "ApprovalProcessesResponse",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><code>SUCCESS</code> or <code>FAILURE</code>.</p>"
              },
              {
                "name": "data",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ApprovalProcessesData",
                "customType": "ApprovalProcessesData",
                "schema": [
                  {
                    "name": "objectType",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "processes",
                    "kind": "optional",
                    "type": "array",
                    "description": "Processes in engine evaluation order.",
                    "modelRef": "#/components/schemas/ApprovalProcessSummary",
                    "customType": "ApprovalProcessSummary[]",
                    "schema": [
                      {
                        "name": "processName",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "objectType",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "versionNumber",
                        "kind": "optional",
                        "type": "integer",
                        "description": ""
                      },
                      {
                        "name": "isActive",
                        "kind": "optional",
                        "type": "boolean",
                        "description": ""
                      },
                      {
                        "name": "processOrder",
                        "kind": "optional",
                        "type": "integer",
                        "description": "Position in the engine's evaluation order."
                      },
                      {
                        "name": "appliesWhen",
                        "kind": "optional",
                        "type": "string",
                        "description": "Criteria describing when the process applies."
                      },
                      {
                        "name": "description",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      }
                    ]
                  }
                ]
              },
              {
                "name": "warnings",
                "kind": "optional",
                "type": "array",
                "description": "<p>A coded message returned on the envelope. Validation and engine failures are reported here rather than thrown, so a FAILURE response is still a well-formed body.</p>",
                "modelRef": "#/components/schemas/ApprovalMessage",
                "customType": "ApprovalMessage[]",
                "schema": [
                  {
                    "name": "severity",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><code>ERROR</code>, <code>WARNING</code>, or <code>INFO</code>.</p>"
                  },
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Stable machine-readable code, e.g. <code>INVALID_PARAMETER</code>, <code>MISSING_PARAMETER</code>, <code>RECORD_NOT_FOUND</code>.</p>"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Human-readable explanation.</p>"
                  }
                ]
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "description": "<p>A coded message returned on the envelope. Validation and engine failures are reported here rather than thrown, so a FAILURE response is still a well-formed body.</p>",
                "modelRef": "#/components/schemas/ApprovalMessage",
                "customType": "ApprovalMessage[]",
                "schema": [
                  {
                    "name": "severity",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><code>ERROR</code>, <code>WARNING</code>, or <code>INFO</code>.</p>"
                  },
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Stable machine-readable code, e.g. <code>INVALID_PARAMETER</code>, <code>MISSING_PARAMETER</code>, <code>RECORD_NOT_FOUND</code>.</p>"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Human-readable explanation.</p>"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ApprovalProcessesResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Missing or invalid parameter.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Envelope returned by the approval action verbs.",
            "customType": "ApprovalActionResponse",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p><code>SUCCESS</code> or <code>FAILURE</code>.</p>"
              },
              {
                "name": "data",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/ApprovalActionData",
                "customType": "ApprovalActionData",
                "schema": [
                  {
                    "name": "requestId",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "recordId",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "status",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "isLocked",
                    "kind": "optional",
                    "type": "boolean",
                    "description": ""
                  },
                  {
                    "name": "approvers",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/ApprovalActionItem",
                    "customType": "ApprovalActionItem[]",
                    "schema": [
                      {
                        "name": "approvalId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "stepName",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "stepStatus",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "approverUserId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "originalApproverUserId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "reassignedFromApprovalId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "rejectionMessage",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      }
                    ]
                  },
                  {
                    "name": "approvals",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/ApprovalActionItem",
                    "customType": "ApprovalActionItem[]",
                    "schema": [
                      {
                        "name": "approvalId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "stepName",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "stepStatus",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "approverUserId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "originalApproverUserId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "reassignedFromApprovalId",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "rejectionMessage",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      }
                    ]
                  }
                ]
              },
              {
                "name": "warnings",
                "kind": "optional",
                "type": "array",
                "description": "<p>A coded message returned on the envelope. Validation and engine failures are reported here rather than thrown, so a FAILURE response is still a well-formed body.</p>",
                "modelRef": "#/components/schemas/ApprovalMessage",
                "customType": "ApprovalMessage[]",
                "schema": [
                  {
                    "name": "severity",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><code>ERROR</code>, <code>WARNING</code>, or <code>INFO</code>.</p>"
                  },
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Stable machine-readable code, e.g. <code>INVALID_PARAMETER</code>, <code>MISSING_PARAMETER</code>, <code>RECORD_NOT_FOUND</code>.</p>"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Human-readable explanation.</p>"
                  }
                ]
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "array",
                "description": "<p>A coded message returned on the envelope. Validation and engine failures are reported here rather than thrown, so a FAILURE response is still a well-formed body.</p>",
                "modelRef": "#/components/schemas/ApprovalMessage",
                "customType": "ApprovalMessage[]",
                "schema": [
                  {
                    "name": "severity",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p><code>ERROR</code>, <code>WARNING</code>, or <code>INFO</code>.</p>"
                  },
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Stable machine-readable code, e.g. <code>INVALID_PARAMETER</code>, <code>MISSING_PARAMETER</code>, <code>RECORD_NOT_FOUND</code>.</p>"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Human-readable explanation.</p>"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ApprovalActionResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Authentication failed or the Salesforce session is unavailable.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Record not found.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "429",
        "description": "Salesforce limit exceeded.",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "500",
        "description": "Unexpected or upstream failure.",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "Zb6b_Yo4OKKHd1578fZ-b",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/cpq/approval-processes \\\n     --header 'accept: application/json'"
        },
        {
          "id": "j2RM5JAddMfD98wWG25ip",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/cpq/approval-processes\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "HorMww6eF0PpR_-Khl9LU",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/cpq/approval-processes\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "tYZF92YMIxJ6OJavxvTpJ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/cpq/approval-processes\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "Zb6b_Yo4OKKHd1578fZ-b"
    },
    "results": {
      "languages": [
        {
          "id": "CDEOLpRZPZcNOJro9j-XG",
          "language": "200",
          "code": "// Approval processes returned.\n{\n  \"status\": \"\",\n  \"data\": {\n    \"objectType\": \"\",\n    \"processes\": [\n      {\n        \"processName\": \"\",\n        \"objectType\": \"\",\n        \"versionNumber\": 0,\n        \"isActive\": false,\n        \"processOrder\": 0,\n        \"appliesWhen\": \"\",\n        \"description\": \"\"\n      }\n    ]\n  },\n  \"warnings\": [\n    {\n      \"severity\": \"\",\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ],\n  \"errors\": [\n    {\n      \"severity\": \"\",\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ]\n}"
        },
        {
          "id": "BZl3EduSavxlzbt670SWC",
          "language": "400",
          "code": "// Missing or invalid parameter.\n{\n  \"status\": \"\",\n  \"data\": {\n    \"requestId\": \"\",\n    \"recordId\": \"\",\n    \"status\": \"\",\n    \"isLocked\": false,\n    \"approvers\": [\n      {\n        \"approvalId\": \"\",\n        \"stepName\": \"\",\n        \"stepStatus\": \"\",\n        \"approverUserId\": \"\",\n        \"originalApproverUserId\": \"\",\n        \"reassignedFromApprovalId\": \"\",\n        \"rejectionMessage\": \"\"\n      }\n    ],\n    \"approvals\": [\n      {\n        \"approvalId\": \"\",\n        \"stepName\": \"\",\n        \"stepStatus\": \"\",\n        \"approverUserId\": \"\",\n        \"originalApproverUserId\": \"\",\n        \"reassignedFromApprovalId\": \"\",\n        \"rejectionMessage\": \"\"\n      }\n    ]\n  },\n  \"warnings\": [\n    {\n      \"severity\": \"\",\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ],\n  \"errors\": [\n    {\n      \"severity\": \"\",\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ]\n}"
        },
        {
          "id": "X4hNu7reQmYo5ty1W14uy",
          "language": "401",
          "code": "// Authentication failed or the Salesforce session is unavailable.\n"
        },
        {
          "id": "0L9giEK-c7zpvy7Ase9ta",
          "language": "404",
          "code": "// Record not found.\n"
        },
        {
          "id": "nsiSm6tWSbQPVW8qbF785",
          "language": "429",
          "code": "// Salesforce limit exceeded.\n"
        },
        {
          "id": "LZhhfrXnvDpeum9TmUhXk",
          "language": "500",
          "code": "// Unexpected or upstream failure.\n"
        }
      ],
      "selectedLanguageId": "CDEOLpRZPZcNOJro9j-XG"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}