---
title: "Update custom email template"
method: POST
path: "/custom_email_templates/{name}"
tags: ["Notification"]
---

# Update custom email template

`POST /custom_email_templates/{name}`

Update custom email template.

## Path parameters

- `name` 'USER_CREATION' | 'QUEUE_CALL_LOST' | 'QUEUE_SLA' | 'QUEUE_CALLBACK' | 'QUEUE_CALLBACK_FAILED' | 'VOICEMAIL_RECEIVED' | 'CALL_REPORT_COMPLETED' | 'DISK_LOW' | 'EMERGENCY_CALL' | 'LICENSE_LIMITED' | 'RECHARGE' | 'CONFERENCE_INVITATION' | 'TRUNK_CONNECTED' | 'TRUNK_DISCONNECTED', required — Name of the email template: Can be either: - `USER_CREATION`: user creation notification. - `QUEUE_CALL_LOST`: call queue call lost notification. - `QUEUE_SLA`: call queue sla time reached notification. - `QUEUE_CALLBACK`: call queue callback notification. - `QUEUE_CALLBACK_FAILED`: call queue callback failed notification. - `VOICEMAIL_RECEIVED`: received voicemail notification. - `CALL_REPORT_COMPLETED`: call report completed notification. - `DISK_LOW`: low disk notification. - `EMERGENCY_CALL`: emergency call notification. - `LICENSE_LIMITED`: license limited notification. - `RECHARGE`: recharge notification. - `CONFERENCE_INVITATION`: meeting invitation notification. - `TRUNK_CONNECTED`: trunk connected notification. - `TRUNK_DISCONNECTED`: trunk disconnected notification.

## Request body

- object
  - `from` string — Notification email from field.
  - `subject` string — Notification email subject field.
  - `body` string — Notification email body.

## Response `200`

OK

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
