cURL
curl --request POST \ --url https://yourdomain.com/save_template \ --header 'Content-Type: application/json' \ --cookie admin_cookie= \ --data ' { "template_name": "<string>", "mail_data": "<string>" } '
"Template Saved"
Create or update a local template
Admin cookie authentication (configurable in config.json)
Template name
Template MIME content
Template saved successfully
The response is of type string.
string