POST

Move Sites To Folder


Moves sites into a specific folder/root. Limited to 500 sites per request.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header. API keys are currently available to selected beta users only.

Endpoint
POST
https://www.wixapis.com/site-folders/v2/folders/bulk/sites/move

Body Params
targetFolderIdstringmaxLength 36

Folder ID. Empty when moving sites to root level.


sitesstructRequired

Sites to move. Currently supports only site IDs and is limited to 500 sites. For example: { "id": { "$in": ["<siteId1>", "<siteId2>", ...] } }.

Response Object
Returns an empty object.
MoveSitesToFolder
Request
cURL
Response
JSON
Errors
400Invalid Argument

There are 3 errors with this status code.

404Not Found

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?