The X-Gw-Api-Key
request header contains the "key" portion of the API key pair issued to your business.
On sandbox you can generate a test key/secret by checking the "Generate key for API Reference documentation" checkbox, simplifying authentication.

request['X-Gw-Api-Key'] = api_key