Generalize API key