/v3/mail/sendSend an email with Twilio SendGrid
Submits an email for delivery through Twilio SendGrid. Provide personalizations, from, and message content, and use template_id when a stored template should supply the subject and content. A 202 response confirms that SendGrid accepted the message for processing.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Email submission details, including recipients, sender, content, templates, attachments, scheduling, and delivery settings. personalizations and from are required.
A 400 is returned when the request fails validation, a 401 when authentication is not accepted, a 403 when the request is forbidden, and a 404 when the requested resource is not found. A 405 is returned when the HTTP method is not allowed, a 413 when the request content is too large, and a 500 when SendGrid encounters an internal error. personalizations and from are required; each personalization must include to, and Content-Encoding must be gzip when supplied.