Appearance
Wayfinding API
Manage corridors, branches, and floor transitions for indoor navigation. All endpoints require authentication.
Pro & EnterpriseCreate, update, and delete operations require a Pro or Enterprise plan.
Compare plansGet All Wayfinding Data
http
GET /api/projects/{project_id}/wayfinding/
Authorization: Bearer <token>Response:
json
{
"defaultMode": "walk",
"modes": ["walk"],
"corridors": [
{
"id": "corridor-uuid",
"projectId": "project-uuid",
"levelId": "level-uuid",
"name": "Main hallway",
"points": [
{ "x": 100, "y": 200 },
{ "x": 300, "y": 200 },
{ "x": 300, "y": 400 }
],
"isClosed": false,
"closedToPointIndex": null,
"direction": "both",
"travel": "both",
"stepFree": true,
"steps": [],
"branches": [
{
"id": "branch-uuid",
"corridorId": "corridor-uuid",
"name": "",
"points": [{ "x": 200, "y": 200 }, { "x": 200, "y": 150 }],
"areaId": "area-uuid",
"markerId": null,
"transitionId": null
}
],
"createdAt": "2026-04-12T10:00:00Z",
"updatedAt": "2026-04-12T10:00:00Z"
}
],
"transitions": [
{
"id": "transition-uuid",
"projectId": "project-uuid",
"type": "elevator",
"name": "Elevator A",
"positions": [
{ "levelId": "level-1-uuid", "x": 150, "y": 300 },
{ "levelId": "level-2-uuid", "x": 150, "y": 300 }
],
"createdAt": "2026-04-12T10:00:00Z",
"updatedAt": "2026-04-12T10:00:00Z"
}
]
}Corridors
Corridors are walkable paths on a single level. The routing engine uses them to calculate routes.
Create Corridor
http
POST /api/projects/{project_id}/wayfinding/corridors/
Authorization: Bearer <token>
Content-Type: application/json
{
"levelId": "level-uuid",
"name": "Main hallway",
"points": [
{ "x": 100, "y": 200 },
{ "x": 300, "y": 200 },
{ "x": 300, "y": 400 }
],
"isClosed": false
}Update Corridor
http
PATCH /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/
Authorization: Bearer <token>
Content-Type: application/json
{
"points": [
{ "x": 100, "y": 200 },
{ "x": 350, "y": 200 }
]
}Delete Corridor
http
DELETE /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/
Authorization: Bearer <token>Corridor Fields
| Field | Type | Description |
|---|---|---|
levelId | UUID | Level this corridor belongs to |
name | string | Optional label |
points | {x, y}[] | Path vertices |
isClosed | boolean | Whether the path forms a loop |
closedToPointIndex | number | Loop closure point index |
direction | string | Direction of travel for routes: both (default), forward (only from the first point towards the last) or backward (only from the last point towards the first) |
travel | string | Who may use it in a route: both (pedestrians and vehicles, default), walk (pedestrians only) or drive (vehicles only) |
stepFree | boolean | false when the corridor has steps; step-free routes (wheelchair, stroller) avoid it. Default true |
steps | array | A few steps at spots on the corridor: [{ "x", "y" }] on its line. A step-free route doesn't pass the stretch each one sits on (between the nearest branches or points on either side); the map shows a steps sign there. Default [] |
One-way corridors
Set direction to forward or backward to make a corridor one-way. Routes then travel along it only in that direction, in the order of points. On a closed corridor the same order runs round the loop, including the closing segment from the last point back to closedToPointIndex, so a closed one-way corridor is a one-way circuit.
Branches, and the links from a branch to its area, marker or transition, are always two-way. A branch that joins a one-way corridor between two of its points is entered from the upstream point and left towards the downstream one.
direction is optional in every request. A corridor created without it is two-way. An update that leaves it out keeps the corridor's current direction.
A one-way direction binds vehicles. Pedestrians follow it only on a corridor with travel: "walk"; on a both corridor they walk it both ways.
Route modes
Routes are built on foot (walk), by car (drive) or step-free (stepfree, wheelchair or stroller):
| Mode | Corridors | Between floors |
|---|---|---|
walk | travel both or walk; one-way only on walk corridors | every transition |
stepfree | as walk, minus corridors with stepFree: false | elevator, ramp, exit |
drive | travel both or drive; one-way as drawn, then on foot as walk | ramp only |
A route by car takes the car whenever a road can: from a place off the roads it first walks pedestrians-only corridors to the nearest road, and where the destination is reached only by pedestrians-only corridors it leaves the roads at the point that serves it best and walks the rest. Its segments carry travel (drive or walk); the walk that ends where the car is taken has carAtEnd: true, the drive that ends where it is left parkAtEnd: true. A route that would not drive along any road is no route by car.
travel, stepFree and steps are optional like direction: a corridor created without them is open to everyone, step-free and has no steps; an update that leaves them out keeps them.
modes lists the modes visitors can choose in the route builder, in any order (walk, drive, stepfree; at least one; default ["walk"]). The default mode always counts as offered, and is added to modes on save if missing. With one mode the route builder shows no switch.
defaultMode (walk, drive or stepfree, default walk) is the mode the route builder opens in and the one a route link or buildRoute() without a mode uses. Set it with the project's wayfinding_data (PATCH /api/projects/{project_id}/ with {"wayfinding_data": {"isEnabled": true, "defaultMode": "drive", "modes": ["walk", "drive"], "corridors": [...], "transitions": [...]}} — the payload is the whole network); a payload without defaultMode or modes keeps them.
http
PATCH /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/
Authorization: Bearer <token>
Content-Type: application/json
{
"direction": "forward"
}Branches
Branches connect corridors to areas, markers, and transitions.
Create Branch
http
POST /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/branches/
Authorization: Bearer <token>
Content-Type: application/json
{
"points": [
{ "x": 200, "y": 200 },
{ "x": 200, "y": 150 }
],
"areaId": "area-uuid"
}Update Branch
http
PATCH /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/branches/{branch_id}/
Authorization: Bearer <token>
Content-Type: application/json
{
"markerId": "marker-uuid",
"areaId": null
}Delete Branch
http
DELETE /api/projects/{project_id}/wayfinding/corridors/{corridor_id}/branches/{branch_id}/
Authorization: Bearer <token>Branch Fields
| Field | Type | Description |
|---|---|---|
points | {x, y}[] | Path from corridor to target |
areaId | UUID? | Connected area (mutually exclusive) |
markerId | UUID? | Connected marker (mutually exclusive) |
transitionId | UUID? | Connected transition (mutually exclusive) |
Transitions
Transitions connect corridors across floors (elevators, stairs, escalators).
Create Transition
http
POST /api/projects/{project_id}/wayfinding/transitions/
Authorization: Bearer <token>
Content-Type: application/json
{
"type": "elevator",
"name": "Elevator A",
"iconStyle": "solid-dark",
"positions": [
{ "levelId": "level-1-uuid", "x": 150, "y": 300, "size": 48 },
{ "levelId": "level-2-uuid", "x": 150, "y": 300 }
]
}Update Transition
http
PATCH /api/projects/{project_id}/wayfinding/transitions/{transition_id}/
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Elevator B",
"positions": [
{ "levelId": "level-1-uuid", "x": 160, "y": 310 },
{ "levelId": "level-2-uuid", "x": 160, "y": 310 },
{ "levelId": "level-3-uuid", "x": 160, "y": 310 }
]
}Delete Transition
http
DELETE /api/projects/{project_id}/wayfinding/transitions/{transition_id}/
Authorization: Bearer <token>Transition Fields
| Field | Type | Description |
|---|---|---|
type | string | One of the transition types below |
name | string | Optional label |
iconStyle | string? | Per-transition tile style override (solid, light, card, bordered, solid-dark, circle-solid, circle-light). Omit or null to inherit the project default. |
positions | object[] | One entry per level the transition appears on |
Each position object:
| Field | Type | Description |
|---|---|---|
levelId | UUID | Level this position belongs to |
x | number | X coordinate (image units) |
y | number | Y coordinate (image units) |
size | number? | Optional on-map icon footprint in image units, stored per level (floor plans can differ in scale). Defaults to 24 when omitted; clamped to 1–500. |
Transition Types
| Type | Description |
|---|---|
elevator | Elevator between floors |
stairs | Staircase |
escalator | Escalator |
ramp | Accessible ramp |
exit | Building exit / entrance |