Tray Embedded / Embedded APIs / GraphQL Playground (online testing)

GraphQL Playground (online testing)

The Tray GraphQL Playground is a handy resource for beginning to explore the Tray Embedded API and try out different queries and mutations.

For the most user-friendly testing environment, however, we recommend you download our Insomnia collection:

Exploring the schema

Click on the green label on the right to open the current schema structure and documentation for each field.

Authentication

You can use the HTTP Headers section on the bottom to enter your credentials to be used with the queries:

{ "Authorization": "Bearer <your-token>" }

Depending on the call being made your bearer will either be a master token or a user token.

Our API docs indicate which token is required for each query / mutation.

IMPORTANT!: You will be interacting with live production data and any changes will be permanent.