Changed api_key to private_key