---
title: "Create Referrer Institution"
method: POST
path: "/api/v1/referrer-institutions"
tags: ["include_in_client_gen"]
---

# Create Referrer Institution

`POST /api/v1/referrer-institutions`

## Request

- Base URL: `https://app.sagecare.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sagecare.ai/api/v1/referrer-institutions`
- Auth: API key in header `X-Session-Token`

## Request body

- NewReferrerInstitution
  - `name` string, required
  - `url` string, nullable
  - `emails` Email[]
    - `email_type` union
      - 'personal' | 'work' | 'other'
      - string
    - `email` string, email, required
  - `phone_numbers` PhoneNumber[]
    - `phone_type` union, required
      - 'home' | 'mobile' | 'work' | 'fax' | 'other': Phone number type choices
      - string
    - `number` string, required: US phone number
  - `addresses` Address[]
    - `address_type` union, required
      - 'home' | 'work' | 'mailing' | 'other': Address type choices
      - string
    - `address_line1` string
    - `address_line2` string
    - `city` string
    - `state` union
      - 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'DC' | 'PR' | 'VI' | 'GU' | 'AS' | 'MP': US State abbreviations
      - string
    - `zip_code` union
      - string: US Postal Service ZIP code (5 digit format or ZIP+4 format)
      - string
  - `organization_id` integer, required
  - `post_hoc_action_id` integer

## Response `200`

OK

- ReferrerInstitutionSchema
  - `abbreviation` string, nullable
  - `sort_letter` string, nullable
  - `addresses` AddressDetail[]
    - `address_type` union, required
      - 'home' | 'work' | 'mailing' | 'other': Address type choices
      - string
    - `address_type_display` string, required
    - `address_line1` string
    - `address_line2` string
    - `city` string
    - `state` union
      - 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'DC' | 'PR' | 'VI' | 'GU' | 'AS' | 'MP': US State abbreviations
      - string
    - `state_display` string, nullable
    - `zip_code` union
      - string: US Postal Service ZIP code (5 digit format or ZIP+4 format)
      - string
  - `phone_numbers` PhoneNumberDetail[]
    - `phone_type` union, required
      - 'home' | 'mobile' | 'work' | 'fax' | 'other': Phone number type choices
      - string
    - `phone_type_display` string, nullable
    - `number` string, required
  - `emails` ReferrerInstitutionEmailSchema[]
    - `id` integer, nullable
    - `address` string, required: Email address.
  - `source` string, required
  - `members` ReferrerAssociationSchema[]
    - `referrer` ReferrerListSchema, required
      - `abbreviation` string, nullable
      - `sort_letter` string, nullable
      - `id` integer, nullable
      - `first_name` string, required: Referrer's first name.
      - `last_name` string, required: Referrer's last name.
    - `id` integer, nullable
    - `role` string, nullable: Referrer's role at this institution (e.g. 'Social Worker', 'Discharge Planner').
  - `id` integer, nullable
  - `name` string, required: Institution name.
  - `url` string, nullable: Institution website URL.
  - `description` string, nullable
  - `last_synced_at` string, date-time, nullable: Last time data was synced from source system
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content

---

[API](https://skmtc.dev/sagecare/apis/sage-api-v1.md) - [All operations](https://skmtc.dev/sagecare/apis/sage-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/sagecare/apis/sage-api-v1/revisions/36b26ceace69?raw)
