HTTP Operation Type Object
Query emailTemplates filtered by id Why?
Query emailTemplates

Description

Represents a collection of email templates used for sending automated emails related to business documents.
An Email Template defines the subject, content, and recipients of emails generated by the system, ensuring consistent and professional communication with customers and internal users.

Each email template is associated with a specific document type, such as quotes, orders, delivery notes, or invoices.
Email templates can be customized to include default recipients, carbon copies, and message content, allowing businesses to adapt communication workflows to their operational needs.

These templates can be used as a source of information when calling the documentPdfEmail service to generate and send emails together with the produced PDF documents.

Important

Email templates are not automatically applied when sending a document by email.
The client application must first read the template and then manually copy the relevant fields (subject, message, cc, bcc, etc.) into the documentPdfEmail input.

img

Key Value
Authorization Bearer Current access Token How to find?
X-TenantId Current tenant id Why deprecated ?
X-OrganizationId Current organization Id How to find?
x-api-key Primary or secondary subscription key of your app How to find?

emailTemplates

Fields Type Description
id UUID Id
creationDate DateTime Creation Date
modificationDate DateTime Modification Date
     
documentType
  • INVOICES_DUE_IN_THE_NEXT_DAYS
  • NEW_DELIVERY_NOTE
  • NEW_INVOICE
  • NEW_ORDER
  • NEW_QUOTE
  • PENDING_INVOICE_PAYMENT_REMINDER
  • PENDING_QUOTE
Email document type
name String Template name
isDefault Boolean Indicates whether the template is the default
sendMeCopy Boolean Sends a copy to the sender
sendAdditionalCopy Boolean Sends an additional copy
cc String CC recipient’s email addresses
bcc String BCc recipient’s email addresses (hidden copy)
emailSubject String Email subject
emailMessage String Email body content