Getting started

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.

Quickstart

  1. 1Create an account and verify your email.
  2. 2Under Settings → Domains, add the domain your emails come from and publish the DNS records it shows. Sending starts once the domain is verified.
  3. 3Under Transactional → API keys, create a key with the emails:send permission. It starts with ysk_.
  4. 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.