TEMPLATES
Add an email template
Adds a new email template that you can use to format your emails.
post/template/add
Request
- Base URLhttps://api.smtp2go.com/v3
- Auth
- API key in header X-Smtp2go-Api-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Template added
Example response
{
"request_id": "f00c0856-dde8-11eb-b4ce-1002b51e60a4",
"data": {
"id": "5355878",
"name": "Order receipt",
"template_name": "Order receipt",
"subject": "Order receipt for {{ product_name }}",
"tags": [
"one"
],
"last_updated": "2024-01-01 12:00:00"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.