Changed terminology apiKey to appId

@calvinfo @harrietgrace