Retrieves a list of up to 200 achievements, given the provided paging, filtering, and sorting.
Results are always scoped to the calling account, which is derived from the request's identity.
Query Achievements runs with these defaults, which you can override:
createdDate is sorted in DESC ordercursorPaging.limit is 50Supported filter and sort fields: id, points, achievementType.
To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.
| Property | Filters | Sort |
|---|---|---|
id | $eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith | Sort: ASC, DESC |
points | $eq, $ne, $in, $exists, $gt, $gte, $lt, $lte | Sort: ASC, DESC |
achievementType | $eq, $ne, $in, $exists | Sort: ASC, DESC |
You can only call this method when authenticated as a Wix user or by using an account level API key.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.