What’s Included in the Share Link?

When creating a shareable link, you can choose which parts of your Playground session to include.

Here’s what you can share:

OptionShareable?RequiredNotes
GraphQL OperationAlwaysYesAlways included by default. Cannot be deselected.
VariablesIf presentNoIncluded only when content is available and the option is selected. If no content is present, the option appears disabled under “No content available to share. Add content to enable sharing these options.” To enable it, add relevant content in the Playground.
HeadersIf presentNoIncluded only when content is available and the option is selected. If no content is present, the option appears disabled under “No content available to share. Add content to enable sharing these options.” To enable it, add relevant content in the Playground.

The GraphQL Operation could be a query, mutation or subscription

How to Share a Session?

1

Open the Playground and compose your GraphQL operation

2

Add any variables or headers you’d like to include

3

Click Share icon with the tooltip “Share Playground State” in the toolbar

4

A modal will appear with options to choose:

  • Available options will appear in top section
  • Unavailable options (if no content available) will appear in the bottom section
5

Select the available options you want to include in the shared link

6

Click "Copy link" to generate and copy the shareable URL

Recipients of a shared link will see the shared Playground session in a new tab with:

  • The operation restored exactly as composed
  • Optional variables and headers if they were included

The following are never included in the shared link:

  • Pre-flight scripts
  • Pre-operation scripts
  • Post-operation scripts

Security Considerations

If you choose to include headers, they are compressed and encoded as part of the generated URL. While the data is not human-readable, it is accessible to anyone who has the link. For your safety, avoid including sensitive data such as API tokens or credentials in shared headers.

Use Cases

  • Share reproducible bugs with your team
  • Collaborate on queries with full context
  • Link to example queries in internal docs
  • Speed up onboarding of new developers with pre-filled queries