Skip to content

Rabbitflare SMTP

Send a site's WordPress emails through Rabbitflare. For the same in the control panel, see Send WordPress emails with Rabbitflare SMTP.

Operations

OperationRequest
Get Rabbitflare SMTP on a site GET /v1/sites/{siteId}/smtp
Turn on Rabbitflare SMTP for a site POST /v1/sites/{siteId}/smtp/actions/enable
Turn off Rabbitflare SMTP for a site POST /v1/sites/{siteId}/smtp/actions/disable
Turn Rabbitflare SMTP on again after a pause POST /v1/sites/{siteId}/smtp/actions/resume
Add a notice or reply address to a site's SMTP POST /v1/sites/{siteId}/smtp/addresses
Send an address's confirmation email again POST /v1/sites/{siteId}/smtp/addresses/{addressId}/actions/send-confirmation
Remove an address from a site's SMTP DELETE /v1/sites/{siteId}/smtp/addresses/{addressId}
Get an address of a site's SMTP GET /v1/sites/{siteId}/smtp/addresses/{addressId}

The SiteSmtp object

Rabbitflare SMTP on a site: WordPress's own emails (password resets, new accounts, account changes, admin notices and order emails) sent through Rabbitflare, with the limits, what the site sent, its addresses and its latest emails.

FieldType and description
status

string

off, setting_up (being set up on the site's server), on, turning_off, failed (see lastError), or stopped: checking (the plugin file is being checked), paused (see hold), suspended, or account_off (the account's email is off for good: see accountOff).

Known values: offsetting_uponturning_offfailedcheckingpausedsuspendedaccount_off More can appear.

enabled

boolean

Whether it's turned on for the site, whatever stop hold puts on it.

blockedReason

string or null

Why the site can't have Rabbitflare SMTP right now: a staging copy, a site still installing, or a server that's stopped or suspended. Null when it can.

eligible

object

Whether the account may use it for this site: a paid, running server (not a free trial) and a confirmed account email address.

ok

boolean

Whether the account may turn it on for this site.

code

string or null

Why not, as a code (not_eligible, account_off, …). Null when it may.

Known values: offnot_enablednot_eligiblepausedcheckingsuspendedaccount_offnot_checkedtype_not_coveredbad_messagerecipient_refusedrecipient_suppressednotice_unconfirmedlimit_site_10minlimit_site_daylimit_new_sitelimit_account_daylimit_recipient_hourlimit_recipient_daylimit_recipient_alllimit_new_recipientslimit_noticeslimit_platformno_credittemporaryforms_offforms_pausedforms_stoppedform_unconfirmedform_spamform_uncheckedform_too_longlimit_form_visitorlimit_form_10minlimit_form_daylimit_form_new_sitelimit_form_accountlimit_form_platform More can appear.

message

string or null

Why not, in a sentence. Null when it may.

lastError

string or null

Why setting it up on the site's server, or removing it, didn't finish (with status: "failed"). Null otherwise.

hold

object or null

A stop on the site's emails: an automatic safety check, or Rabbitflare's team. Null when there's none.

kind

string

checking (the plugin file is being checked), paused or suspended.

Known values: checkingpausedsuspended More can appear.

reason

string

Why, in a sentence.

note

string

What to do about it, in a sentence.

heldAt

string or null An ISO 8601 time, in UTC

When it was stopped.

canResumeAt

string or null An ISO 8601 time, in UTC

A first pause: when it may be turned on again (POST …/smtp/actions/resume). Null otherwise.

canResume

boolean

Whether it may be turned on again now.

accountOff

object or null

Set when the account's email is switched off for good (only support can lift it). Null otherwise.

reason

string

Why, in a sentence.

offAt

string or null An ISO 8601 time, in UTC

When it was switched off.

wpMailReplaced

boolean

Another plugin has replaced WordPress's wp_mail(), so the site's emails don't go through Rabbitflare SMTP.

pluginCheck

object

The site's server checks the plugin file every few minutes: nothing is sent while it's changed or unchecked.

ok

boolean

Whether the Rabbitflare SMTP plugin file on the site is the one Rabbitflare put there.

checkedAt

string or null An ISO 8601 time, in UTC

When the site's server last checked it. Null before the first check.

firstOnAt

string or null An ISO 8601 time, in UTC

When it was first turned on for the site. Null if never.

newSiteEndsAt

string or null An ISO 8601 time, in UTC

While the site is new to Rabbitflare SMTP (its first 14 days, with lower daily limits): when that ends. Null otherwise.

from

string

The sender the recipients see: the site's domain as the name, and the site's own sending address.

replyTo

string or null

The confirmed reply address the site's emails carry. Null when it has none.

limits

object

The limits in force. Times are rolling: 24 hours, not a calendar day.

perSite10Min

integer

Emails the site may send in 10 minutes.

perSiteDay

integer

Emails the site may send in 24 hours.

perAccountDay

integer

Emails all the account's sites may send in 24 hours.

newRecipientsPerDay

integer

Addresses the site has never emailed before that it may email in 24 hours.

newSitePerDay

integer

Emails a site may send in 24 hours while it's new to Rabbitflare SMTP (its first 14 days).

newRecipientsPerDayFirst14

integer

New addresses a site may email in 24 hours in its first 14 days.

perRecipientHour

integer

Emails one address may be sent from the site in an hour.

perRecipientDay

integer

Emails one address may be sent from the site in 24 hours.

noticePerSiteDay

integer

Admin notices to confirmed addresses in 24 hours (their own allowance).

noticeAddressesPerSite

integer

Notice addresses a site may add.

usage

object or null

What the site sent, against its limits. Null if it was never turned on, and in a change's answer to a token without sites:read.

tenMinutes

object

The site's emails in the last 10 minutes.

Show its 2 fields
FieldType and description
used

integer

Emails counted so far.

limit

integer

The most allowed.

today

object

The site's emails in the last 24 hours.

Show its 2 fields
FieldType and description
used

integer

Emails counted so far.

limit

integer

The most allowed.

account

object or null

All the account's sites' emails in the last 24 hours. Null for a token limited to some servers: it counts the sites on every server.

Show its 2 fields
FieldType and description
used

integer

Emails counted so far.

limit

integer

The most allowed.

newRecipients

object

New addresses the site emailed in the last 24 hours.

Show its 2 fields
FieldType and description
used

integer

Emails counted so far.

limit

integer

The most allowed.

notices

object

Admin notices to confirmed addresses in the last 24 hours.

Show its 2 fields
FieldType and description
used

integer

Emails counted so far.

limit

integer

The most allowed.

refusedToday

integer

Emails refused in the last 24 hours.

paidToday

integer

Emails paid from the account's email credit in the last 24 hours.

days

array of objects

The last 30 days, oldest first.

Show its 6 fields
FieldType and description
date

string

The day (UTC), like 2026-11-19.

sent

integer

Emails sent.

delivered

integer

Emails delivered.

bounced

integer

Emails that bounced.

complained

integer

Emails marked as spam.

refused

integer

Emails refused before sending.

addresses

array of objects

The account's own addresses first, then the ones added to the site. A token limited to some servers sees only the team members who can reach the site's server; a change's answer to a token without sites:read holds only the ones added to the site (no sign-in addresses).

id

string

The address's id. The account's own addresses have ids starting account: or team:: they can't be removed or sent a confirmation.

kind

string

notice: admin notices may go to it. reply: the reply address of the site's emails (a site has at most one).

Known values: noticereply More can appear.

address

string

The email address.

confirmed

boolean

Whether its owner confirmed it from the link in the confirmation email. Only confirmed addresses are used.

confirmationSentAt

string or null An ISO 8601 time, in UTC

When the last confirmation email was sent to it. Null for the account's own addresses.

source

string

added: added to this site (it can be removed). account and team: the account owner's and team members' own sign-in addresses, always confirmed for admin notices.

Known values: addedaccountteam More can appear.

suggestedNoticeAddresses

array of strings

Addresses the site tried to send admin notices to in the last 30 days that aren't confirmed: add them to let notices through. Empty in a change's answer to a token without sites:read.

recentEmails

array of objects

The site's latest emails, newest first. Empty in a change's answer to a token without sites:read: whom they went to and their subjects are people's details.

id

string

The email's id.

sentAt

string An ISO 8601 time, in UTC

When the site sent it.

type

string or null

What kind of email it is: password_reset (Password resets), new_account (New accounts), account_change (Account changes), admin_notice (Admin notices), order (Order emails), contact_form (Contact forms). Null when it couldn't be read.

Known values: password_resetnew_accountaccount_changeadmin_noticeordercontact_form More can appear.

to

string or null

Who it was for (kept 30 days). Null when it was refused before it could be read.

subject

string or null

Its subject. Null when it was refused before it could be read.

status

string

What happened to it: accepted, sent, delivered, bounced, complained (marked as spam), refused, failed or unknown.

Known values: acceptedsentfailedunknownrefuseddeliveredbouncedcomplained More can appear.

code

string or null

Why it wasn't sent, as a code (limit_site_day, no_credit, …). Null when it was.

Known values: offnot_enablednot_eligiblepausedcheckingsuspendedaccount_offnot_checkedtype_not_coveredbad_messagerecipient_refusedrecipient_suppressednotice_unconfirmedlimit_site_10minlimit_site_daylimit_new_sitelimit_account_daylimit_recipient_hourlimit_recipient_daylimit_recipient_alllimit_new_recipientslimit_noticeslimit_platformno_credittemporaryforms_offforms_pausedforms_stoppedform_unconfirmedform_spamform_uncheckedform_too_longlimit_form_visitorlimit_form_10minlimit_form_daylimit_form_new_sitelimit_form_accountlimit_form_platform More can appear.

reason

string or null

Why it wasn't sent, in a sentence. Null when it was.

paid

boolean

Paid from the account's email credit: it was beyond the site's included emails.

Example

The SiteSmtp object
{
  "status": "on",
  "enabled": true,
  "blockedReason": null,
  "eligible": {
    "ok": true,
    "code": null,
    "message": null
  },
  "lastError": null,
  "hold": null,
  "accountOff": null,
  "wpMailReplaced": false,
  "pluginCheck": {
    "ok": true,
    "checkedAt": "2026-11-19T10:01:00.000Z"
  },
  "firstOnAt": "2026-10-28T14:20:11.000Z",
  "newSiteEndsAt": null,
  "from": "\"shop.example.com\" <[email protected]>",
  "replyTo": "[email protected]",
  "limits": {
    "perSite10Min": 5,
    "perSiteDay": 50,
    "perAccountDay": 150,
    "newRecipientsPerDay": 15,
    "newSitePerDay": 10,
    "newRecipientsPerDayFirst14": 5,
    "perRecipientHour": 3,
    "perRecipientDay": 10,
    "noticePerSiteDay": 10,
    "noticeAddressesPerSite": 5
  },
  "usage": {
    "tenMinutes": {
      "used": 1,
      "limit": 5
    },
    "today": {
      "used": 12,
      "limit": 50
    },
    "account": {
      "used": 19,
      "limit": 150
    },
    "newRecipients": {
      "used": 4,
      "limit": 15
    },
    "notices": {
      "used": 2,
      "limit": 10
    },
    "refusedToday": 0,
    "paidToday": 0,
    "days": [
      {
        "date": "2026-11-18",
        "sent": 14,
        "delivered": 14,
        "bounced": 0,
        "complained": 0,
        "refused": 0
      },
      {
        "date": "2026-11-19",
        "sent": 12,
        "delivered": 11,
        "bounced": 0,
        "complained": 0,
        "refused": 0
      }
    ]
  },
  "addresses": [
    {
      "id": "account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60",
      "kind": "notice",
      "address": "[email protected]",
      "confirmed": true,
      "confirmationSentAt": null,
      "source": "account"
    },
    {
      "id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
      "kind": "reply",
      "address": "[email protected]",
      "confirmed": true,
      "confirmationSentAt": "2026-10-28T14:25:40.000Z",
      "source": "added"
    }
  ],
  "suggestedNoticeAddresses": [],
  "recentEmails": [
    {
      "id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
      "sentAt": "2026-11-19T09:58:03.000Z",
      "type": "order",
      "to": "[email protected]",
      "subject": "Your Shop order has been received!",
      "status": "delivered",
      "code": null,
      "reason": null,
      "paid": false
    }
  ]
}

The SmtpAddress object

An address of a site's Rabbitflare SMTP: one its admin notices may go to, or its reply address.

FieldType and description
id

string

The address's id. The account's own addresses have ids starting account: or team:: they can't be removed or sent a confirmation.

kind

string

notice: admin notices may go to it. reply: the reply address of the site's emails (a site has at most one).

Known values: noticereply More can appear.

address

string

The email address.

confirmed

boolean

Whether its owner confirmed it from the link in the confirmation email. Only confirmed addresses are used.

confirmationSentAt

string or null An ISO 8601 time, in UTC

When the last confirmation email was sent to it. Null for the account's own addresses.

source

string

added: added to this site (it can be removed). account and team: the account owner's and team members' own sign-in addresses, always confirmed for admin notices.

Known values: addedaccountteam More can appear.

Example

The SmtpAddress object
{
  "id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
  "kind": "reply",
  "address": "[email protected]",
  "confirmed": true,
  "confirmationSentAt": "2026-10-28T14:25:40.000Z",
  "source": "added"
}

Popular

API docs