Approve a requisition
POST/v1/requisitions/:id/approve
Approves the requisition. Each approver decides once.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Decision recorded
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to view this requisition, or the API key lacks the requisitions:approve scope (err_insufficient_scope). Also returned when requisitions are not enabled for your account (err_requisition_feature_not_enabled).
Requisition not found (err_requisition_not_found).
Validation failed. Error codes:
err_no_ongoing_approval— the requisition is not waiting for approvalerr_user_not_a_reviewer_for_current_step— the user isn't a current approvererr_already_voted— the approver already decidederr_requisition_invalid— withapply_to_groupfalse, the requisition has invalid data and can't be decided aloneerr_invalid_submitted_by_user— the acting user can't approve on someone else's behalferr_approval_note_required— your account requires a note when approving on someone else's behalf