How to make a GraphQL API call using Postman

A step by step tutorial on making a GraphQL call in Postman.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 08/20/2022 at 14:44
Last Updated on 12/23/2022 at 14:55
A flower that represents GraphQL next to a flower that represents Postman. Beneath it sits the text that states 'Postman GraphQL API Call'.

A step by step tutorial on making a GraphQL call in Postman.

The following tutorial makes use of the free Pokemon API (PokeAPI), which is a free RESTful Pokémon API, that uses GraphQL to process requests. We use the GraphQL documentation provided at this link to construct a tutorial for you to learn how to make GraphQL calls using Postman.

SubscribeHow to make a GraphQL API call with an Authorization Bearer Token in PostmanDiscover PokeAPIDiscover the PokeAPI GraphiQL InterfaceLearn more about GraphQLDownload Postman

Step One: Determine your Query

A screenshot showing you the PokeAPI GraphiQL.

Navigate to the PokeAPI GraphiQL and plug in your query and use the Explorer to create a query which will appear under the Play sign next to GraphiQL.

For the purposes of this tutorial, we have made the query available below.

Discover the PokeAPI GraphiQL

Step Two: Determine the Request Headers

A screenshot showing you how to determine the request headers for a PokeAPI GraphQL call.

Select Request Headers under Post to discover the API request headers required for the call.

Step Three: Navigate to Postman

A screenshot showing you Postman.com and informing you how to create a new API call.

Go to Postman, sign in and select Create New under Start with something new.

Step Four: Select HTTP Request Building Block

A screenshot showing you the modal that appears with the building block options for Postman as well as where to select HTTP Request.

In the modal that appears, select HTTP Request.

Step Five: Setup your call and headers

A screenshot showing you how to setup the GraphQL Post request as well as the headers.

As demonstrated in the image above, update your Postman HTTP request to match that of Step 2.

Step Six: Declare the body

A screenshot showing you how to input a GraphQL Call into a body in Postman.

Click on Body and select GraphQL.

Then paste in your GraphQL query under Query as gathered from the PokeAPI GraphiQL.

Step Seven: Send

A screenshot showing you how to send an API call in Postman and where the results are found.

Click Send and see the GraphQL results at the bottom of the screen.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.

SubscribeInquireView All PostsView All ServicesView All Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe