Fix APIParams serialisation issue
Apply environment variable to api key