Notify your PMS when SES accepts the guest report
Every time a guest report changes status at SES.Hospedajes, Autoregistro sends a notification to your PMS (or to Make, Zapier or n8n) with the booking ID. Your system knows right away which bookings have their guest registration done.
- No personal data
- HMAC-signed
- Included at no extra cost
- Guestfills in the form
- Autoregistrosubmits the report
- SES.Hospedajesaccepts and processes it
- Your PMSgets notified
“Submitted” arrives within seconds and “accepted” a few minutes later, each with the booking ID.
Setup · 2 minutes
How to turn it on
Open the property
In the dashboard, go to Properties → Edit and expand the “Webhook for your PMS” section.
Paste the URL and save
Your PMS's https URL, or a Make, Zapier or n8n webhook. Saving generates the secret used to verify notifications.
Send a test
The “Send test” button sends a webhook.test event and shows you what your server replies.
Add the booking ID to the link
In your PMS message template, add ?ref= and the booking ID variable at the end of the registration link. Explained right below.
The key step
How your PMS knows which booking each notification is for
The registration link is the same for every booking at the property, so on its own it doesn't say which booking it is. The fix: your PMS already sends automatic messages to guests using booking variables. Add ?ref= followed by the booking ID variable to the link, and each guest gets a link with their own booking.
1 · The message template in your PMS
Hi {name}, please complete the guest registration before arrival: https://autoregistro.es/register/a1b2c3?ref={booking_id}2 · What the guest of booking NWS-4521 receives
Hi Marie, please complete the guest registration before arrival: https://autoregistro.es/register/a1b2c3?ref=NWS-45213 · The notification your PMS receives
"event": "registration.success", "externalRef": "NWS-4521", "status": "success"
What is the variable called? It depends on the PMS: {booking_id}, {reservation_code}, {confirmation_code}… Look for it in the list of variables for message templates.
What if I don't add it? The notification still arrives, but externalRef is null and your PMS has to identify the booking by dates and number of guests.
Events
Which notifications you'll get
The notification type is in the event field and in the X-Autoregistro-Event header.
registration.submittedWithin secondsSES.Hospedajes accepted the submission and assigned a batch (lote). Arrives seconds after the guest finishes the form.
registration.success1–5 minutesSES processed the batch and the report is filed. Usually within 5 minutes; if SES takes longer, at the daily check.
registration.failedIf SES rejects itSES rejected the report (invalid data, wrong credentials, property not set up…). For a partial rejection, status is partial_error. Temporary SES errors are not reported while we keep retrying.
registration.cancelledIf it's cancelledThe report was cancelled in SES.
webhook.testWhen you press “Send test”Only when you press "Send test". registration contains sample data (externalRef "TEST-12345") so you can test the full integration.
Format
What each notification contains
A POST with a JSON body. It contains no guest personal data: no names, no documents, no contact details.
POST https://your-pms.com/webhooks/autoregistroContent-Type: application/jsonX-Autoregistro-Event: registration.successX-Autoregistro-Timestamp: 1762689546X-Autoregistro-Signature: sha256=5d41402abc4b2a76b9719d91… { "id": "evt_1945264e61f3273ba1ae7d5e", "event": "registration.success", "occurredAt": "2026-11-09T11:39:06.656Z", "registration": { "id": "cmw96um7z00016db6foua331d", "reference": "V1StGXR8_Z5jdHi6B-myT", "externalRef": "NWS-4521", "status": "success", "sesLoteId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "checkinDate": "2026-11-10", "checkoutDate": "2026-11-12", "numberOfGuests": 2 }, "property": { "id": "cmw96sfrg00016d8mdtjsv3ys", "name": "Casa Azul" }}- id
- Event identifier. It stays the same if we re-send the same status: use it to drop duplicates.
- event
- Event type (see “Which notifications you'll get”).
- occurredAt
- Send time, ISO 8601 in UTC.
- registration.externalRef
- The ?ref= value from the registration link: your booking ID. null if the link had none.
- registration.reference
- Autoregistro reference, sent to SES as the contract reference.
- registration.status
- pending, success, failed, partial_error or cancelled.
- registration.sesLoteId
- Batch assigned by SES.Hospedajes (null if it was never sent).
- registration.checkinDate / checkoutDate
- Check-in and check-out dates (YYYY-MM-DD).
- registration.numberOfGuests
- Number of guests in the registration.
- property
- Property ID and name in Autoregistro.
Security
Verify the signature
Every notification is signed with HMAC-SHA256 using the property's secret. The signature covers "timestamp.body", where timestamp is the X-Autoregistro-Timestamp header (Unix seconds) and body is the JSON exactly as received, not re-serialized.
import { createHmac, timingSafeEqual } from "node:crypto"
// rawBody: the request body exactly as received (string, before JSON.parse)
function isValidAutoregistroWebhook(rawBody, headers, secret) {
const timestamp = headers["x-autoregistro-timestamp"]
const signature = headers["x-autoregistro-signature"] ?? ""
// Reject old deliveries (replay protection): 5 minutes
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false
const expected =
"sha256=" +
createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest("hex")
const a = Buffer.from(signature)
const b = Buffer.from(expected)
return a.length === b.length && timingSafeEqual(a, b)
}If you think the secret leaked, regenerate it in the webhook section and update it on your side: the next notifications use the new one.
Reliability
Delivery and retries
Reply with a 2xx status within 5 seconds. If you need to do something slow, store it and process it later.
If the connection fails or you return 5xx, 408 or 429, we retry twice more (after 1 and 4 seconds). Other 4xx responses are not retried.
If a final status (success, failed or cancelled) still isn't delivered, we re-send it at the daily check for up to 7 days.
We don't follow redirects and only send to public https URLs.
Order is not guaranteed: rely on registration.status and the event id, not on arrival order.
Your PMS doesn't accept webhooks?
Use a Make, Zapier or n8n webhook as the URL. From there you can update the booking through your PMS API, mark it in a spreadsheet or send yourself an email or Telegram alert.
- Make
- Zapier
- n8n
- Pipedream
FAQ
Does it cost extra?
No. Webhooks are included in the regular per-property price.
How is this different from the redirect URL?
The redirect URL only sends the guest to another page when they finish the form: it carries no booking data and doesn't know whether SES accepted the report. The webhook notifies your system, server to server, on every status change.
Why aren't guest names included?
To keep personal data inside Autoregistro. With externalRef your PMS already knows which booking the notification belongs to.
Can each property have its own webhook?
Yes. Each property has its own URL and its own secret.
Connect Autoregistro to your PMS
Online guest registration and automatic submission to SES.Hospedajes, with PMS notifications included.
Create account