Voyager is a great tool to visualize Refersion GraphQL. Follow the steps below to explore the full set of data available through the API.

  1. Prepare a POST request:
curl -X "POST" \
        "https://graphql.refersion.com/" \
        -H 'X-Refersion-Key: <YOUR_ACCESS_TOKEN>' \
        -H 'Content-Type: application/graphql' \

Notice the Content-Type, which is application/graphql instead of application/json

  1. Go to https://apis.guru/graphql-voyager/. On the left, click "Change Schema". This should open up a modal in the middle of the screen just like the image below:
1359

GraphQL Voyager options modal

  1. Change to the "Introspection" tab and click “Copy Introspection Query”. Once copied, paste the introspection query from your clipboard as the body of the POST request you prepared. Be sure to keep your Voyager window open as you proceed to the next steps.

  2. Next, send your POST request, copy the response and paste it back in Voyager (see below):

1348

GraphQL Voyager API Explorer introspection query example image.

  1. Finally, press "DISPLAY" and a visual graph should appear outlining all of the tables and fields that are available to query in your future requests.