uSend Docs
Get started

Quickstart

Create an account, verify a domain and send your first email.

This guide takes you from a new account to a delivered email.

1. Create an account

Sign up at app.usend.et and confirm your email address from the link we send you. Your organization can't send until at least one member has a verified email address.

New organizations start on the Free plan. If your organization starts in the sandbox, it can send only to its own verified team members until you verify a sending domain in the next step; then it can send to anyone. See Plans and limits.

2. Add and verify your domain

Open Domains, add the domain you want to send from (for example acme.com) and publish the DNS records shown in the dashboard:

RecordNameTypeValue
DKIMusk3m9q2xa._domainkey (the name is unique to your domain too)TXTv=DKIM1; k=rsa; p=MIIB... (unique to your domain)
Return pathsendCNAMEsend.umta.et
Return path (Amazon SES)send-sesCNAMEsend-ses.umta.et
DMARC (recommended)_dmarcTXTv=DMARC1; p=none; rua=mailto:[email protected];

Then click Verify. Auto configure can publish the records for you at Cloudflare, GoDaddy and other DNS hosts that support Domain Connect; the ⋯ menu copies or emails the instructions for anyone else. See Verify a domain for details.

3. Create an API key

Open API Keys and create a key. Copy it right away: the token (it starts with us_) is shown only once. Keep it in an environment variable:

Shell
export USEND_API_KEY="us_123456789"

4. Send an email

Send from an address on your verified domain to any recipient (for a first test, send to yourself).

cURL
curl -X POST https://api.usend.et/emails \
  -H "Authorization: Bearer $USEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <[email protected]>",
    "to": ["[email protected]"],
    "subject": "Hello from usend",
    "html": "<p>It works!</p>"
  }'

The response contains the ID of the new email:

JSON
{ "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c" }

Or send with SMTP

If your app or framework already speaks SMTP, point it at uSend and keep your code: host smtp.usend.et, port 587 (STARTTLS) or 465 (TLS), username usend, and your API key as the password. See Send with SMTP for settings and examples.

5. Check the result

The email shows up under Emails in the dashboard. You can also fetch it, including its latest status in last_event:

Shell
curl https://api.usend.et/emails/4ef9a417-02e9-4d39-ad75-9611e0fcc33c \
  -H "Authorization: Bearer $USEND_API_KEY"

Next steps