Skip to content
Go to app
Signpost for Astro Get the theme →

Quickstart

Make your first API request and create a booking in under five minutes.

Beginner · 5 min read · Updated Oct 14, 2026

This guide creates a real booking through the Meetlane API. You need a Meetlane account and a terminal.

Go to Settings → Developers → API keys and select Create key. Choose Test mode. Test keys start with ml_test_ and never send emails or touch real calendars.

Store the key in an environment variable:

Terminal window
export MEETLANE_API_KEY="ml_test_51Hx9fQ2sK8vT3pL"

Pick the language you use. The SDKs wrap the REST API and handle retries for you.

Terminal window
npm install @meetlane/node

Every booking belongs to an event type. List the free slots for the default Intro call event type over the next week:

import Meetlane from "@meetlane/node"
const meetlane = new Meetlane(process.env.MEETLANE_API_KEY)
const { data: slots } = await meetlane.availability.slots({
event_type: "evt_intro_call",
start: "2026-11-02T00:00:00Z",
end: "2026-11-09T00:00:00Z",
})
console.log(slots[0].start) // "2026-11-02T09:00:00Z"

Pass the slot’s start time and the invitee’s details:

const booking = await meetlane.bookings.create({
event_type: "evt_intro_call",
start: slots[0].start,
invitee: { name: "Ada Lovelace", email: "ada@example.com" },
})
console.log(booking.id, booking.status) // "bkg_8Kd2LmQ4" "confirmed"