Configure GraphQL client endpoint and HTTP headers
- Launch GraphiQL.
- Click Edit HTTP Headers. The Edit HTTP Headers window appears.
- Click Add Header.
- Enter X-AUTH-EMAIL in the Header name field and your email address registered with Cloudflare in the Header value field, and click Save.
- To configure authentication, click Add Header. You can use Cloudflare Analytics API token authentication (recommended) or Cloudflare API key authentication.
- Click anywhere outside the Edit HTTP Headers window in GraphiQL to close it and return to the main GraphiQL display.
https://api.cloudflare.com/client/v4/graphqlin the GraphQL Endpoint field
Now that you have configured authentication with a Cloudflare API key, you are ready to run queries using GraphiQL.