Use Project Api Key

At this stage, we assume you have your api key and you are ready to use it in GraphiQL.

You get your Api key either in the project itself through the marketplace or in your profile .

In those same pages, you’ll notice the Gateway endpoint . This is where you have access to the graphQL specific for each project.

From the marketplace in a project :

typicode_apikey_approved

From the profile page in the Api key section

profile_apikey

Copy & paste the URL of the gateway endpoint ( in this case : (http://typicode.wapixir.io/graphiql) ) in a new tab of your browser.

GraphiQL will open

graphiql_empty

In order to query the project, you need to enter the api key in the HTTP HEADERS on the bottom of the page.

Click on the HTTP HEADERS button

http_header

Here you write down the prefix x-api-key and paste your project’s api key.

http_apikey_prefix

Once done, you should be able to query the project !

graphiql_apikey_test