check api key