curl --request GET \
--url https://app.herondata.io/api/email_templates \
--header 'x-api-key: <api-key>'{
"rules": [
{
"html_body": "<string>",
"name": "<string>",
"cc_address": null,
"heron_id": "<string>",
"reply_to_address": null,
"to_address": null
}
]
}Read all available templates
curl --request GET \
--url https://app.herondata.io/api/email_templates \
--header 'x-api-key: <api-key>'{
"rules": [
{
"html_body": "<string>",
"name": "<string>",
"cc_address": null,
"heron_id": "<string>",
"reply_to_address": null,
"to_address": null
}
]
}OK
Show child attributes
The body of the email to send.
Unique name of the email template. Used to match which email template to send. Only alphanumeric characters, underscores, and dashes are allowed.
3 - 50The email address to CC
Unique identifier for the email template
The email address to reply to
The email address to send the email to
Was this page helpful?