sendgrid / email-templates

A repository of common email templates to use and modify to your heart's content.
https://sendgrid.com
MIT License
820 stars 985 forks source link

Mismatch between html provided and JSON sendgrid wants #85

Open kbrown opened 4 years ago

kbrown commented 4 years ago

Actual Behaviour

Sendgrid API wants me to patch JSON wtf do I do with these HTML templates

Expected Behaviour

Documented way to create template on Sendgrid given this html

Steps to reproduce it

why bother

LogCat for the issue

Screenshots of the issue

Would you like to work on the issue?

unfortunately I am dealing with your dev-ops unfriendly api

kbrown commented 4 years ago

Iulian D. (SendGrid) Feb 22, 03:55 MST 

Hello,Thank you for reaching out to Twilio SendGrid Support in regards to your inquiry.At the current moment, SendGrid does not possess concrete examples on how to programmatically create dynamic templates.The template must be made with handlebars, which you will have to call in your API call in order for the information to populate.In case you have any other questions, do not hesitate to contact us.

Regards,Iulian D.Twilio SendGrid Support Engineer