listDraftPosts( )


Retrieves a list of up to 100 draft posts per request.

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

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

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Blog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListDraftPostsOptions

Options for listing multiple draft posts.

Returns
Return Type:Promise<ListDraftPostsResponse>
Did this help?