Skip to main content

Create Email Template

Select

SaaS
Customer Managed

This operation creates a new email template.

Request Body
  • name string

    Name of the email template

  • description string

    Description of the template

  • emailTemplateTypeId integer

    Template type id

  • ownerCompany object
  • providerId integer

    Company id

  • locale object
  • localeId integer

    Template locale

  • from object
  • fullName string

    From name

  • email string

    From email

  • cc string

    cc addresses

  • bcc string

    bcc addresses

  • subject string

    Subject of the email

  • emailBody string

    Email body

Responses

OK


Schema
  • emailTemplateEntity object
  • emailTemplateId integer

    Id of email template

  • error object
  • errorMessage string

    Error message

  • errorCode integer

    Error code

POST /emailtemplates    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"name": "string",
"description": "string",
"emailTemplateTypeId": 0,
"ownerCompany": {
"providerId": 0
},
"locale": {
"localeId": 0
},
"from": {
"fullName": "string",
"email": "string"
},
"cc": "string",
"bcc": "string",
"subject": "string",
"emailBody": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailTemplates' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"description": "string",
"emailTemplateTypeId": 0,
"ownerCompany": {
"providerId": 0
},
"locale": {
"localeId": 0
},
"from": {
"fullName": "string",
"email": "string"
},
"cc": "string",
"bcc": "string",
"subject": "string",
"emailBody": "string"
}'