Connect ghsot with gatsbyjs to get all posts

Hello,

I have a ghost CMS connected to gatsbyjs front but I am trying to connect it to get all posts ( published , draft , scheduled) …

is it possible for the contentAPIKey to get these posts even if it’s not published ?

thanks.

You can access draft posts using the Admin API, check out our docs for more information: