We are currently testing the new GraphQL API, but the authorization of the requests is always failing.
We have changed the settings of our OAuth client to "Rest & GraphQL" in AdminCP, but it is not clear from the documentation how to send the access token. The usual method via authorization header (tested with and without Bearer Prefix) returns error "INVALID_ACCESS_TOKEN" and the header 'X-Authorization' with Access Token returns an "INVALID_API_KEY" error.
Can anyone provide an example of a successful request to the GraphQL API?
This is an example of a PHP script we used to access the GraphQL API (keys have been replaced for screenshot)