Package: devCenterPlatform

Namespace: appInstaller

Method: Install App

Method link: https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp

Description: Install app on single given site

Resource: App Installer

Description: Installs an app on a tenant, specifying the details of the app instance to create. Use this one when installing a Wix App (app from https://dev.wix.com/docs/rest/articles/get-started/apps-created-by-wix)

The ID of this app instance is automatically generated and included in the appInstance object in the response. This method allows installing an app on a given site.

URL: https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp

Article: Enable Velo (Wix Code)

Method REST URL - https://www.wixapis.com/mcp-serverless/v1/velo/provision

Method Type - POST

In order to enable Velo (Wix Code) in case of an error - "WDE0110: Wix Code not enabled" call this method with an empty body Here’s an example request:

curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/plain, */*" \
-H "Authorization: <AUTH>" \
-d '{}' \
'https://www.wixapis.com/mcp-serverless/v1/velo/provision/'

Article: Install Wix Apps

Method REST URL - https://www.wixapis.com/apps-installer-service/v1/app-instance/install

Method Type - POST

The API requires two mandatory attributes,

  1. tenant - which is where should the app be installed, the mandatory attributes are id - the id of the selected site for installation and tenantType - should be sent as SITE
  2. appInstance which represents which app should be installed. It includes an attribute appDefId - the app id to install

IMPORTANT: If you are not certain regarding the appDefId to use - always read this article first to see which Wix apps exist: https://dev.wix.com/docs/rest/articles/get-started/apps-created-by-wix

Here’s an example request:

curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/plain, */*" \
-H "Authorization: <AUTH>" \
-d '{ tenant: { tenantType: 'SITE' , id: <Selected Site Id>},  appInstance: { appDefId: <Selected App Id To Install> }}' \
'https://www.wixapis.com/apps-installer-service/v1/app-instance/install'