Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Using browser Developer tool to Inspecte the parameters sent when creating sharing links for our SharePoint documents. is this a correct way

(0) ShareShare
ReportReport
Posted on by 3,502

I want to create 2 "Send http request to SharePoint" action inside our scheduled flow to share documents using those 2 methods:-

  • Anyone link with Read-Only permission + Password
  • "People you choose" link with Read-Only permission

    Now I did not find any official documentations from Microsoft regarding the parameters we can send using the ShareLink api endpoint.... So I went to SharePoint online UI and i inspected the parameters sent using the browser developer tool, as follow:-

     

    • For the Anyone link with Read-Only permission + Password, i found that the following parameters will be sent:-
       

      image.png

       

      image.png

       

      • For the "People you choose" link with Read-Only permission, I found the following parameters will be sent:-
         
         

        image.png

         

        image.png

        Now since I did not find any official documentations about those parameters, so my question is, if I pass those parameters inside my "Send http request to SharePoint" body sectin, will I always get the same result (now and in the future)? or for example, I might send the above parameters in the future and cause the sharing link to allow editing the document instead of Read-only? or those parameters should not be changed in the future by Microsoft? for example, currently "role:1" mean that the user will have Read-Only permission on the document been shared, so could the behavior of this parameter get changed in the future? so "role:1" grant the user edit instead of read-only?

         

        Second question, in general why the ShareLink api end point does not have any official documentation mainly about the parameters options we have?

        Regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1