Hello,
I am trying to create one application using SPFX and Power Automate for simple 3 levels of approval. I have used below actions to process my approval. After creating approval, I am getting "Respond link" and updating it in SharePoint list. But my requirement is not to redirect to approvals page of Power automate but to pass response "Approve"/"Reject" to approval, somehow using API call or may be something else from MS flow itself(HTTP request).

Could you please help me with this? If Http request action to be used, how I can register my flow app and also which type of authentication should be used. API - https://api.flow.microsoft.com is not accessible with Basic authentication.
Requirement is to Approve/Reject request from Code(On click of Approve/Reject button on the form), without any intervention of Approval page.
Thanks in advance!!
Amar