API method POST /v1/template
Method to store a template on the ResponsiveEmail.com servers. You simply POST the entire JSON of your template to this end point. The API will return a link to your new template in the Location header and in the id property in the output JSON.
Example request
POST /v1/template/?access_token=yourtoken
Host: www.responsiveemail.com
Content-Type: application/json
{ "name" : "template..." }
HTTP/1.1 201 Created
Location: https://responsiveemail.com/v1/template/2/html/?access_token=yourtoken
Content-Type: application/json
{ "id" : 2 }
Related information
After you've created the template, you can use GET methods to retrieve the MIME, HTML, webversion and text representation of the mail.
Found a typo?
You can find this documentation page on GitHub.
Propose a change