Maybe http-functions is what you need? Velo: Exposing a Site API with HTTP Functions | Help Center | Wix.com