Background
This is a note on how to search including private posts with the WordPress REST API.
The following was helpful.

wordpress REST API posts not showing other than Published
wordpress REST API posts not showing other than Published sachinsingh2 (@sachinsingh2) 2 years, 3 months ago Hi Team, How to get all posts status as Draft, Trash, Future, Pending, Published in rest…
Specifically, by using the status argument and specifying multiple statuses as shown below, I was able to retrieve a list of articles including those statuses.
GET /wp-json/wp/v2/posts?status=publish,draft,trash
I hope this serves as a useful reference.




Comments
…