Alert emails
apidata.one never emails your visitors, and never has their addresses. The API records a notice when a saved search has new matches or a favorite changes, and your site sends the email. An email that shows listing content is a display of Bright MLS data, and Bright's rules apply to it as they do to a page. This guide lists every element such an email needs and where its text comes from.
Take every text from GET /v1/compliance when you build the
email. Never copy one into your template by hand. The bundle is filled in for your account
(your brokerage's name, the current year, the time of the last data update), and its email
object holds the strings an email needs.
From a notice to an email
- A notice arrives by webhook or from
GET /v1/events. It names listing keys and reasons, never content. - For each listing key, fetch the listing:
GET /v1/listings/{listingKey}, at the moment you send. Never build an email from a copy you stored earlier.404 listing_not_found: the listing has left the data. Leave it out.500 data_stale: live data is not being served. Send nothing with listing content now, and try again later.
- Fetch
GET /v1/compliancefor the texts below. One call serves the whole batch of emails. - Build the email, and send it only to the consumer the notice names (
clientId), from your own mail system.
The alertFrequency the consumer chose (instant, daily, weekly) already decides when the
notice is made. A digest notice names only listings that still match when it is made.
Every email that shows a listing
| Element | Where it comes from |
|---|---|
| "Property information provided by Bright MLS" | email.source |
The copyright line, © {year} Bright MLS… |
email.copyright |
| The accuracy statement | email.accuracy |
| On each listing card: the listing firm's name | the listing's attribution.listOfficeName |
| Your brokerage's name | advertisingBrokerage.name |
| For an agent's email: the states the agent is licensed in | advertisingBrokerage.licenseStates |
| An unsubscribe link and your physical postal address (CAN-SPAM) | yours: the API has no part in them |
The copyright and accuracy statements are required on every email with listing content, however small the display. Show your brokerage's name at least as prominently as the agent's or team's name. The copyright line must not read as if Bright MLS were the broker.
A short card or a thumbnail
A minimal display (a photo, the price, a few facts) needs nothing more than the table above, on
one condition: each listing links directly to a page that carries every disclosure. That is
your listing detail page, which renders the listing's full
compliance block. A card that links to a search page, your home
page or a login wall doesn't meet the condition.
A full-detail email
An email that shows a listing in full (its remarks, its details) also carries all four of these:
| Element | Where it comes from |
|---|---|
| The personal, non-commercial use statement | email.personalUse |
| The not-guaranteed statement | email.accuracy |
| The statement that listings may no longer be available | email.availability |
| The date and time of the last data update | email.lastUpdated |
Bright requires no set wording, only that every element is present. The texts in the bundle are
the ones Bright's own document gives, so use them as they are. email.lastUpdated is the time
of the last successful data update, never the time you built the email; on the sandbox it is
the time the sandbox's own change job last finished.
The listing itself
What is true of a listing on a page is true of it in an email:
- Photos are shown whole. Scale them in proportion and never crop, overlay or retouch them.
Use the photo URLs the API gives, over
https. - A hidden address stays hidden: show the listing's
addressNoticein place of the address (hidden addresses). - A Closed listing carries the label
closed.labeland both statements,closed.notAppraisalandclosed.provider. A Coming Soon listing carriescomingSoon.label, and no days on market or price history. - Show only what the API returned for the listing at that moment. Nothing from an earlier copy.
An example footer
For a short-card email, with the strings named by their place in the bundle:
{advertisingBrokerage.name} · Licensed in {advertisingBrokerage.licenseStates}
{email.source}
{email.copyright} {email.accuracy}
You are receiving this because you saved a search on example.com.
Unsubscribe: https://example.com/unsubscribe/… Example Realty, 1 Main St, Ardmore, PA 19003
A full-detail email adds {email.personalUse}, {email.availability} and {email.lastUpdated}.
Checklist
- Each listing fetched from the API when the email was built, removed ones left out
email.source,email.copyrightandemail.accuracyin every email- The listing firm's name on every card
- Your brokerage's name, and the agent's states of licensure
- Each card links to a detail page with the full
complianceblock - Full detail:
email.personalUse,email.availabilityandemail.lastUpdatedas well - An unsubscribe link and your postal address
- Photos whole, hidden addresses hidden, Closed and Coming Soon labelled
- After a reinstatement, stored listings re-checked before any email goes out (why)