createEmailTemplate(emailTemplateInput)

Create an email template with the provided metadata.

65.0

No

public static ConnectApi.GenericResponseOutputRepresentation createEmailTemplate(ConnectApi.EmailTemplateInputRepresentation emailTemplateInput)

emailTemplateInput

Type: ConnectApi.EmailTemplateInputRepresentation

Input representation that contains the metadata for the email template. The fileId field is not accepted in this Apex representation.

Type: ConnectApi.GenericResponseOutputRepresentation