Skip to main content

Start using the API

GraphQL​

Our API uses GraphQL to serve requests over HTTPS and WebSockets.
You can learn more about GraphQL here.

API URLs​

You can interact with the API by using the following URL: https://api.warrior.well-played.gg/graphql
Because the API uses strict GraphQL Schemas, you can easily generate an SDK and types by using a code generator.
If you want to play with the API and have more precise documentations, we provide a Playground through the following URL: https://api.warrior.well-played.gg/graphql.

Required headers​

To be able to interact with the API, you will need to send the header organization-id with all your requests to the API and setting its value to the ID of the Organization you want your app to be able to interact with.
This header is not needed on the following endpoints: findOrganizationFromDomain.
example:

curl -X POST -H 'organization-id: ORGANIZATION_ID_HERE'\
-d '{...}' https://api.warrior.well-played.gg