TEMPLATES
Update an email template
Changes details of an existing email template.
post/template/edit
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 updated
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.