# Publish Document

Publish a document for reciprocity to the EHR network. Can be used to update the template used for reciprocity as well. Note that the project's Reciprocity must be enabled and Requester Information and Encounter Information need to be properly set up in the Administration UI.

Endpoint: PUT /api/v1/patient-registry/document/{documentId}/reciprocity
Version: V1
Security: bearer

## Path parameters:

  - `documentId` (string, required)

## Header parameters:

  - `ProjectId` (string, required)

## Request fields (application/json):

  - `templateId` (string, required)
    The ID of the template to use for reciprocity. See available templates at `GET /api/v1/patient-registry/reciprocity-template`.
    Example: c8ffe813-1e61-42aa-a26f-a0e9ab6ed1fd

