---
title: "Update Lead Email Config"
method: PUT
path: "/api/v1/branches/{branch_id}/leads/email-config"
tags: ["Leads"]
---

# Update Lead Email Config

`PUT /api/v1/branches/{branch_id}/leads/email-config`

## Request

- Base URL: `https://api.compteam.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.compteam.io/api/v1/branches/{branch_id}/leads/email-config`
- Auth: HTTP bearer

## Path parameters

- `branch_id` string, required

## Request body

- LeadEmailConfigUpdate
  - `manual_reply` LeadEmailTemplateConfig
    - `subject` string, nullable
    - `greeting` string, nullable
    - `intro` string, nullable
    - `body` string, nullable
  - `booking_confirmation` LeadEmailTemplateConfig
    - `subject` string, nullable
    - `greeting` string, nullable
    - `intro` string, nullable
    - `body` string, nullable
  - `attendance_followup` LeadEmailTemplateConfig
    - `subject` string, nullable
    - `greeting` string, nullable
    - `intro` string, nullable
    - `body` string, nullable
  - `no_show_followup` LeadEmailTemplateConfig
    - `subject` string, nullable
    - `greeting` string, nullable
    - `intro` string, nullable
    - `body` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/compteam/apis/c-team-api.md) · [All operations](https://skmtc.dev/compteam/apis/c-team-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compteam/apis/c-team-api/revisions/4bd27c892655?raw)
