---
title: "Patch Public Communications Relationships Endpoint"
method: PATCH
path: "/api/admin/contents/{content_uuid}/public-communications-relationships"
tags: ["admin_contents"]
---

# Patch Public Communications Relationships Endpoint

`PATCH /api/admin/contents/{content_uuid}/public-communications-relationships`

## 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/admin/contents/{content_uuid}/public-communications-relationships`
- Auth: HTTP bearer

Link or unlink related documents, events, and global contacts for one PC.

## Path parameters

- `content_uuid` string, uuid, required

## Request body

- PublicCommunicationsRelationshipsPatch
  - `expected_updated_at` string, date-time, required
  - `operations` PublicCommunicationsRelationshipOp[]
    - `op` 'add' | 'remove', required
    - `target_type` 'document' | 'event' | 'contact', required
    - `target_uuid` string, uuid, required
  - `capture` PublicCommunicationsCaptureWrite: Outcome written onto one cited relationship. No new table.
    - `fingerprint` string, nullable
    - `relationship_index` integer, nullable
    - `status` 'processing' | 'discovered' | 'linked_existing' | 'suggested_match' | 'not_found_web' | 'org_unresolved' | 'scraping_dispatched' | 'scraped_ok' | 'scraped_incomplete' | 'scraping_failed' | 'failed', required
    - `run_id` string, nullable
    - `found_url` string, nullable
    - `is_pdf` boolean
    - `organization_uuid` string, uuid, nullable
    - `organization_name` string, nullable
    - `db_match_uuid` string, uuid, nullable
    - `db_match_confidence` string, nullable
    - `evidence` string, nullable
    - `error_message` string, nullable
    - `webhook_response` object, nullable
    - `scraped_content_uuid` string, uuid, nullable
    - `target_uuid` string, uuid, nullable
    - `started_at` string, nullable
    - `finished_at` string, nullable
    - `match_candidates` object[], nullable
    - `usage` object, nullable

## Response `200`

Successful Response

- PublicCommunicationsRelationshipsPatchResponse
  - `content_uuid` string, required
  - `updated_at` string, date-time, required
  - `relationship_status` string, nullable
  - `overall_status` string, nullable
  - `relationships` PublicCommunicationsRelationshipItemOut[]
    - `kind` string, nullable
    - `label` string, nullable
    - `target_kind` string, nullable
    - `target_uuid` string, nullable
    - `target_label` string, nullable
    - `relationship_role` string, nullable
    - `exists_in_app` boolean, nullable
    - `linked_to_doc` string, nullable
    - `resolution` string, nullable
    - `is_controlling_source` boolean
    - `evidence` string, nullable
    - `confidence` string, nullable
    - `identifier` string, nullable
    - `url` string, nullable
    - `capture_status` string, nullable
    - `origins` string[]
  - `related_contents` PublicCommunicationsRelatedDocumentLink[]
    - `content_uuid` string, required
    - `label` string, nullable
    - `origin` string, nullable
  - `events` PublicCommunicationsEventLink[]
    - `event_uuid` string, required
    - `name` string, required
    - `type` string, nullable
    - `is_opener` boolean
    - `unlinkable` boolean
  - `contacts` PublicCommunicationsContactLink[]
    - `contact_uuid` string, required
    - `name` string, required
    - `email` string, nullable

## Other responses

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