FORBIDDEN
error after they validate their input.As in production, all Playground requests require an access token.
You can use your Playground credentials to request a partner token with the https://test.graphql.seek.com
audience.A partner token can be requested from the command line on macOS, Linux or Windows Subsystem for Linux:curl --request POST \
--url https://auth.seek.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":"Contact SEEK","client_secret":"Contact SEEK","audience":"https://test.graphql.seek.com","grant_type":"client_credentials"}'
expires_in
.The Playground environment uses the same GraphQL endpoint as the production SEEK API: https://graphql.seek.com/graphql
.Requests to the Playground are distinguished by their access token and scheme ID.
Instead of using the seekAnz
& global
scheme IDs to refer to production, you would use seekAnzPublicTest
& globalPublicTest
in their place.You can interactively query the Playground environment using the Developer Dashboard’s GraphQL Explorer.There are examples of GraphQL queries throughout this documentation.
Once you find an interesting query you can open it in the GraphQL Explorer using the button in the top right corner of the code block:Most example queries also include query variables in a second tab:query ($id: String!) {
candidate(id: $id) {
person {
name {
given
family
}
}
}
}