# Setting public previews via Admin API

**URL:** <https://forum.ghost.org/t/setting-public-previews-via-admin-api/40908>\
**Category:** Integrations & API\
**Created:** [September 1, 2023, 4:08am UTC](https://forum.ghost.org/t/setting-public-previews-via-admin-api/40908 "2023-09-01T04:08:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [September 13, 2023, 8:20am UTC](https://forum.ghost.org/t/setting-public-previews-via-admin-api/40908/6 "2023-09-13T08:20:59Z")

</div>

From Ghost 5.62.0 and later if you have the beta editor enabled then `?source=html` will pick up the `<!--members-only-->` comment and convert to a paywall card.

---

_[View the full topic](https://forum.ghost.org/t/setting-public-previews-via-admin-api/40908)._
