• First, you need to create an API token (e.g., X-AUTH-TOKEN) for every approver in your company;
  • Then you need to GET all of the documents that require approval from every user by adding the parameter 'waitingForapprove' with the value 'yes';
  • Then you need to POST an 'approve' or 'reject' action to the appropriate document;
  • Repeat this flow with every approver to reach 'approved' status.