POST

Query Projects


Note: This query method uses the new Wix API Query Language syntax. If you're still using the old query syntax with chained query builder methods, see Migrate from SDK Query Builders to Wix API Query Language for guidance. The old query builder methods continue to work.

Retrieves a list of projects, given the provided paging, filtering, and sorting. Up to 100 projects can be returned per request.

The default sort is id in ASC.

To retrieve projects in the site-wide display order, as shown on the All Projects page, sort by sortOrder in ASC, then by createdDate in DESC, then by id in ASC. Projects without a sortOrder come first in that sort, newest first. Projects created before the field existed have no value until a one-time migration assigns one, so don't use this sort for a site until that migration has completed.

To learn how to query projects, see API Query Language.

PropertyFiltersSort
_id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
title$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
description$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
slug$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
collectionIds$hasSome, $hasAll, $exists, $isEmptyNone
hidden$eq, $ne, $in, $existsNone
_createdDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
_updatedDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
Permission Scopes
Manage Portfolio
Learn more about app permissions.
Method Declaration
Copy
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?