---
title: "Renders a form with container ID as query param"
method: GET
path: "/api/v1/containers/form/{formId}"
tags: ["Containers"]
---

# Renders a form with container ID as query param

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

Returns HTML content for a form rendered within the specified container. The container ID is passed as a query parameter, which is useful for file-asset containers where the container ID is a path.

## Path parameters

- `formId` string, required

## Query parameters

- `containerId` string

## 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 parameters
- `401` — Unauthorized - User not authenticated
- `403` — Forbidden - User lacks required permissions
- `404` — Container or form not found

---

[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)
