Retrieving Approval ID or Approval Stage ID from request using API

Retrieving Approval ID or Approval Stage ID from request using API

Hi,

I am looking for a way where I can get Approval ID associated with a request. As of now, I only find that to be do-able through accessing SQL table manually. Using API requires providing Approval ID which I am unable to get from within the request.
Is there a way that this value can be extracted automatically rather than going through SQL DB everytime.

I am running on 11140 and using SQL DB.

Thanks!