Pathwright uses GraphQL for our public and private APIs. Our GraphQL exposes most core operations that make Pathwright work. If you'd like to find out more about GraphQL, we recommend starting at GraphQL.org
The GraphQL Sandbox is a visual GraphQL query tool that allows you to write queries and view query responses directly from the browser.
You need two things to use your GraphQL endpoint:
school.id
Once you have both of the above, you can browse the GraphQL Sandbox by doing the following:
⚠️ Note: If you’re testing API integrations on our staging servers, you’ll need to instead access our staging GraphQL server by substituting the gql.pathwright.com portion of the URL to **gql.pathwrightstaging.com.**
There's a panel to the left in the GraphQL Sandbox that allows you to browse all data objects that are exposed through our GraphQL endpoint. Select “Schema” to open it. If you have any questions about access or queries feel free to reach out to our team.
There are GraphQL client libraries for practically every language or framework. The details below should apply to any of them
To connect to the client you'll need to set your client endpoint URL to:
https://gql.pathwright.com/graphql?school_id=<your_school_id>