---
title: "Renders a form within a container"
method: GET
path: "/api/v1/containers/{containerId}/form/{formId}"
tags: ["Containers"]
---

# Renders a form within a container

`GET /api/v1/containers/{containerId}/form/{formId}`

Returns HTML content for a form rendered within the specified container. This is used to display forms with container styling and layout.

## Path parameters

- `containerId` string, required
- `formId` string, required

## Response `200`

Form rendered successfully

- ResponseEntityContainerObjectMapView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` object
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request - Invalid container or form ID
- `401` — Unauthorized - User not authenticated
- `403` — Forbidden - User lacks required permissions
- `404` — Container or form not found
- `500` — Internal server error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
