---
title: "Update institution contact"
method: PATCH
path: "/cases/{case_id}/institution-contacts/{contact_id}"
tags: ["Institution Contacts"]
---

# Update institution contact

`PATCH /cases/{case_id}/institution-contacts/{contact_id}`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}/institution-contacts/{contact_id}`
- Auth: none declared

Update an institution contact's department info, contact methods, or account type routing.

## Request body

- InstitutionContactWrite
  - `financial_account_id` string
  - `institution_name` string, required
  - `department_name` string, required
  - `is_default_contact` boolean
  - `account_types` string[]
  - `debt_subtypes` string[]
  - `contact_methods` object
    - `phone` string
    - `phone_hours` string
    - `phone_extension` string
    - `fax` string
    - `email` string, email
    - `mailing_address` Address
      - `address1` string
      - `address2` string, nullable
      - `city` string
      - `state` string
      - `zip` string
    - `website` string, uri
  - `contact_person` string
  - `contact_title` string
  - `reference_number` string
  - `notes` string

## Response `200`

Contact updated.

- object
  - `data` InstitutionContact
    - `id` string
    - `financial_account_id` string, nullable: Reference to a specific financial account. Null if this is a general institution contact.
    - `institution_name` string
    - `department_name` string
    - `is_default_contact` boolean: If true, this is the fallback contact when no specific department matches.
    - `account_types` string[]: Account types this contact handles. Empty array means ALL account types.
    - `debt_subtypes` string[]: Only relevant if 'debt' is in account_types. Empty array means all debt types.
    - `contact_methods` object
      - `phone` string, nullable
      - `phone_hours` string, nullable
      - `phone_extension` string, nullable
      - `fax` string, nullable
      - `email` string, email, nullable
      - `mailing_address` Address
        - `address1` string
        - `address2` string, nullable
        - `city` string
        - `state` string
        - `zip` string
      - `website` string, uri, nullable
    - `contact_person` string, nullable
    - `contact_title` string, nullable
    - `reference_number` string, nullable: Case or reference number assigned by the institution.
    - `notes` string, nullable
    - `last_contacted` string, date-time, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `404`: Resource not found.
- `422`: Request validation failed.

---

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