How to get Approvals Line Records in Zoho People via API or Custom Function

How to get Approvals Line Records in Zoho People via API or Custom Function

Hi Zoho support team!
I can't really find any document for getting the approvals flow of a record when using API or Custom Function. With "getRecordByID" just show Approval Status, how can I get approved people via custom function or API?
Thanks.