How to Securely Fetch Unpublished CraftCMS Entries with a Custom API Header
Dec 3, 2024 · 4 min read · CraftCMS provides a robust GraphQL API for querying your content, but sometimes you need to tailor the API for different user roles. For example, you might want admins to fetch all entries (including unpublished ones) while the public can only see pu...
Join discussion
