web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP Get request with ...
Power Automate
Unanswered

HTTP Get request with Oauth2.0

(0) ShareShare
ReportReport
Posted on by

Hi all, I’m a novice when it comes to API’s and my little experience has been with APIs that provide an API key. I’d like to interact with an API for a CRM that is using Oauth2.0 via Microsoft Power Automate. The documents for the API are very limited and I currently cannot get any dev assistance, so I’m hoping that someone with more experience than me can spare the time and help me out.

 

When logging into the API the options shown are pictured in in photo (1), once clicking through to API settings in line one “You can create your new OAuth client APP on 'API Settings' page” I’m given the option to register an Oauth client as pictured in photo (2). This is essentially where I am stuck, I’m unsure where to get an appropriate “Redirect URL” or really how this links to Power Automate. When entering a test URL just to proceed to see what I’m provided with, I am given a “Client Secret” and “Client ID” which concludes the setup.

 

I have many goals for getting this setup but one of the most simple and easy to use an example is: A flow is triggered by an incoming email that holds a unique ID number, this trigger runs a get request using the provided API call as pictured in photo (3) returning the information associated with this ID number which I can then use to fill out documentation/ update rows etc etc. I'm competent with Power automate and can make the rest of the flow, just don't know how to authenticate and use the Get request. I've included a photo of the get request currently, which when i run as is returns the error "unauthenticated".

 

I’m unsure if it is relevant but there is also three “Authorisation” API calls listed in the documentation which are pictured in photos (4-7).

 

For reference when using the 'Try it out' feature on the CRM API documentation, the get request example for the pictured get request I'm trying to get working provides:

 

Curl:

curl -X 'GET' \

  'https://api.CRMName.com/api/v2/companyId/123/client/123' \

  -H 'accept: application/json' \

  -H 'X-CSRF-TOKEN: Sample token'


Request URL:

https://api.CRMNAME.com/api/v2/companyId/123/client/123

 

Any and all help is greatly appreciated!

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard