---
title: "Add field to the collection"
method: POST
path: "/api/sites/multiscreen/{site_name}/collection/{collection_name}/field"
tags: ["Site Collection Fields (Schema)"]
---

# Add field to the collection

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

## Request

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

Adds one or more fields to the collection's schema.

## Path parameters

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

## Request body

- PublicSiteCollectionFieldRDT[]
  - `inner_collection_fields` PublicSiteCollectionFieldRDT[]
  - `multi_select_options` string[]
  - `name` string
  - `single_select_options` string[]
  - `type` string

## Response `200`

OK

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