Getting started
This guide shows the shortest practical path from scratch to a working Seatmap Pro booking view on your selling page.
If you prefer a video flow, use the walkthrough:
Seatmap Pro components
The end-to-end flow includes four components:
- Editor: create venues and schemas, manage pricing, and publish changes.
- Booking Renderer: interactive chart on your website/mobile selling page.
- Admin Renderer: operational tools for managers and support teams.
- Booking API: backend control for events, seat state, locks, and sales.
High-level runtime flow:
- Manager configures venue/schema in Editor.
- Your backend creates event and manages seat state through Booking API.
- Customer opens selling page where Booking Renderer loads by
publicKey+eventId. - Selection/checkout updates availability, and Renderer reflects latest state.
Step 1. Draw and publish your first schema
Start in Seatmap Editor.
Editor access can be:
- provided by Seatmap Pro (SaaS), or
- deployed in your infrastructure (on-prem via Docker/Kubernetes).
- Open the venue list after login and select an existing venue or create a new one.
- Open schema editing workspace and design the layout (sections, rows, seats, geometry).
- Publish the schema so it becomes available for the Renderer/API usage.
Reference: Editor user guide
Step 2. Copy integration credentials from Organization Settings
In Editor, open the menu under your own name and choose Organization Settings. The page shows two credentials:
- Public API key (used by Booking Renderer on client side)
- Secret API key (used as
X-API-Keyin backend API calls)
Editor shows the Secret API key only to an administrator of that organization. If you see the Public API key alone, ask an administrator of your organization to copy the secret one for you.
Reference: Managing access
Step 3. Create event in backend and keep eventId
An event links your published schema to a specific show/date.
Call Booking API from your backend:
curl -X POST "https://booking.seatmap.pro/api/private/v2.0/events/" \
-H "Content-Type: application/json" \
-H "X-API-Key: <ORGANIZATION_TOKEN>" \
-d '{
"id": null,
"createdDate": null,
"start": "2025-12-03T20:00:00Z",
"endDate": "2025-12-03T22:30:00Z",
"name": "My Concert - Dec 03 2025",
"schemaId": 3275
}'
Booking API v2 reads your organization from the Secret API key, so these calls need no X-Organization-ID header. Send that header only with a tenant token, where it names which organization inside your tenant the call applies to.
Then:
- store returned
eventIdin your event record - return this
eventIdto your selling page
This is the critical bridge between your ticketing domain and Renderer initialization.
You can also create an event using Editor UI by clicking the Events tab and creating a new event from there. For more information on managing events via UI read this section.
Step 4. Create and assign prices (backend)
Create prices for the event:
curl -X POST "https://booking.seatmap.pro/api/private/v2.0/event/<EVENT_ID>/prices/" \
-H "Content-Type: application/json" \
-H "X-API-Key: <ORGANIZATION_TOKEN>" \
-d '[
{
"id": null,
"name": "2000",
"eventId": "<EVENT_ID>",
"externalId": null
}
]'
Assign created price to seats:
curl -X POST "https://booking.seatmap.pro/api/private/v2.0/event/<EVENT_ID>/prices/assignments/" \
-H "Content-Type: application/json" \
-H "X-API-Key: <ORGANIZATION_TOKEN>" \
-d '{
"seats": [
{
"objectId": 5142395,
"assignmentId": 3618500,
"activeCount": null
}
]
}'
objectId is a seat object ID from schema metadata, and assignmentId is the created price assignment ID.
Seat and area IDs
Booking API v2 addresses each seat and each general admission area by its numeric ID, both in price assignments and in seat operations. A general admission area also takes a number of places: activeCount in a price assignment, and capacity in the lock, unlock and sale calls.
To read the seat IDs for an event, use its seat listing, GET /api/private/v2.0/events/<EVENT_ID>/seats/. It returns the event’s seats a page at a time, each with its row and section by both ID and label, together with the seat’s state and price.
The renderer reports a selected seat with its numeric id and a composite key such as Section B;;5;;14. Send the id to Booking API v2; if a seat comes without one, look it up by its section, row and seat labels in the seat listing. Composite keys address seats only in the legacy v1 API.
Price every seat you plan to sell
A seat or general admission area with no price cannot be locked or sold. Booking API v2 keeps the price assignment and the seat state in one record per seat and event, so a seat that was never priced has no record to change, and lock and sale return false for it.
The Renderer applies the same rule on the selling page. By default it draws a seat without a priceId as locked, so a customer cannot pick it.
You can assign prices with the calls above, or in Editor pricing mode.
Step 5. Initialize Booking Renderer via SDK
Install the package (choose one):
npm install @seatmap.pro/renderer
yarn add @seatmap.pro/renderer
pnpm add @seatmap.pro/renderer
SDK reference: Initializing SDK
Add a Renderer container to your selling page template:
<div id="seatmap-root" style="width: 100%; height: 600px;"></div>
Then initialize the Renderer in your app code, for instance:
import { SeatmapBookingRenderer } from '@seatmap.pro/renderer';
type SeatmapConfig = {
eventId: string;
publicKey: string;
};
async function initSeatmap(container: HTMLElement, cfg: SeatmapConfig) {
const renderer = new SeatmapBookingRenderer(container, {
publicKey: cfg.publicKey,
onSeatSelect: (seat) => {
console.log('select', seat);
// sync selection with your cart/back-end
},
onSeatDeselect: (seat) => {
console.log('deselect', seat);
// sync deselection with your cart/back-end
},
});
await renderer.loadEvent(cfg.eventId);
return renderer;
}
Required runtime values:
publicKey: from Organization Settings in Editor.eventId: created and stored by your backend for a specific show.
Step 6. Handle operations with seats
The Renderer exposes callbacks for seat and interaction events, including:
- seat selection
- seat deselection
- hover and blur interactions
For getting started, the main integration point is onSeatSelect.
After the callback is triggered, you typically choose one of these approaches:
- Keep selection only in a local cart and sync with backend later (for example, on checkout).
- Lock or unlock seats on each select/deselect event (lock-per-click flow).
For production ticketing, lock-per-click is usually the safer approach.
Lock-per-click flow:
- User selects a seat on the selling page.
- Renderer triggers callback and notifies your sales page code.
- Sales page sends a lock request to your ticketing backend.
- Backend performs internal state checks and validates that lock is allowed.
- Backend calls Booking API to lock the seat.
Booking API calls that change seat state
Three calls move seats between states. Each one takes the event in the query string, the Secret API key in X-API-Key, and a selection in the body:
curl -X POST "https://booking.seatmap.pro/api/private/v2.0/booking/lock?eventId=<EVENT_ID>" \
-H "Content-Type: application/json" \
-H "X-API-Key: <ORGANIZATION_TOKEN>" \
-d '{
"sessionId": "cart-7f3a91",
"seats": [
{ "id": 5142395 }
],
"groupOfSeats": [
{ "id": 5142400, "capacity": 2 }
]
}'
sessionId is required. It identifies the cart that holds the seats, and every later call about the same cart sends the same value. seats[].id is the numeric seat ID from the event seat listing. For a general admission area, capacity says how many places to take.
Replace lock in the path with sale to complete the purchase, or with unlock to release the seats. Each call expects the seat to start in a particular state:
locktakes a seat that is available.salesells a seat your backend has already locked.unlockreturns a locked seat to available.
Check the response body. An HTTP 200 from these endpoints does not mean the booking succeeded. They answer with a bare true or false, and a false body means the state did not change. The seat may carry no price, or another cart may have taken it first. Your backend has to treat false as a failed booking.
Reference: Seat states and hold types
Step 7. Test integration
You are ready for production integration when:
- schema is published and visible in Editor
- public API key and Secret API key are copied from organization settings
- backend can provide valid
eventIdfor a show - backend can create prices and assign them to seat objects
- selling page renders the chart and seat interactions work
- checkout flow updates seat state correctly
If you want a ready HTML/CSS/JS example, see:
Example of the final Renderer placement on a selling page:
Further reading
- Visual Workshop: How to Build Beautiful Maps – a walkthrough of designing a realistic arena layout in the Editor
- Step-by-step guide to starting your venue chart – from signup to a live seating plan
- Why API integration is crucial for ticketing platforms – how the Booking API fits into a production ticketing workflow