If you create an all users api key you can specify the user it runs as. It then impersonates that user.