# CMS Hooks — BrandApp Playground

> Read-only query hooks for posts, post groups, and tags.

- Canonical page: https://brandapp-playground.vercel.app/hooks/cms
- Markdown: https://brandapp-playground.vercel.app/hooks/cms.md
- SDK module: `@reopt-ai/brandapp-sdk/react/hooks`

## Hooks

- `usePostList(sdk, query?)`
- `usePost(sdk, postId)`
- `usePostBySlug(sdk, slug, opts?)`
- `usePostGroupList(sdk, query?)`
- `usePostGroup(sdk, groupId)`
- `useCmsTags(sdk, query?)`

The mutation hooks (`useCreatePost`, `useUpdatePost`, `useDeletePost`) were removed in
SDK 1.8 when the CMS client became read-only. Authoring belongs to Reopt Studio.

## Related

- [Posts](https://brandapp-playground.vercel.app/cms/posts.md)
- [React Hooks Overview](https://brandapp-playground.vercel.app/hooks.md)

---

Index of every document: https://brandapp-playground.vercel.app/llms.txt
Single-file copy: https://brandapp-playground.vercel.app/llms-full.txt
HTTP API description: https://brandapp-playground.vercel.app/openapi.json
