---
title: "Attach minimal CMS list + detail page to an existing collection (copies home navbar/footer)"
method: POST
path: "/api/v1/sites/{subdomain}/collections/{collectionId}/attach-dynamic-page"
tags: ["collections"]
---

# Attach minimal CMS list + detail page to an existing collection (copies home navbar/footer)

`POST /api/v1/sites/{subdomain}/collections/{collectionId}/attach-dynamic-page`

## Request

- Base URL: `https://slatehut.com`
- URL: `https://slatehut.com/api/v1/sites/{subdomain}/collections/{collectionId}/attach-dynamic-page`
- Auth: HTTP bearer

## Request body

- AttachDynamicPageRequest
  - `slug` string, required: URL path segment for the new CMS page (e.g. blog)
  - `title` string: Page title; defaults to slug if omitted
  - `pageSlug` string: Alias for slug
  - `pageTitle` string: Alias for title

## Response `200`

- object
  - `success` boolean, required

## Other responses

- `400`: Validation or conflict error
- `401`: Missing or invalid credentials
- `403`: Not allowed for this resource
- `404`: Resource not found

---

[API](https://skmtc.dev/slatehut/apis/slatehut-api.md) · [All operations](https://skmtc.dev/slatehut/apis/slatehut-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slatehut/apis/slatehut-api/revisions/32dae277550c?raw)
