---
title: "Update Lia Recipient List"
method: POST
path: "/api/MobileApp/templates/update_lia_recipient_list"
tags: ["MobileApp"]
---

# Update Lia Recipient List

`POST /api/MobileApp/templates/update_lia_recipient_list`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/MobileApp/templates/update_lia_recipient_list`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/MobileApp/templates/update_lia_recipient_list/post.ts> (a function with typed inputs; its response is checked against the schema)

**Function**: `update_lia_recipient_list`
**Type**: API Endpoint (POST)

**Purpose**:  
Updates the recipient list for a given template code using delete and insert approach.

**Headers**:  
- `Customer_Key` (str, required): Encoded customer key for authorization.

**Request Body**:  
- `data` (List[LSLiaRecipientListData], required): The recipient list data.

**Response**:  
- Returns a success message if the recipient list is updated successfully.
- Returns an error message if the customer key is invalid, the template code is invalid, or a database error occurs.

**Error Handling**:  
- Catches exceptions and returns a 500 error with the exception message.

## Headers

- `Customer-Key` string, required

## Request body

- LSLiaRecipientListRequest
  - `data` LSLiaRecipientListData[], required
    - `id` string, required
    - `sequence` integer, required
    - `original_sequence` integer, nullable
    - `title` string, required
    - `sub_title` string, nullable
    - `file_name` string, nullable
    - `file_path` string, nullable
    - `email_to` string[], nullable
    - `email_cc` string[], nullable
    - `email_bcc` string[], nullable
    - `status` boolean, required
    - `modified_by` string, required
    - `modified_on` string, date-time, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/MobileApp/templates/update_lia_recipient_list/post.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
