Developer Documentation & Reference

Sendport REST API v1

Dispatch transactional & marketing emails, manage DNS records, check links, and configure webhooks with predictable JSON responses.

Quickstart: Dispatch Your First Email

Send your first email in under 30 seconds using standard cURL or your favorite language SDK.

curl -X POST https://api.getsendport.com/v1/emails \
  -H "Authorization: Bearer sp_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <hello@yourdomain.com>",
    "to": ["alex@example.com"],
    "subject": "Welcome to Acme SaaS",
    "html": "<strong>Your account has been activated!</strong>",
    "trackOpens": true,
    "trackClicks": true
  }'

Authentication

Authenticate your requests by including your secret API key in the Authorization: Bearer header. You can generate new keys with full or sending-only scopes in your Sendport Dashboard.

Authorization: Bearer sp_live_9a7f82b1c4e6...Generate Key

Key Endpoints

POST/v1/emails
Dispatch single or batched emails with HTML, React, or plaintext
POST/v1/audiences
Create an audience and import subscribers via bulk JSON
POST/v1/tools/link-checker
Pre-flight scan all URLs inside email HTML for 404s and phishing flags
POST/v1/domains/verify
Trigger instant DNS lookup to verify 2048-bit RSA DKIM & SPF records
GET/v1/usage
Retrieve active plan quota, daily limit, and total emails sent

Try It in the Interactive Playground

Send test emails right inside your browser without touching code.

Open Playground