Templates
Create a template
A new draft template; publish it before sending with it.
POST
A new draft template; publish it before sending with it.
bearerheader
AuthorizationBearer <token>application/json- body
alias?|Another name for the template in the API (unique in the project).
from?|The default sender (a send can override it).
html*stringThe HTML body, with {{{VARIABLE}}} tags.
name*stringreply_to?array<string>|The default reply-to address or addresses.
subject?|The default subject (a send can override it).
text?|The plain-text body; absent: generated from the HTML at send, "": none.
variables?array<>|nullSuccess
application/json- response
id*stringFormat
uuidobject*stringcurl -X POST 'https://api.exx.sh/templates' \ -H 'Content-Type: application/json' \ -d '{ "html": "string", "name": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}