Canonical: https://weaveos.com/reference/sendgrid/send-transactional-template-email

1. [Software capabilities](https://weaveos.com/reference)
2. /[Twilio SendGrid](https://weaveos.com/reference/sendgrid)
3. /Send a transactional email with a SendGrid template

[TSTwilio SendGrid](https://weaveos.com/reference/sendgrid)

# Send a transactional email with a SendGrid template

Send a dynamic transactional template through Mail Send. Call the v3 API directly or use SendGrid’s Node.js SDK.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: POST /v3/mail/send](https://weaveos.com/reference/sendgrid/send-transactional-template-email#method-1)
2. [2SDK: sgMail.send(message)](https://weaveos.com/reference/sendgrid/send-transactional-template-email#method-2)

API

### POST /v3/mail/send

Send a message using a dynamic template ID and personalization data.

[Read source: SendGrid Mail Send API reference](https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send)

- Requirements

  A SendGrid API key with Mail Send permission, a verified sender, a recipient, and an active dynamic template ID beginning with d-.

- Limitations

  A successful 202 response means SendGrid accepted the request. It does not confirm delivery to the recipient’s inbox. One request supports at most 1,000 personalizations.

Example shell

Copy

```
curl --fail -X POST https://api.sendgrid.com/v3/mail/send \
  -H "Authorization: Bearer $SENDGRID_API_KEY" -H "Content-Type: application/json" \
  -d '{"from":{"email":"verified@example.com"},"personalizations":[{"to":[{"email":"recipient@example.com"}],"dynamic_template_data":{"name":"Alex"}}],"template_id":"d-template-id"}'
```

SDK

### sgMail.send(message)

Submit a dynamic template email from a Node.js application with the SendGrid Mail SDK.

[Read source: SendGrid Node.js Email API quickstart](https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-nodejs)

- Requirements

  Node.js, the @sendgrid/mail package, an API key with Mail Send permission, and a verified sender and dynamic template.

- Limitations

  The SDK submits through the same Mail Send API. A successful request does not establish that the email reached the inbox.

Example text

Copy

```
sgMail.setApiKey(process.env.SENDGRID_API_KEY);
await sgMail.send({ to, from, templateId, dynamicTemplateData });
```

## More from Twilio SendGrid

[View all 1 Twilio SendGrid tasks](https://weaveos.com/reference/sendgrid)

## The same task in other apps

- [PPostmark](https://weaveos.com/reference/postmark)

  ### [How to search Postmark outbound messages](https://weaveos.com/reference/postmark/search-outbound-messages)

  Use Postmark’s outbound-message search to investigate delivery activity by recipient, tag, status, or date. Use the Activity view for an operator who needs to inspect delivery records in the Postmark app.

  API, Interface
