Skip to main content

Quickstart

Make your first API call in 5 minutes.

Prerequisites

  • Molzait account
  • API key (see Authentication)
  • HTTP client (curl, Postman, or code)

Step 1: List Experiences

Experiences are the types of dining options your restaurant offers (e.g., "Dinner", "Lunch", "Private Event").

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.molzait.com/external/availability/experiences

Step 2: Check Availability

Query available time slots for a specific date and party size:

curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.molzait.com/external/availability/slots?experienceId=ad5b78a02ca8-4768-bd80-487130c73856&day=2024-06-10&attendees=2"

Step 3: Create a Reservation

Create a reservation for an available time slot:

curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"attendees": 2,
"day": "2024-01-02",
"experienceId": "ad5b78a02ca8-4768-bd80-487130c73856",
"minutes": 600,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+436605512234",
"locale": "en"
}' \
https://api.molzait.com/external/reservations

Success! You've created your first reservation.

Next Steps