---
updatedAt: 2026-10-05T21:33:06.000Z
agentTools:
  projectIndex: https://developer.duda.co/llms.txt
---

# Get collection by name

Returns the collection with the given name.

The `fields` object contains the structure of the collection. The `values` object contains the data that is stored in the collection

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Duda Partner API",
    "version": "1.0.0",
    "description": "REST API for Duda partners. Manage accounts, sites, content, collections, eCommerce, bookings, memberships and webhooks on the Duda platform."
  },
  "servers": [
    {
      "url": "https://api.duda.co",
      "description": "Production (US)"
    },
    {
      "url": "https://api.eu.duda.co",
      "description": "Production (EU)"
    },
    {
      "url": "https://api-sandbox.duda.co",
      "description": "Sandbox"
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/api/sites/multiscreen/{site_name}/collection/{collection_name}": {
      "get": {
        "tags": [
          "Site Collections"
        ],
        "summary": "Get collection by name",
        "description": "Returns the collection with the given name.",
        "operationId": "getSiteCollection",
        "parameters": [
          {
            "$ref": "#/components/parameters/SiteName"
          },
          {
            "$ref": "#/components/parameters/CollectionName"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicSiteCollectionRDT"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/CollectionsBadRequest"
          },
          "401": {
            "$ref": "#/components/responses/CollectionsUnauthorized"
          },
          "429": {
            "$ref": "#/components/responses/CollectionsTooManyRequests"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "CollectionsBadRequest": {
        "description": "Bad request. The request is malformed or failed validation.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "CollectionsTooManyRequests": {
        "description": "Too many requests. The rate limit was exceeded.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "CollectionsUnauthorized": {
        "description": "Unauthorized. The credentials are missing or invalid.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      }
    },
    "schemas": {
      "ApiErrorResponse": {
        "type": "object",
        "properties": {
          "error_code": {
            "$ref": "#/components/schemas/ErrorCode"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessErrorDetail"
            }
          },
          "message": {
            "type": "string"
          }
        }
      },
      "BusinessErrorDetail": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ErrorCode": {
        "type": "string",
        "enum": [
          "AccessForbidden",
          "ResourceNotExist",
          "ResourceAlreadyExist",
          "InvalidInput",
          "InvalidState",
          "InternalError",
          "UnAuthorized",
          "TooManyRequests",
          "InsufficientCredits"
        ]
      },
      "PublicClientLock": {
        "type": "string",
        "description": "Lock state for customer editing. Supported values: \n- 'unlocked' - customers have no limitations for editing collection fields or data. null value in response is equivalent to 'unlocked' state \n- 'structure_locked' - customers can't edit, add or remove collection fields  \n- 'view_only' - customers can't edit fields and internal collection data \nFollowing logic & limitations is applied in create/update requests: \n - null value will not change collection lock state \n - image collections can only be locked for 'view_only' state \n - external collections can only be locked for 'structure_locked' state",
        "enum": [
          "unlocked, structure_locked, locked"
        ]
      },
      "PublicCustomHeader": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PublicExternalCollectionDetailsRDT": {
        "type": "object",
        "properties": {
          "authorization_header_value": {
            "type": "string"
          },
          "collection_data_json_path": {
            "type": "string"
          },
          "custom_headers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCustomHeader"
            }
          },
          "enabled": {
            "type": "boolean"
          },
          "external_endpoint": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "page_item_url_field": {
            "type": "string"
          }
        }
      },
      "PublicRowStatus": {
        "type": "string",
        "description": "Where the row shows up. Supported values: \n- ACTIVE - on the published site and in the editor \n- PREVIEW - in the editor only \n- DRAFT - on neither, the row is kept in the collection table only \nA row created without a status is ACTIVE; an update or patch without one keeps the row's status.",
        "enum": [
          "ACTIVE",
          "PREVIEW",
          "DRAFT"
        ]
      },
      "PublicSiteCollectionFieldRDT": {
        "type": "object",
        "properties": {
          "inner_collection_fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSiteCollectionFieldRDT"
            }
          },
          "multi_select_options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "name": {
            "type": "string"
          },
          "single_select_options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string"
          }
        },
        "title": "Collection field"
      },
      "PublicSiteCollectionRDT": {
        "type": "object",
        "properties": {
          "base_refresh_interval": {
            "type": "string",
            "format": "Duration (ISO 8601)",
            "description": "Configured frequency for automatic external collection data refresh.",
            "example": "PT1H",
            "nullable": true
          },
          "customer_lock": {
            "$ref": "#/components/schemas/PublicClientLock"
          },
          "external_details": {
            "$ref": "#/components/schemas/PublicExternalCollectionDetailsRDT"
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSiteCollectionFieldRDT"
            }
          },
          "item_count": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "regular_page_bindable": {
            "type": "boolean",
            "description": "Whether collection is bindable to non-dynamic pages. See feature support article for more details: https://support.duda.co/hc/en-us/articles/26519925982487-Dynamic-Content-Collections-for-Regular-Pages"
          },
          "static_page_bindable": {
            "type": "boolean",
            "deprecated": true
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSiteCollectionRowRDT"
            }
          }
        },
        "title": "Collection"
      },
      "PublicSiteCollectionRowRDT": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": true
          },
          "id": {
            "type": "string"
          },
          "page_item_url": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/PublicRowStatus"
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "description": "API username and password. Find them in the API access section of the Business tools tab in the platform.",
        "scheme": "basic"
      }
    },
    "parameters": {
      "SiteName": {
        "name": "site_name",
        "in": "path",
        "description": "The site's unique name (its ID), returned when the site is created.",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "CollectionName": {
        "name": "collection_name",
        "in": "path",
        "description": "The collection's name.",
        "required": true,
        "schema": {
          "type": "string"
        }
      }
    }
  }
}
```