Executing the API with the API key header