Emails API

Sending emails via API is simple, fast, and easy. You no longer need to compose emails within your application code. Instead, create an Email Template in Send With SES dashboard. To send email just trigger that Email Template via an API call. Every email template has its own unique Secret Template Key which must be used when making the API call.

Create Email Template

Go to https://sendwithses.com/viaapi. Click + to create a new email template.

You will be shown the below screen ...

Give your template a name, select Format (Plain Text or HTML) and Type (Transactional or Marketing). Click Save.

You are presented with a Plain Text or HTML template which you can now customize as per your needs. Compose your email along with the appropriate REPLACE TAGS. A REPLACE TAG is indicated by a unique name within double-curly-braces, like so ... {{password-reset-link}}. You can use as many REPLACE TAGS as needed. When sending email, the content within the double-curly-braces will be replaced by the content you send via your API call. Image below illustrates.

Click to enlarge.

Triggering Email

Click "How To" button below the email template for instructions on how to make the API call. Every email template has its own unique Secret Template Key which must be used when making the API call. You can send an email to a single user or to multiple users (bulk email).

Email To Single User : Specify the email id of the user along with other POST Request Parameters (see Green Box in below image).

Email To Multiple Users : Your contacts will be filtered using the tags mentioned in your API call and an email will be sent to all of them (see Blue Box in below image).

Click to enlarge.