Authentication using a GraphQL API Key
In order to execute GraphQL calls from any environment other than the built-in playground, you must ensure proper authentication.
This is done by passing your v2 api-key as an HTTP Authorization header in in the HTTP request.
As an HTTP header (Authorization: Bearer {token}
)
--header 'authorization: bearer yourapikeygoeshere.1234567890' \
Updated about 2 months ago