---
title: "Send an Email"
method: POST
path: "/clicmanager.sendemail"
tags: ["Clicmanager"]
---

# Send an Email

`POST /clicmanager.sendemail`

Sends an email with attached document (e.g., a Quote) to the specified recipients using the [Publishing Template](https://pricefx.atlassian.net/wiki/display/UNITY/Publishing+Templates). You can retrieve available publishing templates calling the `configurationmanager.fetchtemplates/{TypeCode}` endpoint.

### Email Sending Rate Limits and Restrictions

To prevent misuse, such as email flooding or spam, the following rate limits and restrictions are applied:

**Rate Limiting on `clicmanager.sendemail` Endpoint:**
   - Each user account is restricted to calling this endpoint no more than 5 times (default) within a 5-minute period (default).
   - This limit is counted per partition.

**Recipient Limitation in Payload:**
   - The payload for the `clicmanager.sendemail` endpoint, which specifies recipients limits the number of recipients.
   - A default limit of 20 recipients.

To change these limits, adjust values for the following options in [Advanced Configuration Options](https://pricefx.atlassian.net/wiki/display/UNITY/Advanced+Configuration+Options+-+Full+List):
- sendEmailMaxRecipients
- sendEmailMinutesCountForThrottling
- sendEmailMaxCountInLastMinutes

## Request body

- object
  - `data` object, required
    - `typedId` string, required — `typedId` of the Quote you want to send as an email attachament.
    - `templateName` string, required — A name of the existing template. See the [Publishing Templates](https://pricefx.atlassian.net/wiki/display/UNITY/Publishing+Templates) documentation.
    - `attachmentType` 'WORD' | 'PDF' | 'EXCEL', required — Select the type of the attachment template.
    - `subject` string, required
    - `emailText` string
    - `attachedFiles` string — `typedId` of the attachment you want to send together with the Quote. This must be an existing attachment. You can upload a file on the **Attachments** tab of the document.
    - `recipients` object[], required
      - `email` string, required
      - `name` string

## Response `200`

A general response that contains `data` property with a content depending on returned objects (e.g., Product master table fields when calling the `/fetch/P` endpoint). Can be `null`.

- object
  - `response` object
    - `node` string
    - `data` object, nullable
    - `status` integer
    - `startRow` integer
    - `endRow` integer

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
