Previewing content

Accessing unpublished content can be useful for previewing how a new content item will look before making it available to everybody. The GraphQL API gives you control over whether you want to access published or unpublished content items.

To view content items that are not yet published, use the Preview access token created by Prepr during the initial environment setup. With this access token, you can retrieve content items in all available statuses, including To do, In progress, Review, Done, and Published, and make any necessary changes before publishing them.

Alternatively, you can create a new access token yourself and define token permissions according to your specific needs. Read more about GraphQL permissions.