---
title: "Add Content To Sector"
method: POST
path: "/api/sectors/{sector_uuid}/add-contents"
tags: ["sectors"]
---

# Add Content To Sector

`POST /api/sectors/{sector_uuid}/add-contents`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/sectors/{sector_uuid}/add-contents`
- Auth: HTTP bearer

Add content relationships to an existing sector.

This endpoint adds new content-sector relationships without removing existing ones.
If a content is already associated with the sector, an error will be returned.

Args:
    sector_uuid: UUID of the sector to add contents to
    payload: List of SectorContentAssociation objects with content_uuid, impact_level, and optional info

Returns:
    Updated Sector instance with all relationships loaded

## Path parameters

- `sector_uuid` string, uuid, required

## Request body

- SectorContentAssociation[]
  - `content_uuid` string, uuid4, required
  - `impact_level` 'High' | 'Medium' | 'Low', required
  - `info` object, nullable

## Response `200`

Successful Response

- Sector: Full sector schema with relationships
  - `name` string, required
  - `info` object, nullable
  - `uuid` string, uuid4, required
  - `father_sector_uuid` string, uuid4, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `subsectors` SectorRef[]
    - `uuid` string, uuid4, required
    - `name` string, required
    - `father_sector_uuid` string, uuid4, nullable
  - `contents` AppViewsSchemasSectorsSchemaContentRef[], required
    - `uuid` string, uuid4, required
    - `name` string, required
  - `organizations` OrganizationRef[], required
    - `uuid` string, uuid4, required
    - `name` string, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
