Reference
Changelog
What changed, what is coming, and the promise about what will not change under you.
2026-10-14: attachments are checked as they arrive#
POST /v1/attachments(Attachments) checks each file as it arrives and answersstatus: "clean", so a message with files goes out at once instead of waiting for a scan.- A file the check refuses is not stored: the upload answers 422
attachment_refused, anddetailsays why (a program or script, contents that are not the type the name says, macros, scripts, embedded files, or a password that keeps it from being checked). - A file's
statusis now alwaysclean:scanning,infected,failedandthreatno longer occur.
2026-10-10: delivery events, webhooks, batches and cancelling#
Nothing that worked before stops working.
- Delivery.
deliveryon a message now reports the verdict after sending, andGET /v1/messages/{id}/eventslists every step: delivered, deferred, bounced, blocked, complained, unsubscribed, opened, clicked. Bounces, complaints and unsubscribes go on the do-not-mail list. - Automatic block. A token whose mail keeps bouncing is blocked (403
token_blocked) until the hotel unblocks it. - Webhooks. The hotel can give your app a signed webhook for those events.
- Batch.
POST /v1/messages/batchsends up to 50 messages in one request. - Listing.
GET /v1/messageslists your messages, newest first. - Cancelling.
POST /v1/messages/{id}/cancelcancels a scheduled message. One new code: 409not_cancelable.
2026-10-10: Send a test email#
- A new page, Send a test email, sends real requests from your browser with a token you type in: every field of
POST /v1/messages, templates included, with the API's full answer. Use a test token to try it without an email going out.
2026-10-10: clients, test tokens and token rules#
Nothing that worked before stops working: every new rule is off until the hotel sets it on a token.
- Test tokens. A token starting
ems_test_is checked and recorded like a live one but never sends; the answer and the message carry"test": true. - Clients. The hotel can group your tokens under your app, pause them all at once (403
client_paused) and limit the recipient domains (403recipient_not_allowed). - Token rules. A list of allowed templates (403
template_not_allowed), templates only (403templates_only), a monthly limit (429monthly_cap_reached) and an address allow-list (403ip_not_allowed). - Rotation grace. After a rotation the old secret can keep working for up to 24 hours.
GET /v1/meaddsmode,client,templates,templates_only,monthly_capand this month's usage;GET /v1/templateslists only the templates the token may send.
2026-10-10: stored templates#
- Templates. Send
template_idwithvariables(and an optionallocale) instead ofsubject,htmlandtext. The hotel writes and publishes the templates;GET /v1/templateslists them. Two new codes: 422unknown_templateandinvalid_variables(Templates).
2026-10-10: safer content, never dropped, a footer for recipients#
Nothing that worked before stops working.
- Content check. HTML is cleaned before it is stored, and a message with a link to an IP address, a link carrying a user name or password, a link to a blocked domain, or what looks like a payment card number is refused with 422
content_blocked(Errors). - Never dropped. A message accepted with 202 is kept even if the internal queue is briefly unavailable, and is handed over again automatically.
503 enqueue_failedno longer exists. - Flood guard. More than 600 requests a minute from one token are refused with 429
rate_limitedbefore any other work. - Footer. Every message ends with a short line linking the recipient to About this email, where they can see who sent it and report it. Two new endpoints serve that page: For recipients.
- Every answer carries a
Server-Timingheader.
2026-10-01: version 1#
The first public version.
POST /v1/messages,GET /v1/messages/{id},GET /v1/me,GET /v1/health.- Bearer tokens with
sendandreadpermissions, per-token senders, per-minute and per-day limits, expiry, rotation and blocking. Idempotency-Keyon sending, with replay and reuse detection.- A shared daily allowance of recipients for all tokens.
- Sender addresses come from the hotel's approved list and are checked again just before sending.
- The hotel's suppression list is applied to every message.
- Problem-format errors with stable codes;
Retry-Afteron limits. - This documentation, the request builder and the OpenAPI document.
Planned#
In rough order; dates are not promised.
- Nothing is planned right now.
What will not change in v1#
- Existing endpoints, fields, codes and their meaning.
- The token format and the authentication scheme.
New fields may appear in responses and new optional fields in requests, so ignore fields you do not know when you read responses. New error codes may appear: treat an unknown code by its HTTP status.
A change that could break a working integration would come as /v2, announced to token holders at least 30 days ahead, with v1 kept running alongside for a transition period. Changes needed for security or by law can apply sooner.
Last reviewed 2026-10-01.