Wix APIs act as the bridge between your app and the Wix ecosystem, enabling communication and integration between your app and Wix.
With the Wix APIs, you can:
Important: Use of Wix APIs are subject to the Wix App Market guidelines.
Wix offers a variety of APIs that enable integration with different areas of the Wix ecosystem, including:
Wix offers the following API technologies for integrating your app with Wix:
Each API technology offers a similar set of APIs, and each API technology is suitable for use in different contexts:
Wix REST APIs use standard HTTPS protocols and authentication, and return JSON-encoded responses. REST APIs can be called from any programming language, and are the most common choice of API if you’re self-hosting your app and developing it in a language other than JavaScript.
The Wix JavaScript SDK consists of npm packages containing wrapper functions for Wix REST APIs. The SDK is useful if you're building a Wix-hosted app using the Wix CLI, or you're self-hosting your app and using JavaScript.
You can streamline your API calls using GraphQL. With GraphQL, the API response is clean, concise, and includes only the data that you need.
If you’re building your app in Wix Blocks, you can access Wix APIs via Velo, a powerful JavaScript-based developer platform.
Wix APIs include events, such as webhooks. Events are automated responses including a payload that are sent to your app when specific site actions occur.
Service Plugins are a way to inject custom logic into Wix backend APIs. You can set up Service Plugins in your app's dashboard and handle them on your server.