Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Connecting Web API using Postman (collection and Environment)

Hello All,

 

I have a post man collection that is rather large. It calls on a postman enviornment for all information I believe should be kept secure (such as API key, bearer token, ect). I tried to follow the microsoft instructions to create a custom connector but it doesn't work as I would hope. I think I will need to go through and add the values that were being called from the enviornment into each "Get" or "Post" function. I am new to API and would appreciate any help o nhow to use my API calls. Is there an easy way to make a call using my "GET" function for all employees and then having that table in PowerBI ready to use?

 

When I try to connect directly to any of my web API calls using the WEB option on PowerBI I always recieve the error "Authentication" must be used anonymously. 

 

Any help on how to use a WEB API would be amazing.

 

Thank you.

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

You need to get access token befor you call the REST API. That is "Authentication".

 

vchenwuzmsft_0-1663145241450.png

 

How to get access token please refer this post.

Solved: REST API Get Access Token - Microsoft Power BI Community

 

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thank you! I have been using this token in a header labeled "Authentication" but it is popping up with the following error:

error.PNG

 

Here is an example of what I put in:

example.PNG

 

For reference these are example API calls from the company website I am attemptying to call information form:

REST API Reference Guide (saashr.com)

 

Thank you very much for your help

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.