Call wix site api
CallWixSiteAPI is an advanced AI tool that enables seamless integration with Wix REST APIs to create, read, update, and delete data and entities on your Wix site. It offers developers an efficient way to automate site management and enhance functionality by directly interacting with Wix backend services.
Features
- Supports full CRUD operations on Wix site data and entities via API calls.
- Automatically handles errors related to missing apps or disabled Wix Code features, providing guidance for installation.
- Requires no prior app installation checks—calls are made directly with intelligent error feedback.
- Designed to work seamlessly with the Wix REST API documentation to ensure correct API usage and avoid unauthorized calls.
- Supports flexible HTTP methods (GET, POST, PUT, DELETE) with customizable JSON request bodies for diverse integrations.
Benefits
- Streamlines website management by automating data operations on Wix sites.
- Reduces development time by providing ready access to Wix site APIs without complex setup.
- Enhances site functionality by enabling dynamic data manipulation and real-time updates.
- Improves reliability with robust error handling and clear instructions for missing dependencies.
- Empowers developers to build custom Wix integrations tailored to business needs quickly and efficiently.
Description
Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site, You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS Error Handling: If the error is related to missing installed app or "WDE0110: Wix Code not enabled", you should install the missing app by using ReadFullDocsArticle tool to fetch the article - https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp Note: there is no need to check if an app is installed/ Wix Code enabled in advance, just call the API and handle the error if it occurs, the API error message will state it clearly. For any other error, use your default error handling mechanism
Parameters
4 parameters
| Name | Type | Description |
|---|---|---|
| siteIdrequired | string | The id of the site selected using site selection tool |
| urlrequired | string | The url of the api to call - ALWAYS get the information from the Wix REST docs or from the conversation context, the URL MUST BE ABSOLUTE URL |
| methodrequired | string | The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE) |
| body | string | A string representing of a valid JSON object to describe the body of the request |