We are trying to perform GET http://<site url>/_api/web/webs using SAML Authentication.

User can access subsites through UI. But still getting 403 while accessing above API using ReST.

Kindly let us know how can we resolve this issue.

1 Answer 1


The endpoint you need to use is


It will give you permission trimmed list of subsites

The /_api/web/webs endpoint only works for users with elevated permissions.

Reference - Webs REST API reference

  • Thanks for quick response; We able to get subsites; But I guess $top and $skip filters are not working with this query; Do you know how to do this using getsubwebsfilteredforcurrentuser
    – crk2904
    Jun 1, 2020 at 13:35
  • Hmm, I think those parameters won't work for this endpoint. Jun 1, 2020 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.