I am currently using SendGrid's Dynamic Template. I just created a new version of a template that I would like to use in development. I couldn't find any documentation on how to do that. I am using SendGrid's C# library, this is what I have so far.
var dynamicTemplateData = new Dictionary<string, string>
{
{"name", $"{user.FirstName}"},
{ "date", appointment.AppointmentDateTime.ToLocationDateTime(location.TimeZoneInformation).ToString("f") },
{"location", $"{location.Address} {location.Address2}. {location.City}, {location.State}"},
{"receipt_url", $"{_appSettings.SiteUrl}appointment/{appointment.Id}"},
{"order_id", $"{appointment.ExternalOrderId}"}
};
var msg = MailHelper.CreateSingleTemplateEmail(
new EmailAddress("mail@xxxx.com", "xxxx"),
new EmailAddress(user.EMail),
"d-adwadadadadadadadadadadad",
dynamicTemplateData);