[In beta] Email Templates
Create new email template
POST
https://api.smtpd.dev/api/v1/email/template
This endpoint creates a new email template, each template as an associated revision. When you send an email using a template you can default to latest OR a specific revisions, which enables testing for new revisions.
Headers
Authentication
string
Bearer {access_token}
Request Body
tags
object
link_tracking
boolean
open_tracking
boolean
reply_to
string
from_name
string
from_email_address
string
content_text
string
The Text email content
content_html
string
The HTML email content
template_name
string
Template name, this will be automatically added as a tag when sending.
Create new email template revision
POST
https://api.smtpd.dev/api/v1/email/template/:id
This endpoint creates a new email template
Headers
Authentication
string
Bearer {access_token}
Request Body
tags
object
link_tracking
boolean
open_tracking
boolean
reply_to
string
from_name
string
from_email_address
string
content_text
string
The Text email content
content_html
string
The HTML email content
template_name
string
Template name, this will be automatically added as a tag when sending.
Set revision to $latest
POST
https://api.smtpd.dev/api/v1/email/template/:id/latest
This endpoint creates a new email template
Headers
Authentication
string
Bearer {access_token}
Request Body
revision
number
The revsion that will be latest
Last updated