---
title: "Create email template"
method: POST
path: "/api/v1/email_templates"
tags: ["Email Template"]
---

# Create email template

`POST /api/v1/email_templates`

Create new email template object.

## Request body

- EmailTemplateBase
  - `id` integer — ID of the email template
  - `url` string, uri — URL of the email template
  - `name` string — Name of the email template
  - `queue` string, uri — Queue URL.
  - `organization` string, uri — Organization URL.
  - `triggers` string[] — URLs of the linked triggers
  - `type` 'rejection' | 'rejection_default' | 'email_with_no_processable_attachments' | 'custom' — Type of the email template. Only templates with types `rejection` and `custom` can be manually created and deleted. - `rejection` - Template for a rejection email - `rejection_default` - Default template for a rejection email - `email_with_no_processable_attachments` - Template for a reply to an email with no attachments - `custom` - Custom email template
  - `subject` string — Email subject
  - `message` string — HTML subset of text email section
  - `enabled` boolean — (Deprecated) Use `automate` instead
  - `automate` boolean — True if user wants to send email automatically on the action
  - `to` EmailAddress[] — List that contains information about recipients. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `cc` EmailAddress[] — List that contains information about recipients of carbon copy. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `bcc` EmailAddress[] — List that contains information about recipients of blind carbon copy. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `modified_by` string, uri, nullable — User that last modified the object.
  - `modified_at` string, date-time, nullable — Timestamp of last modification.

## Response `201`

Created

- EmailTemplate
  - `id` integer, required — ID of the email template
  - `url` string, uri, required — URL of the email template
  - `name` string, required — Name of the email template
  - `queue` string, uri, required — Queue URL.
  - `organization` string, uri, required — Organization URL.
  - `triggers` string[], required — URLs of the linked triggers
  - `type` 'rejection' | 'rejection_default' | 'email_with_no_processable_attachments' | 'custom', required — Type of the email template. Only templates with types `rejection` and `custom` can be manually created and deleted. - `rejection` - Template for a rejection email - `rejection_default` - Default template for a rejection email - `email_with_no_processable_attachments` - Template for a reply to an email with no attachments - `custom` - Custom email template
  - `subject` string, required — Email subject
  - `message` string, required — HTML subset of text email section
  - `enabled` boolean, required — (Deprecated) Use `automate` instead
  - `automate` boolean, required — True if user wants to send email automatically on the action
  - `to` EmailAddress[], required — List that contains information about recipients. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `cc` EmailAddress[], required — List that contains information about recipients of carbon copy. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `bcc` EmailAddress[], required — List that contains information about recipients of blind carbon copy. The total number of recipients (to, cc and bcc together) cannot exceed 40.
    - `email` string, email, required — Email address.
    - `name` string, nullable — Name of the email recipient.
  - `modified_by` string, uri, nullable, required — User that last modified the object.
  - `modified_at` string, date-time, nullable, required — Timestamp of last modification.

## Other responses

- `400` — Invalid input data.
- `401` — The username/password is invalid or token is invalid (e.g. expired).
- `403` — Insufficient permission, missing authentication, invalid CSRF token and similar issue.
- `404` — The specified resource was not found.
- `409` — Conflict
- `413` — Payload too large (especially for files uploaded).
- `429` — Request rate is too high, wait before sending more requests. See [Rate Limiting](/guides/overview#rate-limiting) for more details.
- `500` — Server failure while processing the request.
- `502` — Invalid response from the upstream server.
- `503` — We're temporarily offline for maintenance. Please try again later.
- `504` — Upstream server could not complete the request in time.

---

[API](https://skmtc.dev/rossum/apis/rossum-api.md) · [All operations](https://skmtc.dev/rossum/apis/rossum-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rossum/rossum-api/revisions/f1b5a910991d/schema)
