A community member has associated this post with a similar question:
Share a file with external users using anonymousAccess by using sharepoint REST API
Only moderators can edit this content.
SharePoint API Request to Share a document using "People you choose" without sending a direct invitation email
Using SharePoint Online UI >> we can share a document with specific external users (with Read-Only permission) using those steps:-
now we are developing a .net application and a power automate, which need to create similar share links, but without sending a direct email to the external users' emails >> instead we want to get the sharing link >> prepare an custom HTML table which contain the share link address and then send the HTML table to the external users later on.
so can we do so using SharePoint REST API ? and how?
Regards