SharePoint  

How to Find SharePoint site id using REST API and Chrome Devtools

In this article, you will learn about how to find the SharePoint Site ID, a unique identifier for every SharePoint site. We will cover two simple methods to retrieve your site ID: using the REST API and using Chrome DevTools, so you can choose the approach that works best for you.

1 - REST API

  • To get SharePoint site id, you need to log in to your SharePoint site, provide the URL like the one below, and hit the URL. Then, you'll get the SharePoint site ID like in the image below.

https://{tenantname}.sharepoint.com/sites/{sitename}/_api/site/id
Screenshot - 2026-03-13T152233.905

2 - Chrome Devtools

  • First, you should log in to your SharePoint site.

  • Then, Open Chrome Devtools by pressing F12 or right click -> Inspect.

  • Refresh the home page of site with opened devtools beside.

  • Go to Network Tab -> In Filter -> Enter your tenant name.

  • Then, go to that request url -> Response -> Find : "siteId" in response.

  • As you can see siteId above siteUrl.

Screenshot 2026-03-13 152605

Conclusion

Here , we explored two practical ways to find your SharePoint Site ID: using the REST API and leveraging Chrome DevTools. Both methods are quick and effective, allowing you to retrieve your site’s unique identifier depending on your preference or technical comfort.