---
title: "Create rows"
method: POST
path: "/api/sites/multiscreen/{site_name}/collection/{collection_name}/row"
tags: ["Site Collection Data (Rows)"]
---

# Create rows

`POST /api/sites/multiscreen/{site_name}/collection/{collection_name}/row`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/collection/{collection_name}/row`
- Auth: HTTP basic

Adds one or more rows to the collection and returns their generated ids.

## Path parameters

- `site_name` string, required
- `collection_name` string, required

## Request body

- PublicSiteCollectionRowRDT[]
  - `data` object
  - `id` string
  - `page_item_url` string
  - `status` 'ACTIVE' | 'PREVIEW' | 'DRAFT': Where the row shows up. Supported values: - ACTIVE - on the published site and in the editor - PREVIEW - in the editor only - DRAFT - on neither, the row is kept in the collection table only A row created without a status is ACTIVE; an update or patch without one keeps the row's status.

## Response `200`

OK

- RowUuidRDT[]
  - `id` string

## Other responses

- `400`: Bad request. The request is malformed or failed validation.
- `401`: Unauthorized. The credentials are missing or invalid.
- `429`: Too many requests. The rate limit was exceeded.

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
