Three steps. No SDK to install (we don't have one yet — REST is enough). The same flow works in any language that can make an HTTPS request.
From your dashboard at /dashboard/api-tokens. Click + New token, give it a name (e.g. “local dev”), copy the ed_live_… value once. We store only the hash; if you lose the plaintext you'll have to mint a new one.
export ED_TOKEN="ed_live_8x4Tnq2cabcd1234efgh5678ijkl90mnopqr"
Single endpoint. The token already knows its workspace — no X-Workspace-Id header required.
curl https://api.emaildigit.com/api/campaigns/send \
-H "Authorization: Bearer $ED_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"to": "you@yourcompany.com",
"subject": "First send",
"html": "<p>If you see this, we are live.</p>"
}'Every send returns a send_id and a trace_id immediately. Use either to look up status — opens, clicks, bounces, replies all attach to the same trace.
# Check the response status
# {
# "send_id": "snd_8f3k2p4xN",
# "status": "queued",
# "trace_id": "tx_aWelcomeEmail9k2"
# }
# Watch the send via the trace ID
curl https://api.emaildigit.com/api/campaigns/sends/snd_8f3k2p4xN \
-H "Authorization: Bearer $ED_TOKEN"Subscribe to webhooks, connect a mailbox for reply intelligence, add a domain. Each takes about as long as the quickstart.