API URL - This is the root url for the API query.
Headers - You can create the custom headers that you pass with the API request.
Note - Variables use raw syntax here so String Pills need to be wrapped in quotes.
​
Code - Enter your GraphQL query here.
Use JSON - Defaults to True.
Fetch Schema from Transport - Defaults to True.
Number of Retries - Defaults to 3
Options: 0, 1, 2 ,3
Response - A struct will return with the JSON response from your API query.
Some example GraphQL APIs can be found in this Github repository.
Using the API URL found here, we can access country calling codes with a GraphQl like:
query {CallingCode {namecountries {name}}}
Which would return a response like this:
{ "CallingCode": [{ "name" : Int Type,"Countries" : [{"name" : String Type}]}]}
A public script using this can be found here.