About HTTP Functions

HTTP functions let you expose the functionality of a Wix site as various APIs. If you’ve added custom functionality to a site with code and want to use it in an app, you can expose HTTP functions and call these APIs in your code.

Use the HTTP Functions API to call your site’s HTTP functions with an authentication context. The authentication context provides information about who is calling an API. This means you can use functions that return different responses based on the caller, such as getCurrentMember(), within your HTTP functions.

Before you begin

It's important to note the following points before you begin to code:

  • Create an access token or an API Key to authorize API calls and to provide authentication context to your site’s HTTP functions.

Learn more about custom site APIs and HTTP functions

Did this help?