Simple Integration
A streamlined alternative to full API integration, ideal for Booking Channels looking to get started quickly. This setup enables real-time restaurant reservations without building a custom backend.
Overview
The Simple Integration includes four components:
| Component | Description |
|---|---|
| Daily Merchant Feed | Active venue data delivered via SFTP |
| Embeddable Widget | A customisable booking interface per venue |
| Webhook Notifications | Real-time updates on bookings and cancellations |
Daily Merchant Feed
Mozrest provides access to a secure SFTP folder containing daily JSON feeds of all venues available for booking. The feed includes location, contact details, booking URL, attributes, and opening hours.
The feed is updated once per day and can be found in the feeds/ directory of the SFTP server.
Example structure
{
"total": 10,
"venues": [
{
"id": "6425511f2a84d37d1b93ad72",
"name": "Forty Five Casino",
"telephone": "+442075894041",
"geo": {
"latitude": 53.4610778,
"longitude": -2.228261,
"address": {
"locality": "London",
"country": "GB",
"street_address": "43, 45 Cromwell Rd, South Kensington",
"postal_code": "SW7 2EF"
}
},
"widgetUrl": "https://book.mozrest.com/?key=650a9e50&vid=6425511f2a84d37d1b93ad72",
"listing": {
"business_name": "Forty Five Casino",
"description": "No visit to Forty Five Kensington is complete without...",
"url_website": "https://www.fortyfivekensington.co.uk/",
"attributes": { "..." : "..." },
"media": [
{
"url": "https://media-listing.s3.eu-west-1.amazonaws.com/example.jpg",
"description": null
}
],
"opening_times": {
"monday": { "closed": true },
"tuesday": { "closed": false, "timeslots": [{ "start": "16:00", "end": "22:00" }] }
}
}
}
]
}
The full feed contains all attributes, media items, and opening hours for each day of the week. The example above is abbreviated for readability.
Embeddable Widget
Every venue in the feed includes a widgetUrl. Embed it directly on your platform to let diners complete reservations.
<iframe src="https://book.mozrest.com/?key=XXXXXXX&vid=6425511f2a84d37d1b93ad72" />
The widget can be styled and customised by Mozrest to match your brand guidelines.
Webhook Notifications
Mozrest sends webhook notifications for every new, updated, or cancelled reservation. Provide a secure endpoint during onboarding.
Supported authentication: Bearer Token, Basic Auth, or Custom Header.
Creation
{
"entity": "booking",
"entity_id": "60e5a3ed409541da3650bd90",
"action": "create",
"data": {
"partySize": 4,
"date": 1742061600,
"area": {
"id": "60e5a3ed409541da3650bd90",
"name": "Main Dining Room"
},
"contact": {
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@gmail.com",
"telephone": "44344223322",
"locale": "en",
"optInConsent": true
},
"notes": "A table by the window, please"
}
}
Update
{
"entity": "booking",
"entity_id": "60e5a3ed409541da3650bd90",
"action": "update",
"data": {
"partySize": 4,
"date": 1742061600,
"status": "confirmed"
}
}
Cancellation
{
"entity": "booking",
"entity_id": "60e5a3ed409541da3650bd90",
"action": "canceled"
}