If I wanted to plug into a Wix site from a 3rd party and make a couple collections on every one of my Wix clients sites, can I do that via the Wix API - is there a call to create a table and define the columns and data types?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
![feature fixed.png](https://static.wixstatic.com/media/3bfa8a_f845e1016b8a49758acdd6edd6610c3b~mv2.png/v1/crop/x_0,y_2,w_852,h_508/fill/w_104,h_62,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/feature%20fixed.png)
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
I want to create a new collection from the API if the collection does not yet exist. I have a few customers and want to do the same thing on all their sites rather than build each collection manually by hand since they are identical.
not sure about creating a new collection as it requires schema and set of more complex data api. however given an pre-defined collection you can use the above api to add/read data from your collection(s) https://www.wix.com/code/reference/wix-data.html#insert
what are you trying to build?
Thanks for the link to the general Wix API - but is there a specific method to create a collection not via the UI but instead via an API call - what is the call to create a collection?
will that be helpful? https://www.wix.com/code/home/api