listPosts( )


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

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

  • firstPublishedDate is sorted in descending order, with pinned posts first.
  • paging.limit is 50.
  • paging.offset is 0.
Permissions
Read Blog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListPostsOptions
Returns
Return Type:Promise<ListPostsResponse>
Errors

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

Did this help?