Sending

Sending email

Send transactional email through Bouncerly. The API matches Resend's, so the Resend SDKs work by changing two settings. Unlike Resend, every recipient is verified before sending, so addresses that would bounce are skipped.

Switching from Resend

Every endpoint below takes the same requests and returns the same responses as Resend's, at the same paths, on https://api.bouncerly.com. To move an app over:

  1. Add your domain on the Sending domains page and put the DNS records it shows at your DNS provider. Keep your Resend records too until you've switched.
  2. Create a key on the API keys page. Pick Sending only for the same rights as a Resend sending access key.
  3. Set the SDK's base URL to https://api.bouncerly.com (RESEND_BASE_URL for Node.js and Go, RESEND_API_URL for Python) and swap in the new key. No code changes.
  4. If you use webhooks, add your endpoint on the Webhooks page and use its signing secret. Payloads and signatures match Resend's, so resend.webhooks.verify() keeps working.
// .env
// RESEND_BASE_URL=https://api.bouncerly.com
// RESEND_API_KEY=bn_…your Bouncerly key…

import { Resend } from "resend";

const resend = new Resend(process.env.RESEND_API_KEY);

const { data, error } = await resend.emails.send({
  from: "Acme <hello@mail.acme.com>",
  to: ["jane@example.com"],
  subject: "Your receipt",
  html: "<p>Thanks for your order.</p>",
});
Not available yet: templates (send html or text instead; a request with template gets a validation_error), audiences, contacts and broadcasts. Receiving email is supported: see Receiving email.

Send an email

POST/emails
FieldTypeNotes
fromstringRequired. Name <address> or a bare address, at a verified domain.
tostring | string[]Required. Up to 50 recipients across to, cc and bcc.
subjectstringRequired.
htmlstringWe add a plain-text version automatically if you don't send text.
textstring
cc, bcc, reply_tostring | string[]
scheduled_atstringISO 8601 time or natural language like in 1 hour, up to 30 days ahead.
attachmentsobject[]filename with content (base64) or path (a URL we fetch). content_id makes it inline. The whole email can be up to 28 MB once encoded, so about 20 MB of files.
headersobjectCustom headers, like List-Unsubscribe.
tagsobject[]{ name, value } pairs, returned with the email and in webhook events.

Send an Idempotency-Key header to make retries safe: the same key within 24 hours returns the first response instead of sending again.

200 OK
{ "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794" }

Other email endpoints

EndpointWhat it does
POST /emails/batchUp to 100 emails in one call. Add x-batch-validation: permissive to send the valid ones and get errors for the rest.
GET /emails/:idThe email and its last_event.
GET /emailsList emails, newest first. limit, after and before page through them.
PATCH /emails/:idChange scheduled_at on a scheduled email.
POST /emails/:id/cancelCancel a scheduled email.
GET /emails/:id/eventsEvery event for the email, with SMTP responses and bounce details. Bouncerly only.

Domains

You can only send from domains you've verified. Adding one gives you three DNS records: a DKIM key so mail is signed for your domain, and an MX and SPF record on a return path subdomain (send. by default) that handles bounces. Your existing SPF record doesn't change. We check for the records automatically for 72 hours, then re-check verified domains every day.

EndpointWhat it does
POST /domains{ "name": "mail.acme.com" }. Returns the records to add.
GET /domainsList domains.
GET /domains/:idA domain with its records and their status.
POST /domains/:id/verifyCheck the records now.
PATCH /domains/:idTurn open_tracking and click_tracking on or off (both are off by default), or receiving with { "capabilities": { "receiving": "enabled" } }.
DELETE /domains/:idRemove a domain. Keys limited to it are revoked.

Webhooks

Add endpoints with POST /webhooks (endpoint and events) or on the Webhooks page. Events: email.sent, email.delivered, email.delivery_delayed, email.bounced, email.complained, email.opened, email.clicked, email.failed, email.scheduled, email.suppressed, email.received, and for domains domain.created, domain.updated (its status or a DNS record's status changed, its settings changed, or it was paused) and domain.deleted, each with the domain and its records, like Resend's. No need to poll for verification.

Requests carry webhook-id, webhook-timestamp and webhook-signature headers (and the same as svix-*), following the Standard Webhooks spec. Verify them with resend.webhooks.verify(), the standardwebhooks or svix libraries, or by hand: base64 HMAC-SHA256 of id.timestamp.body, keyed with the secret after whsec_, base64-decoded. If your endpoint doesn't answer with a 2xx, we retry after 5 seconds, 5 minutes, 30 minutes, 2, 5, 10 and 10 hours.

email.bounced
{
  "type": "email.bounced",
  "created_at": "2026-11-17T10:21:04.000Z",
  "data": {
    "email_id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
    "from": "Acme <hello@mail.acme.com>",
    "to": ["jane@example.com"],
    "subject": "Your receipt",
    "created_at": "2026-11-17T10:21:01.000Z",
    "bounce": { "type": "Permanent", "subType": "General", "message": "550 5.1.1 user unknown" }
  }
}

Receiving email

Turn on receiving for a domain on its page in the dashboard, or with PATCH /domains/:id. Then add the MX record it shows. It must be the domain's lowest-priority MX record, so if the domain already gets email somewhere else, receive on a subdomain such as inbound.acme.com. Every address at the domain then receives mail.

Each email triggers an email.received webhook with its sender, recipients, subject and attachment list. Fetch the body, headers and attachments with the API. Download links last an hour; ask again for fresh ones. Received emails are kept for 30 days.

EndpointWhat it does
GET /emails/receivingList received emails, newest first. limit, after, before.
GET /emails/receiving/:idOne email with html, text, headers, authentication (SPF, DKIM and DMARC results) and a raw download link. Inline images come as data URIs, or pass html_format=cid.
GET /emails/receiving/:id/attachmentsIts attachments, each with a download_url.
GET /emails/receiving/:id/attachments/:attachment_idOne attachment.

Verified before sending

Every recipient is checked before we hand the email to the mail server, at no extra cost. Addresses Bouncerly has checked in the last 30 days are looked up instantly; new ones are verified on the spot, which takes a few seconds at most. If an address would hard-bounce (the mailbox or domain doesn't exist, or the mailbox is disabled), we skip that recipient and send to the rest. Anything less certain, like a full mailbox, an accept-all domain or a check that runs out of time, is sent as normal.

A skipped recipient gets a suppressed event and an email.suppressed webhook, with reason set to failed_verification and detail to why, for example mailbox_not_found. If every recipient is skipped, the email's status is suppressed and nothing is sent. Fewer bounces keeps your sender reputation, and your domain's inbox placement, healthy.

email.suppressed
{
  "type": "email.suppressed",
  "data": {
    "email_id": "…",
    "suppressed": { "recipient": "old-staffer@acme.com", "reason": "failed_verification", "detail": "mailbox_not_found" }
  }
}

Suppressions

Addresses that hard bounce or mark your email as spam are added to your suppression list, and we don't send to them again. Sends to a suppressed address are accepted but not delivered: the email's status is suppressed. We also skip addresses Bouncerly's verification has recently found don't exist, which keeps your bounce rate down.

EndpointWhat it does
GET /suppressionsList them. origin is bounce, complaint or manual.
POST /suppressions{ "email": "…" } to add one.
GET /suppressions/:idBy id or by email address.
DELETE /suppressions/:idBy id or by email address.
POST /suppressions/batch/addAdd up to 1,000 at once, from emails.
POST /suppressions/batch/removeRemove up to 1,000 at once.

API keys

POST /api-keys takes name, permission (full_access or sending_access) and an optional domain_id to limit a sending key to one domain. GET /api-keys lists keys and DELETE /api-keys/:id revokes one.

Infrastructure

Email is sent and received through Amazon SES in eu-north-1 (Stockholm), from Bouncerly's own SES account; your domain signs every message with its own DKIM key. Received mail is stored encrypted in Amazon S3 in the same region for 31 days. The API, dashboard and database run on Bouncerly's server, with nightly backups. Live status is on the status page.

Limits and reputation

The Free plan sends 100 emails a day and 3,000 a month; over the limit you get a 429 with daily_quota_exceeded or monthly_quota_exceeded. Paid plans have no daily limit, and past their monthly emails they keep sending at $0.80 per 1,000, billed at the start of the next month. Each workspace sets a monthly overage cap on the billing page ($100 to start, $0 to stop at the limit); at the cap, sends get monthly_quota_exceeded until the 1st. GET /sending/usage shows this month's count and overage.

Reputation is tracked per sending domain. If more than 4% of a domain's emails hard-bounce, or more than 0.1% get spam complaints, over the last 7 days (with at least 100 sent), we pause that domain and let you know: sends from it get a 403, its capabilities.sending becomes paused, and a domain.updated webhook fires. Your other domains keep sending, so one customer's bad list can't stop your login or billing email. The whole workspace is paused only if its remaining domains are over the limits too. Verify-before-send keeps most bounces from happening in the first place. Errors have Resend's shape:

422
{ "statusCode": 422, "name": "validation_error", "message": "The from domain mail.acme.com isn't verified." }