Wix offers two platform-managed mechanisms for exposing backend code at a public URL, HTTP functions and HTTP endpoints. With these, external systems can call into a Wix project to integrate with automation tools like Zapier or IFTTT, receive webhooks from external services, or share a backend with another application. Both are for backend-to-backend traffic. For a project's own frontend to call its backend, use a frontend-to-backend mechanism instead.
Which mechanism you use is determined by how your project is built:
Note: Self-managed apps and headless projects expose endpoints from their own backend stack instead.
HTTP functions expose public endpoints on sites and Blocks apps. Each function in the site's backend code answers a URL based on its name and HTTP verb, and runs on the same infrastructure as the site's other backend code, with access to the JavaScript SDK, data collections, and secrets.
A direct external call to an HTTP function is anonymous from Wix's perspective, so the function treats the caller as an anonymous site visitor. Methods that depend on a specific caller identity, such as the Get Current Member method, resolve to that anonymous visitor rather than a logged-in member. Anything sensitive the function exposes has to be guarded by authentication you implement yourself.
Note: HTTP functions are meant for server-to-server traffic. Don't use them to set cookies or otherwise act on a visitor's browser, which can put you out of step with data-privacy requirements.
When the caller is another Wix project, the platform offers a way around the anonymity. The HTTP Functions module wraps outbound calls with a Wix authentication layer, so the receiving function sees the caller's identity, and identity-dependent methods such as the Get Current Member method work as expected.
HTTP endpoints are the Wix CLI's file-based routing convention for exposing backend code from Wix-managed apps and headless projects. Each route file maps to a URL by its location in the project tree, and the endpoint runs on the same infrastructure as the project's other backend code, with access to the SDK, data collections, and secrets.
In the Wix CLI, HTTP endpoints replace the separate HTTP functions and web methods of the older CLI: a single endpoint serves both external callers and the project's own frontend. For the frontend side, see Frontend-to-Backend Communication.
A call that arrives without an authenticated token is anonymous from Wix's perspective, so the endpoint doesn't know who is calling it. An endpoint is reachable by anyone who knows its URL, so anything sensitive it exposes has to be guarded by authentication you implement yourself.
The development path determines how you expose endpoints:
Last updated: 2 August 2026