POST
/
api
/
email_templates
curl --request POST \
  --url https://app.herondata.io/api/email_templates \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "cc_address": null,
  "html_body": "<string>",
  "name": "<string>",
  "reply_to_address": null,
  "to_address": null
}'
{
  "email_template": {
    "cc_address": null,
    "heron_id": "<string>",
    "html_body": "<string>",
    "name": "<string>",
    "reply_to_address": null,
    "to_address": null
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201 - application/json
OK

The response is of type object.