Is id the api key?  If so it should be called $apiKey