POST
/
v1
/
transactional_email_template
cURL
curl --request POST \
  --url https://staging.terminal3.io/v1/transactional_email_template \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <x-api-token>' \
  --data '{
  "name": "<string>",
  "subject": "<string>",
  "body": "<string>"
}'
{
  "data": {
    "client_transactional_email_template_id": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}
The subject or body may include placeholders defined by the client or the system. System placeholders are prefixed with sys to distinguish them, for example: Client-defined placeholders:
  • {{ first_name }}
  • {{ last_name }}
System-defined placeholders:
  • {{ sys.first_name }}
Notes: Please make sure all your placeholders are in lowercase and contain no spaces.

Headers

x-api-token
string
required
x-api-subclient-id
string

Body

application/json

Response

200
application/json

Success

The response is of type object.