Register spec if API key passed in