Introduction
Send transactional email and marketing campaigns from your own code, from your own domain, with delivery tracking and signed webhooks. One account for both: you pay for what you use.
Send an emailReceipts, password resets and alerts from your own domain.TemplatesDesign in the app, fill in with your values from code.Marketing campaignsSend to your lists and segments, consent handled for you.WebhooksDelivery, open, click and bounce events as they happen.Node.js SDKTypes, retries, paging and React Email.API referenceEvery endpoint, its fields and an example.
Quickstart
- 1Create an account and verify your email.
- 2Under Settings → Domains, add the domain your emails come from and publish the DNS records it shows. Sending starts once the domain is verified.
- 3Under Transactional → API keys, create a key with the
emails:sendpermission. It starts withysk_. - 4Send your first email:
curl -X POST https://yousendit.io/api/v1/emails \
-H "Authorization: Bearer $YOUSENDIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <hello@acme.com>",
"to": "sam@example.com",
"subject": "Your receipt",
"html": "<p>Thanks for your order!</p>"
}'The answer comes at once with the email's id, and the email is sent within seconds:
Response201
{ "object": "email", "id": "6f1c0f3e-…", "status": "queued", "scheduled_at": null }New accounts start in the sandbox: you can send to your own team while you build.