POST

Query Draft Posts


Retrieves a list of up to 100 draft posts, given the provided paging, filtering, and sorting.

Query Draft Posts runs with these defaults, which you can override:

  • editedDate is sorted in DESC order.
  • paging.limit is 50.
  • paging.offset is 0.

For field support for filters and sorting, see Field Support for Filtering and Sorting.

To learn about working with Query endpoints, see API Query Language, Sorting and Paging, and Field Projection.

FieldSupported FiltersSort
id$eq, $ne, $in, $ninSort: ASC, DESC
title$eq, $ne, $begins, $lt, $lte, $gt, $gte, $exists, $inSort: ASC, DESC
excerpt$eq, $ne, $begins, $lt, $lte, $gt, $gte, $exists, $inSort: ASC, DESC
status$eq, $ne, $in, $ninSort: ASC, DESC
scheduledPublishDate$eq, $ne, $lt, $lte, $gt, $gte, $inSort: ASC, DESC
editedDate$eq, $ne, $lt, $lte, $gt, $gte, $inSort: ASC, DESC
categoryIds$hasSome, $hasAllSort: ✗
hashtags$hasSome, $hasAllSort: ✗
tagIds$hasSome, $hasAllSort: ✗
pricingPlanIds$hasSome, $hasAllSort: ✗
memberIdSort: ✗
featured$eq, $neSort: ASC, DESC
commentingEnabled$eq, $neSort: ASC, DESC
hasUnpublishedChanges$eq, $neSort: ASC, DESC
minutesToRead$eq, $ne, $lt, $lte, $gt, $gte, $inSort: ✗
language$eq, $ne, $exists, $in, $ninSort: ✗
translationId$eq, $ne, $exists, $in, $ninSort: ✗
Authentication

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

Permissions
Manage Blog
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/blog/v3/draft-posts/query

Errors

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

Did this help?