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 Apps / Consuming GraphQL base...
Power Apps
Unanswered

Consuming GraphQL based API in PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to consume my web API build using GraphQL query language in my Canvas based power app. How to register such API under custom connections and how to consume this connection in canvas app to execute queries?

Thanks

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi Mradul_K,

     

    To consume a custom API, this requires registering a custom connector. Please note though that only REST APIs can be consumed by Power Apps and Power Automate (Logic Apps can also consume WCF endpoints). The canvas app relies on the swagger/open API definition of the REST endpoint to determine the schema of the response object so that you can map fields to controls on the canvas. Unless your graphql is behind a REST API, you won't be able to consume it directly within Power Apps. 

  • ashiqf Profile Picture
    124 on at

    I know it is an old post but it might help some one looking for an answer. If you want to use a GraphQL query based API in Power Apps, you can either register a Custom Connector calling the graphql api or call a flow which call the API through the HTTP connector. To call a graphql api, you will have to convert the GraphQL query to raw body, Postman utility will help you do this.

    GraphQL-Postman-RawRequestBody-Code.png

    I have written about this on the following blogpost how you can do this

    https://ashiqf.com/2021/04/25/what-is-graphql-and-how-to-consume-a-graphql-query-based-api-in-power-automate/

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard