CloudSend — transactional email API for your product.
Send order receipts, account mail and service notices from your own domain. We handle the Cloudflare Email Sending plumbing — sending infrastructure, domain authentication and deliverability — so your product just calls one endpoint.
Transactional mail only. Read the rules.
How it works
- 1Point your domain at us. We onboard it for you — DNS, DKIM, SPF and DMARC are set up and verified by our team. You don't need a Cloudflare account or a Cloudflare token.
- 2Get an API key. We issue a scoped key for your product. It authenticates
POST /v1/sendand ties every message to your account. - 3POST /v1/send. Send a JSON body with
from, recipients,subjectandhtml(ortext). The gateway queues it, delivers it and records per-recipient events.
A real request
Sent with your key. Recipients may be listed in to, cc and bcc; the combined envelope is limited to 50 recipients.
curl -X POST https://app.cloudsend.dev/v1/send \
-H "Authorization: Bearer gw_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"from": "receipts@yourdomain.com",
"to": ["customer@example.com"],
"cc": ["accounts@yourdomain.com"],
"bcc": ["archive@yourdomain.com"],
"subject": "Your receipt",
"html": "<h1>Thank you</h1><p>Your order is confirmed.</p>",
"idempotency_key": "order-1042-receipt"
}'
idempotency_key makes retries safe: sending the same key again returns the original response instead of a second message.
Response
{
"message_id": 1042,
"status": "queued",
"per_recipient": {
"customer@example.com": "queued",
"accounts@yourdomain.com": "queued",
"archive@yourdomain.com": "queued"
},
"results": [
{"recipient": "customer@example.com", "outcome": "queued"},
{"recipient": "accounts@yourdomain.com", "outcome": "queued"},
{"recipient": "archive@yourdomain.com", "outcome": "queued"}
],
"idempotent_replayed": false,
"cf_result": {}
}
A recipient already on the suppression list is reported with suppressed instead of queued. HTTP 429 means back off and retry: quota_exceeded, rate_limited or client_paused.
Pricing
2,000 recipients per month free. Then $1.50 per 1,000 recipients.
Metered per envelope recipient — that is every address in to, cc and bcc. A message with to[20] counts as 20 units, not one message. Suppressed recipients and API-rejected sends are not billed.
Usage is exported monthly for invoicing. There is no self-serve signup or card form — request access and we onboard you.
Limits and rules
Transactional email only. Order receipts, account mail and service notices. Marketing mail, newsletters and unsolicited bulk email are not allowed — this is a hard platform rule, not a soft guideline.
That rule protects a shared sending reputation. We monitor per-client health continuously: complaints, bounces and delivery trends are watched, and a client whose complaint rate crosses our threshold is automatically paused until we review it. One sender's mail cannot drag the others down.
| Message size | 25 MiB including attachments |
|---|---|
| Recipients | 50 per message across to, cc and bcc combined |
| Subject | 998 characters |
| Content | Transactional only — no marketing or newsletters |
What we handle
- Domain onboarding. We set up and verify your sending domain — no Cloudflare account or token on your side.
- Authentication. DKIM, SPF and DMARC with
p=rejecton your domain. - Bounces and complaints. Ingested as per-recipient delivery events and fed into suppression and health monitoring.
- Suppression list. Enforced on every send across all recipient fields, including cc and bcc.
- One-click unsubscribe. RFC 8058 headers honoured by the gateway, with opt-outs applied across our sending domains.
CloudSend sends mail; it does not host mailboxes or receive mail. Your mailbox setup is yours.
Request access
Tell us your use case and sending domain. We vet transactional use, onboard your domain and hand you a key.