POST

Query Labels


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 contact labels. Up to 1,000 labels can be returned per request.

For a detailed list of supported operations, see sorting and filtering for labels. To learn how to query labels, see API Query Language.

PropertyFiltersSort
key$eq, $ne, $inNone
displayName$eq, $ne, $in, $startsWithSort: ASC, DESC
_createdDate$eq, $ne, $gt, $lt, $gte, $lteSort: ASC, DESC
_updatedDate$eq, $ne, $gt, $lt, $gte, $lteSort: ASC, DESC
namespace$eq, $neNone
labelType$eqNone
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Manage Contact Labels
Learn more about app permissions.
Method Declaration
Copy
Errors
400Invalid Argument

There are 6 errors with this status code.

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

Did this help?