This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the companion app for the current site, creating and installing it if it doesn't exist.
The request must be made in the context of a Wix site.
If installation fails, the method returns an error but keeps the newly created companion app. Call the method again to retry installation.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.