Emails

Overview of emails API methods

Send Email

POST https://api.codemash.io/:version/notifications/email

Send an email message.

Path Parameters

Headers

Request Body

{
    "result": true
}
var client = new CodeMashClient(apiKey, projectId);
var emailService = new CodeMashEmailService(client);

var response = await emailService.SendEmailAsync(new SendEmailRequest
{
    TemplateId = Guid.Parse("{TEMPLATE_ID}"),
    Emails = new [] { "test@email.com" }
});

More about templates and template languages here.

Last updated