Hi I want to obtain Bearer token in Sharepoint 2016 on premise environment for the following code.

GET https://{site_url}/_api/web/lists/GetByTitle('List Title') Authorization: "Bearer " + accessToken Accept: "application/json;odata=verbose"

How do I achieve it using postman.

1 Answer 1


To access SharePoint 2016 Rest API through Postman, below are the steps:

Step 1 – Get your SharePoint site’s FormDigest using Contextinfo call

  1. In Postman, the contextinfo endpoint URL for your SharePoint Site…something like: https://mySharePointSite/_api/contextinfo
  2. Authothorization type choose NTLM Authothorization.
  3. Set the Accept header: application/json;odata=verbose
  4. Choose post method.

enter image description here

With Results: 1.Copy the big string of characters inside FormDigestValue

enter image description here

Step 2 – Make your HTML GET Request (or POST if you’re posting)

  1. Enter your endpoint URL…something like: https://mySharePointSite/_api/web/lists/getbytitle(‘MyListName’)/items?$select=Title
  2. Set the Accept header: application/json;odata=verbose
  3. Add the header X-RequestDigest and paste the FormDigestValue copied above into it

enter image description here enter image description here

  • 1
    Thanks for the answer. But I want to make a request using a Bearer token using Authorization as Bearer not NTLM. Please guide me with that. Sep 8, 2020 at 10:47

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.