Appearance
Public API
The public API provides read-only access to published project data. It powers the embedded map widget and the SDKs.
Get Project Data
http
GET /api/p/{project_id}/No authentication required for projects without allowed domains. For restricted projects, pass an API key in the Authorization header — a read key is the one made for this, and these endpoints are the only ones it works on:
http
GET /api/p/{project_id}/
Authorization: Bearer sk_...INFO
The apiKey query parameter is only understood by the embed iframe URL (/embed/{id}?apiKey=...) and the SDK apiKey option — under the hood both forward it to the API as an Authorization header.
All public endpoints answer CORS preflight (OPTIONS) requests with the same per-project policy as the GET: open projects allow any origin, restricted projects echo an origin listed in their allowed domains. Authorization, Content-Type and If-None-Match are allowed request headers, so browsers can send the API key and revalidate with ETags cross-origin. Preflights are never rate-limited.
Response
json
{
"id": "550e8400-...",
"name": "My Mall",
"settings": {
"defaultLevelId": "level-uuid",
"scrollMode": "default",
"theme": "auto",
"defaultLanguage": "en",
"timezone": "Europe/Berlin",
"timeFormat": "24h",
"loaderVariant": "current"
},
"appearance": {
"isZoomControlsVisible": true,
"zoomControlsPosition": "bottom-right",
"zoomControlsIconStyle": "plusminus",
"isSearchBarVisible": true,
"searchBarPosition": "top-left",
"searchType": "button",
"isLanguageSwitcherVisible": true,
"isShareButtonVisible": true,
"shareMethods": "both",
"isLevelSwitcherVisible": true,
"levelSwitcherPosition": "top-right",
"canvasBackgroundColor": "#ffffff",
"canvasBorderRadius": "large",
"levelsSelectionVariant": "pills",
"routeColor": "#0066cc",
"routeWidth": 5,
"markerSizing": "map",
"firstView": "fit",
"firstViewAnchor": "center",
"firstViewPlace": null,
"markerClustering": false,
"cardPinActions": false,
"cardPinImage": true,
"hidePoweredBy": false,
"customCss": ""
},
"analytics": {
"isEnabled": true,
"enabledEvents": [1, 4, 11],
"eventDefinitions": [
{ "id": 1, "eventCategory": "area", "eventAction": "click", "labelKey": "analytics.event.areaClick", "order": 0 }
]
},
"search": {
"favorites": [],
"quickSearchItems": [
{ "id": "qs-1", "name": "Food & drink", "icon": "utensils", "translations": { "de": "Essen & Trinken" } }
]
},
"tags": [
{ "id": "tag-uuid", "name": "Food", "color": "#FF5733", "translations": { "ru": "Еда" } }
],
"languages": [
{ "id": "lang-uuid", "languageCode": "en", "languageName": "English" },
{ "id": "lang-uuid-2", "languageCode": "ru", "languageName": "Russian" }
],
"translations": {
"en": { "search.placeholder": "Search...", "...": "..." }
},
"levels": [
{
"id": "level-uuid",
"name": "Floor 1",
"key": "floor-1",
"order": 0,
"imageUrl": "https://...",
"imageThumbnails": ["https://...small", "https://...medium"],
"areas": [
{
"id": "area-uuid",
"key": "coffee-shop",
"data": [[100, 200], [300, 200], [300, 400], [100, 400]],
"color": "#FF5733",
"fillOpacity": 0.3,
"strokeWidth": 2,
"strokeColor": null,
"status": null,
"tags": [
{ "id": "tag-uuid", "name": "Food", "color": "#FF5733", "translations": { "ru": "Еда" } }
],
"images": [
{ "id": "img-uuid", "url": "https://...", "thumbnails": ["https://..."], "order": 0 }
],
"translations": {
"en": { "title": "Coffee Shop", "description": "Best coffee on the ground floor", "statusLabel": "", "features": [], "customButtonLabel": "Order online" },
"ru": { "title": "Кофейня", "description": "Лучший кофе на первом этаже", "statusLabel": null, "features": [], "customButtonLabel": "Заказать онлайн" }
}
}
],
"markers": [
{
"id": "marker-uuid",
"key": "main-entrance",
"position": { "x": 250, "y": 100 },
"type": "classic",
"color": "#00AA00",
"translations": {
"en": { "title": "Main Entrance", "description": null, "statusLabel": "", "features": [], "customButtonLabel": null }
}
}
]
}
],
"wayfinding": {
"isEnabled": true,
"corridors": [...],
"transitions": [...]
}
}Area and marker objects follow the same shape as the authenticated levels endpoint (trimmed above for brevity): display names live in translations (the default language entry is always present), tags are objects (name is the default-language name, translations holds the other languages), and status is { "type": "..." } or null.
Response Headers
Cache-Control: public, max-age=10, s-maxage=300
ETag: "…"
Access-Control-Allow-Origin: <origin>A browser keeps the response for 10 seconds and then revalidates it (If-None-Match → 304 when nothing changed); a shared cache may keep it for 5 minutes. After publishing or using Update Live, the cache is invalidated.
Rate Limit and Refusals
These endpoints are rate-limited to 300 requests per minute per IP — one opened map is one request. See Rate Limits.
| Status | Meaning |
|---|---|
401 | The API key does not exist or is disabled |
403 | The request comes from a domain that is not in the project's allowed domains and carries no API key of the project's organization — or it carries a write key in an embed ("code": "write_key_in_embed") |
404 | No published project with this id |
429 | Too many requests; Retry-After says how many seconds to wait |
Every one of these answers carries Access-Control-Allow-Origin: *, so a page on any origin can read the status and the JSON detail; a refusal says nothing about the map. The map data itself is only readable from the origins the project allows.
Submit Analytics Events
http
POST /api/p/{project_id}/analytics/
Content-Type: application/json
{
"events": [
{
"event": "areaClick",
"params": {
"id": "area-uuid",
"name": "Coffee Shop",
"floor": "floor-1"
},
"timestamp": "2026-04-12T14:30:00Z"
},
{
"event": "searchQuery",
"params": {
"query": "cafe"
},
"timestamp": "2026-04-12T14:30:05Z"
}
]
}A batch is answered 204 No Content with an empty body — also one that is not recorded (analytics off for the project, an event type that is switched off, the day's limit spent), so a sender cannot probe what was kept.
This endpoint is rate-limited to 300 requests per minute per IP (an IPv6 caller is counted by its /64 network). The embedded map batches events every 10 seconds.
Limits
- A batch holds at most 200 events (the rest is ignored) and 256 kB; a larger body is answered
413(see Request Size). - Only whitelisted parameters per event type are kept, text is cut to a length by kind and numbers must be ones a browser can send — the list is under Parameter Validation.
- Per project and day there is an event quota and a storage budget — see Daily Limits.
- Unknown event types are silently ignored, and so is an event of the wrong shape: the rest of its batch is recorded.
CORS
The public API respects the project's allowed domains configuration. A request from an origin that is not listed is answered 403 — an answer the page can read (see Rate Limit and Refusals); the map data is not sent.