cURL
curl --request POST \ --url https://api.sternrockcapital.com/templates \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "tag": "email", "template": "<string>" } '
{ "message": "<string>" }
Creates a new template by loading it into the renderer and persisting its metadata.
Template creation payload
email
text-message
template created successfully