Skip to main content

Get Approval Stage Detail

Retrieve the details of a single approval stage by its stage number, including all approvers and their individual decisions.

URL: GET /api/v1/approval/{id}/stage/{stage_number}

Example: GET http://172.16.15.185/api/v1/approval/118/stage/2

Path Variables

VariableTypeDescription
{id}longApproval ID. Must be greater than 0.
{stage_number}intStage number, 1-based.

Request Headers

KeyDescription
AuthorizationBearer token or API Key
Content-Typeapplication/json

Example Request

curl --location 'http://172.16.15.185/api/v1/approval/118/stage/2' \
--header 'Authorization: Apikey wGjCygm6LvI7J1LT%40HHW%2Bs0ighXw7TeP5biyBL1uvBkzRnKMidKLUsz%2FIHEIn9w%3D%3D'

Example Response (200 OK)

{
"stageNumber": 2,
"status": "pending",
"decisionRule": "unanimous",
"isActive": true,
"approvedCount": 0,
"rejectedCount": 0,
"pendingCount": 1,
"commentsCount": 0,
"approvers": [
{
"id": 211,
"displayName": "Adam",
"approvalStatus": "pending",
"decidedAt": 1786692992585
}
],
"hasMoreApprovers": false
}

Response Fields

The response returns a single stage object with the following fields.

FieldTypeDescription
stageNumberintStage number, 1-based.
statusstringStage status: pending, approved, or rejected.
decisionRulestringDecision rule for this stage: unanimous, majority, or any_one.
isActivebooleantrue when this stage is currently awaiting decisions.
approvedCountintNumber of approvers who approved.
rejectedCountintNumber of approvers who rejected.
pendingCountintNumber of approvers yet to decide.
commentsCountintTotal number of comments on this stage. Retrieve comments using GET Stage Comments.
approversarrayList of approver objects. Capped at 100 per stage.
hasMoreApproversbooleantrue when the stage has more than 100 approvers.

Approver Object

FieldTypeDescription
idlongApprover record ID.
displayNamestringName of the approver.
approvalStatusstringIndividual approver status: pending, approved, or rejected.
decidedAtlong, string, or nullTimestamp of the decision. null if the approver has not decided yet.
Use This Endpoint for Large Approvals

When GET Approval Detail returns hasMoreStages: true or hasMoreApprovers: true, use this endpoint to drill into individual stages without loading the full approval payload.

Error Responses

ScenarioHTTP StatusWhen It Occurs
Invalid {id} (less than or equal to 0)400 Bad RequestA negative or zero approval ID was provided.
Stage not found400 Bad RequestNo stage with the given stage_number exists on the approval.
Unauthorized401 UnauthorizedSession expired or no valid credentials were provided.