@Anton Krutov
Thank you for your post and I apologize for the delayed response!
When it comes to the Azure Information Protection REST APIs, as of right now, you can only access alerts by using the Microsoft Graph Security API, or you can stream alerts to SIEM solutions, such as Splunk and IBM Qradar, by using Azure Monitor. Please keep in mind that support for Microsoft Graph Security is currently in preview.
For more information about the Microsoft Graph Security API, see Microsoft Graph Security API overview.
Additional Links:
Microsoft Information Protection SDK - API concepts
AzureInformationProtection PowerShell
If you'd like the AIP scanner to be integrated into REST APIs, I'd recommend leveraging the Azure Information Protection feature request form, and submitting a request so our engineering team can look into implementing this. For more info.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.