TEMPLATES
View template details
Returns details of the email template with the specified ID.
post/template/view
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
Details of a template
Example response
{
"request_id": "f00c0856-dde8-11eb-b4ce-1002b51e60a4",
"data": {
"html_body": "Shiny HTML body. This is a {{ variable }}",
"id": "testid",
"subject": "Shiny new Subject",
"tags": [
"tagged"
],
"name": "Shiny new name",
"text_body": "Shiny Text body",
"last_updated": "2024-01-01 12:00:00"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.