API examples
Transactional email API examples
Code examples for sending and querying transactional emails with the Loops API and SDKs.
Send a transactional email
Send a transactional email with attachments
You must request attachments to be enabled in your account before you can send emails with them.
Send a transactional email with an idempotency key
Add an Idempotency-Key
header to the request to prevent duplicate requests.