API referenceTemplates
Create a template
POST
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
Idempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
id?stringname?stringsubject?stringhtml?stringtext?stringversion?integerpublished?booleanTemplate
application/json- response
id?stringname?stringsubject?stringhtml?stringtext?stringversion?integerpublished?booleancurl -X POST 'https://api.mailroom.gosuevals.com/v1/templates' \ -H 'Content-Type: application/json' \ -d '{}'Example Response201
{ "id": "string", "name": "string", "subject": "string", "html": "string", "text": "string", "version": 0, "published": true}