Developers
Read your events and seating canvases from your own systems, and embed a read-only seating map on your website. API access and embeds are included in the Pro plan.
All requests use HTTPS and return JSON. The base URL is:
https://seatmap.space/api/v1Create keys in your dashboard under API Key. Keys are for servers only: CORS is intentionally not enabled on /api/v1, so never put a key in browser code. If you need to show data on a web page, use the embed below.
Send your key as a bearer token. A key is shown once when you create it; we store only a hash, so lost keys must be revoked and replaced.
Authorization: Bearer sk_live_...Each key has scopes, and may optionally be restricted to a single event.
events:read: List events and read event detailscanvas:read: Read the read-only seating canvas of an eventembed:manage: Configure and rotate the public embed of an eventErrors share one shape:
{ "error": { "code": "NOT_FOUND", "message": "Event not found." } }| Status | Code | Meaning |
|---|---|---|
| 400 | VALIDATION | The request body or parameters are invalid. |
| 401 | UNAUTHORIZED | The API key is missing, invalid, revoked or expired. |
| 403 | FORBIDDEN | The key lacks the required scope. |
| 403 | UPGRADE_REQUIRED | The key owner is not on a plan that includes this feature. |
| 404 | NOT_FOUND | The resource does not exist or is not available to this key. |
| 429 | RATE_LIMITED | Too many requests. Wait for Retry-After seconds. |
| 503 | UNAVAILABLE | Temporarily unavailable. Retry shortly. |
Each key allows 60 requests per minute, and your plan has a daily request cap. When you exceed a limit you receive 429 with a Retry-After header in seconds.
GET/api/v1/eventsscope: events:read
Returns your events, newest first. Deleted events are never returned. A key restricted to one event returns only that event.
| Name | In | Type | Description |
|---|---|---|---|
page | query | integer | Page number, starting at 1. Default 1. |
limit | query | integer | Items per page, 1 to 100. Default 25. |
Example request
curl https://seatmap.space/api/v1/events \
-H "Authorization: Bearer $SEATMAP_API_KEY"Example response
{
"data": [
{
"id": "clx1abc2d0000",
"title": "Annual Gala",
"status": "LIVE",
"is_continuous": false,
"start_date": "2027-03-14T10:00:00.000Z",
"end_date": "2027-03-14T22:00:00.000Z",
"slug": "annual-gala",
"created_at": "2026-11-01T08:30:00.000Z"
}
],
"pagination": { "page": 1, "limit": 25, "total": 1, "has_more": false }
}GET/api/v1/events/{eventId}scope: events:read
Returns one event. Events you do not own, deleted events and events outside the key restriction all return 404.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
Example request
curl https://seatmap.space/api/v1/events/EVENT_ID \
-H "Authorization: Bearer $SEATMAP_API_KEY"Example response
{ "data": {
"id": "clx1abc2d0000",
"title": "Annual Gala",
"status": "LIVE",
"is_continuous": false,
"start_date": "2027-03-14T10:00:00.000Z",
"end_date": "2027-03-14T22:00:00.000Z",
"slug": "annual-gala",
"created_at": "2026-11-01T08:30:00.000Z"
} }GET/api/v1/events/{eventId}/canvasscope: canvas:read
Returns the seating canvas: page sizes, page names and the whitelisted objects of every page. No guest or booking data is included.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
Example request
curl https://seatmap.space/api/v1/events/EVENT_ID/canvas \
-H "Authorization: Bearer $SEATMAP_API_KEY"Example response
{
"data": {
"width": 1200,
"height": 800,
"activeLayoutId": "default",
"layoutNames": { "default": "Floor 1" },
"objects": {
"default": [
{ "id": "chair-1", "type": "seat-single", "x": 120, "y": 80, "width": 32, "height": 32, "rotation": 0, "label": "A1", "category": "Seats", "seatShape": "circle" }
]
}
}
}GET/api/v1/events/{eventId}/embedscope: embed:manage
Returns the embed settings and ready-made snippets, or null when the embed has never been configured.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
Example request
curl https://seatmap.space/api/v1/events/EVENT_ID/embed \
-H "Authorization: Bearer $SEATMAP_API_KEY"Example response
{ "data": {
"enabled": true,
"allowed_origins": ["https://example.com", "https://*.example.org"],
"require_signed_url": false,
"show_seat_status": true,
"show_guest_names": false,
"default_theme": "light",
"public_token": "Zk3v...",
"snippets": {
"url": "https://seatmap.example/embed/Zk3v...",
"iframe": "<iframe src=\"https://seatmap.example/embed/Zk3v...\" ...></iframe>",
"script": "<div data-seatmap-embed=\"Zk3v...\"></div>\n<script async src=\"https://seatmap.example/embed.js\"></script>"
}
} }PUT/api/v1/events/{eventId}/embedscope: embed:manage
Creates the embed with a new public token on first use, then updates the fields you send. Requires the Pro plan. allowed_origins entries are scheme://host[:port] with no path; https://*.example.com wildcards and http://localhost:PORT are allowed; at most 10.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
enabled | body | boolean | Turn the embed on or off. |
allowed_origins | body | string[] | Sites allowed to frame the embed. Empty allows any site. |
require_signed_url | body | boolean | Require a short-lived signed URL. |
show_seat_status | body | boolean | Show taken or free seats. |
show_guest_names | body | boolean | Show guest names on taken seats. Off by default. |
default_theme | body | "light" | "dark" | Default theme. |
Example request
curl -X PUT https://seatmap.space/api/v1/events/EVENT_ID/embed \
-H "Authorization: Bearer $SEATMAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled": true, "allowed_origins": ["https://example.com"]}'Example response
{ "data": {
"enabled": true,
"allowed_origins": ["https://example.com", "https://*.example.org"],
"require_signed_url": false,
"show_seat_status": true,
"show_guest_names": false,
"default_theme": "light",
"public_token": "Zk3v...",
"snippets": {
"url": "https://seatmap.example/embed/Zk3v...",
"iframe": "<iframe src=\"https://seatmap.example/embed/Zk3v...\" ...></iframe>",
"script": "<div data-seatmap-embed=\"Zk3v...\"></div>\n<script async src=\"https://seatmap.example/embed.js\"></script>"
}
} }POST/api/v1/events/{eventId}/embed/rotatescope: embed:manage
Issues a new public token. The previous token stops working immediately, so update the snippet on your site.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
Example request
curl -X POST https://seatmap.space/api/v1/events/EVENT_ID/embed/rotate \
-H "Authorization: Bearer $SEATMAP_API_KEY"Example response
{ "data": {
"enabled": true,
"allowed_origins": ["https://example.com", "https://*.example.org"],
"require_signed_url": false,
"show_seat_status": true,
"show_guest_names": false,
"default_theme": "light",
"public_token": "Zk3v...",
"snippets": {
"url": "https://seatmap.example/embed/Zk3v...",
"iframe": "<iframe src=\"https://seatmap.example/embed/Zk3v...\" ...></iframe>",
"script": "<div data-seatmap-embed=\"Zk3v...\"></div>\n<script async src=\"https://seatmap.example/embed.js\"></script>"
}
} }POST/api/v1/events/{eventId}/embed-urlscope: embed:manage
Returns a short-lived signed URL for embeds that require signed URLs. Create it on your server for each page view.
| Name | In | Type | Description |
|---|---|---|---|
eventId * | path | string | The event id. |
ttl_seconds | body | integer | Lifetime in seconds, 30 to 3600. Default 900. |
Example request
curl -X POST https://seatmap.space/api/v1/events/EVENT_ID/embed-url \
-H "Authorization: Bearer $SEATMAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ttl_seconds": 900}'Example response
{
"data": {
"url": "https://seatmap.example/embed/Zk3v...?exp=1793000000&sig=...",
"expires_at": "2026-11-04T02:00:00.000Z"
}
}Turn on the embed for an event in its settings (or with the API), then paste the snippet on your site. Visitors see a read-only seating map: they can pan, zoom and hover seats, but cannot edit, book or export anything.
<div data-seatmap-embed="YOUR_PUBLIC_TOKEN" data-height="600"></div>
<script async src="https://seatmap.space/embed.js"></script>Or use a plain iframe:
<iframe src="https://seatmap.space/embed/YOUR_PUBLIC_TOKEN" title="Event seating map" width="100%" height="600" style="border:0" loading="lazy"></iframe>Optional query parameters (or data-* attributes on the div): page (floor id), seat (highlight a seat), theme (light or dark), controls (0 hides the zoom bar).
For embeds that should not be shareable, turn on Require signed URLs and generate a short-lived URL from your server for each page view with POST /api/v1/events/{eventId}/embed-url. Use the returned URL as the iframe src. URLs last 15 minutes by default and at most one hour.