You can get draft content from the Rooftop API by including an include-drafts: true header in the request.


Getting only draft content

There's an open ticket for adding the ability to filter on post_status when you're including drafts. For now, you'll need to check the post_status of the returned data.

Click Try It! to start a request and see the response here!