cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimmyNeutron
Helper II
Helper II

Where does the API key go?

I am trying to set up a custom connection in PowerApps with an API key. I set the authentication type to API Key, and I set the parameter name to Authorization. 

 

I set up the connection in Postman collection, so I know exactly what I need. I need to put:

"Authorization" : "{APIKeyInfo}"

Where {APIKeyInfo} is what my API key is along with other characters. This worked in Postman and I was able to retrieve the data successfully. 

 

This must go in the header somewhere but I don't know where I'm able to put in the API key. I tried following this guide: 

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-postman-collection

Closer to the bottom of the page, it looks like I'm supposed to be able to put in the API key once I test the connector but no popup box appears for me whenever I try to test the connection. I just get 403 (Forbidden) errors. It looks like the rest of my custom connector is fine, I just need to figure out how to pass in the API key. Any ideas on how to put in the API key information? 

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks! Turns out I just needed to let the connector update. Once I set the name to "Authorization" and updated the connector and created the connection, That's where the pop up appears asking me to enter the API key information! 

View solution in original post

2 REPLIES 2
StalinPonnusamy
Community Champion
Community Champion

Hi @JimmyNeutron 

I believe the API key should be code and location is query

 

StalinPonnusamy_0-1627104365618.png

 

StalinPonnusamy_1-1627104431940.png

 

Thanks! Turns out I just needed to let the connector update. Once I set the name to "Authorization" and updated the connector and created the connection, That's where the pop up appears asking me to enter the API key information! 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,319)