---
title: "Create Letter"
method: POST
path: "/api/2.0/letters/"
tags: ["Referrals"]
---

# Create Letter

`POST /api/2.0/letters/`

## Request body

- Letter
  - `attachments` LetterAttachment[]
    - `attachment_type` 'Entity' | 'RefPanel' | 'PatientDemog' | 'ImmHistory' | 'MedsList' | 'CompMedsList' | 'WhoHeightChart' | 'WhoWeightChart' | 'WhoHcChart' | 'WhoWflChart' | 'CdcHeightChart' | 'CdcWeightChart' | 'CdcBmiChart' | 'CdcHcChart' | 'PremieHeightChart' | 'PremieWeightChart' | 'PremieHcChart' | 'DsinfantHeightChart' | 'DsinfantWeightChart' | 'DsinfantHcChart' | 'DsHeightChart' | 'DsWeightChart' | 'DsBmiChart' | 'DsHcChart', required — * `Entity` - Entity * `RefPanel` - RefPanel * `PatientDemog` - PatientDemog * `ImmHistory` - ImmHistory * `MedsList` - MedsList * `CompMedsList` - CompMedsList * `WhoHeightChart` - WhoHeightChart * `WhoWeightChart` - WhoWeightChart * `WhoHcChart` - WhoHcChart * `WhoWflChart` - WhoWflChart * `CdcHeightChart` - CdcHeightChart * `CdcWeightChart` - CdcWeightChart * `CdcBmiChart` - CdcBmiChart * `CdcHcChart` - CdcHcChart * `PremieHeightChart` - PremieHeightChart * `PremieWeightChart` - PremieWeightChart * `PremieHcChart` - PremieHcChart * `DsinfantHeightChart` - DsinfantHeightChart * `DsinfantWeightChart` - DsinfantWeightChart * `DsinfantHcChart` - DsinfantHcChart * `DsHeightChart` - DsHeightChart * `DsWeightChart` - DsWeightChart * `DsBmiChart` - DsBmiChart * `DsHcChart` - DsHcChart
    - `entity_date` string, date-time, nullable
    - `entity_description` string, nullable
    - `entity_id` integer
    - `entity_type` integer, nullable
    - `handout` integer, nullable
    - `id` integer
    - `summary` string, nullable
  - `body` string — The body of the letter.
  - `created_date` string, date-time, nullable
  - `deleted_date` string, date-time, nullable
  - `delivery_date` string, date-time, nullable
  - `delivery_method` 'direct' | 'email' | 'emr' | 'fax' | 'passport' | 'printed'
  - `direct_message_status` string, nullable
  - `direct_message_to` string, nullable
  - `display_to` string, nullable
  - `document_date` string, date-time
  - `email_to` string, nullable
  - `failure_unacknowledged` string
  - `fax_attachments` boolean
  - `fax_status` string
  - `fax_to` string, nullable
  - `id` integer
  - `is_processed` boolean
  - `letter_type` string
  - `patient` integer, required
  - `practice` integer, required
  - `referral_order` integer, nullable
  - `send_out` boolean
  - `send_to_contact` SendToContact, required
    - `first_name` string
    - `id` integer, required
    - `last_name` string
    - `middle_name` string
    - `npi` string, nullable
    - `org_name` string, nullable
    - `specialties` unknown[]
      - unknown
  - `send_to_elation_user` integer — If a letter is sent to another elation user, this will be that user's id.
  - `send_to_name` string, nullable
  - `sign_date` string, date-time, nullable
  - `signed_by` integer, nullable — The user who signed the letter.
  - `subject` string — The subject of the letter (Not needed with referral_order).
  - `tags` integer[] — A list of Document Tags associated with the letter.
  - `to_number` string, nullable
  - `viewed_at` string, date-time, nullable
  - `with_archive` boolean

## Response `201`

- Letter
  - `attachments` LetterAttachment[]
    - `attachment_type` 'Entity' | 'RefPanel' | 'PatientDemog' | 'ImmHistory' | 'MedsList' | 'CompMedsList' | 'WhoHeightChart' | 'WhoWeightChart' | 'WhoHcChart' | 'WhoWflChart' | 'CdcHeightChart' | 'CdcWeightChart' | 'CdcBmiChart' | 'CdcHcChart' | 'PremieHeightChart' | 'PremieWeightChart' | 'PremieHcChart' | 'DsinfantHeightChart' | 'DsinfantWeightChart' | 'DsinfantHcChart' | 'DsHeightChart' | 'DsWeightChart' | 'DsBmiChart' | 'DsHcChart', required — * `Entity` - Entity * `RefPanel` - RefPanel * `PatientDemog` - PatientDemog * `ImmHistory` - ImmHistory * `MedsList` - MedsList * `CompMedsList` - CompMedsList * `WhoHeightChart` - WhoHeightChart * `WhoWeightChart` - WhoWeightChart * `WhoHcChart` - WhoHcChart * `WhoWflChart` - WhoWflChart * `CdcHeightChart` - CdcHeightChart * `CdcWeightChart` - CdcWeightChart * `CdcBmiChart` - CdcBmiChart * `CdcHcChart` - CdcHcChart * `PremieHeightChart` - PremieHeightChart * `PremieWeightChart` - PremieWeightChart * `PremieHcChart` - PremieHcChart * `DsinfantHeightChart` - DsinfantHeightChart * `DsinfantWeightChart` - DsinfantWeightChart * `DsinfantHcChart` - DsinfantHcChart * `DsHeightChart` - DsHeightChart * `DsWeightChart` - DsWeightChart * `DsBmiChart` - DsBmiChart * `DsHcChart` - DsHcChart
    - `entity_date` string, date-time, nullable
    - `entity_description` string, nullable
    - `entity_id` integer
    - `entity_type` integer, nullable
    - `handout` integer, nullable
    - `id` integer
    - `summary` string, nullable
  - `body` string — The body of the letter.
  - `created_date` string, date-time, nullable
  - `deleted_date` string, date-time, nullable
  - `delivery_date` string, date-time, nullable
  - `delivery_method` 'direct' | 'email' | 'emr' | 'fax' | 'passport' | 'printed'
  - `direct_message_status` string, nullable
  - `direct_message_to` string, nullable
  - `display_to` string, nullable
  - `document_date` string, date-time
  - `email_to` string, nullable
  - `failure_unacknowledged` string
  - `fax_attachments` boolean
  - `fax_status` string
  - `fax_to` string, nullable
  - `id` integer
  - `is_processed` boolean
  - `letter_type` string
  - `patient` integer, required
  - `practice` integer, required
  - `referral_order` integer, nullable
  - `send_out` boolean
  - `send_to_contact` SendToContact, required
    - `first_name` string
    - `id` integer, required
    - `last_name` string
    - `middle_name` string
    - `npi` string, nullable
    - `org_name` string, nullable
    - `specialties` unknown[]
      - unknown
  - `send_to_elation_user` integer — If a letter is sent to another elation user, this will be that user's id.
  - `send_to_name` string, nullable
  - `sign_date` string, date-time, nullable
  - `signed_by` integer, nullable — The user who signed the letter.
  - `subject` string — The subject of the letter (Not needed with referral_order).
  - `tags` integer[] — A list of Document Tags associated with the letter.
  - `to_number` string, nullable
  - `viewed_at` string, date-time, nullable
  - `with_archive` boolean

---

[API](https://skmtc.net/elationhealth/apis/api-authentication.md) · [All operations](https://skmtc.net/elationhealth/apis/api-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elationhealth/api-authentication/versions/c060f89d4de7/schema)
