POST

Query Sites


Retrieves a list of up to 100 sites per request, given the provided paging, sorting and filtering.

Important: You can only call this method when authenticated as a Wix user or by using an account level API key.

PropertyFiltersSort
id$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteNone
name$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteNone
published$eq, $ne, $exists, $in, $hasSomeNone
premium$eq, $ne, $exists, $in, $hasSomeNone
editorType$eq, $ne, $exists, $in, $hasSomeNone
folderId$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteNone
namespace$eq, $ne, $exists, $in, $hasSomeNone
domainConnected$eq, $ne, $exists, $in, $hasSomeNone
displayNameSort: ASC, DESC
createdDateSort: ASC, DESC
updatedDateSort: ASC, DESC
trashedDateSort: ASC, DESC
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Read Site Data
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-list/v2/sites/query

Errors
401Unauthenticated

There is 1 error with this status code.

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

Did this help?