# Mountaya developer platform > Mountaya is a developer platform for the outdoors: routing tuned to hiking, running, cycling, and skiing, geospatial analysis of real terrain, and map tiles for basemaps and environmental overlays. Map Publishing, the Map Studio API, the Data API, and the Tile API share one authentication model, and an MCP server brings the Data API to assistants and agents. Every documentation page is also served as Markdown at its own path with a .md extension, which is what every link below points at. https://docs.mountaya.com/llms-full.txt holds every guide in one file and no reference page. Each product slice below holds one product's guides and reference; the Map Studio API's comes in two, its guides and its reference. https://docs.mountaya.com/llms/operations.txt lists every operation of the Map Studio API and the Tile API on one line: its method and path, the key it takes, whom it acts as, and the page that documents it. The agent skills are indexed at https://docs.mountaya.com/.well-known/skills/index.json. The OpenAPI documents of the newest contract are also served at https://docs.mountaya.com/schemas/latest/openapi/. ## Which product for which task | Task | Product | Host | Key scope | Credential | Access | Slice | Contract | Skills | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Mint a session token on your server | Map Studio API, `POST /v1/sessions` | `https://api.mountaya.com` | None: the secret key mints | The secret key (`sk_…`) in `X-API-Key`, naming the publishable key in the body | Every organization | [getting-started](https://docs.mountaya.com/llms/getting-started.txt) | [Map Studio API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/api.yaml) | [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md) | | Embed a published itinerary or collection on a website | Map Publishing | `https://app.mountaya.com/studio/embed` | `publishing` | `pk_…` as `publishable_key`; a session token as `session_token` where the organization requires one | Agreement: talk to us | [map-publishing](https://docs.mountaya.com/llms/map-publishing.txt) | None | [mountaya-map-publishing](https://docs.mountaya.com/.well-known/skills/mountaya-map-publishing/SKILL.md) | | Read and write itineraries, collections and zones | Map Studio API | `https://api.mountaya.com` | `studio-embedded` to write, `publishing` to read what is published | `pk_…` and a session token; one naming a member for a write | Agreement: talk to us | [map-studio-api](https://docs.mountaya.com/llms/map-studio-api.txt) | [Map Studio API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/api.yaml) | [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md), [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) | | Administer the organization: keys, members, settings, usage, billing | Map Studio API, its `management` operations | `https://api.mountaya.com` | `management`, alone on its key | `pk_…` and a session token | Every organization | [map-studio-api-reference](https://docs.mountaya.com/llms/map-studio-api-reference.txt) | [Map Studio API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/api.yaml) | [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md) | | Route, geocode, search places, analyze a line, read terrain | Data API | `https://data.mountaya.com/graphql` | `data` | `pk_…` and a session token, on every request | Self-serve: add a card | [data-api](https://docs.mountaya.com/llms/data-api.txt) | [Data API GraphQL schema (SDL)](https://docs.mountaya.com/descriptions/graphql/data/schema.graphql) | [mountaya-data-api](https://docs.mountaya.com/.well-known/skills/mountaya-data-api/SKILL.md), [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md) | | Draw base maps, overlays and your own content in a map you run | Tile API | `https://tiles.mountaya.com` | `tiles` | `pk_…`; a session token naming a member to draw drafts | Agreement: talk to us | [tile-api](https://docs.mountaya.com/llms/tile-api.txt) | [Tile API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/tiles.yaml) | [mountaya-tile-api](https://docs.mountaya.com/.well-known/skills/mountaya-tile-api/SKILL.md) | | Be told when an itinerary, a zone, a collection or the organization changes | Webhooks | Your HTTPS endpoint, managed at `https://api.mountaya.com` | `management` | `pk_…` and a session token to manage endpoints; the endpoint's `whsk_…` secret verifies each delivery | Every organization | [webhooks](https://docs.mountaya.com/llms/webhooks.txt) | [Map Studio API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/api.yaml) | [mountaya-webhooks](https://docs.mountaya.com/.well-known/skills/mountaya-webhooks/SKILL.md) | | Call the APIs from TypeScript, or draw a map and an elevation profile in React | TypeScript SDK | The APIs' own | As the API it calls | As the API it calls | As the API it calls | [sdk-typescript](https://docs.mountaya.com/llms/sdk-typescript.txt) | None | [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) | | Put the itinerary editor in your product | Embedded Studio, in the TypeScript SDK | The APIs' own | `studio-embedded` | `pk_…` and a session token minted for `studio-embedded` | Agreement: talk to us | [sdk-typescript](https://docs.mountaya.com/llms/sdk-typescript.txt) | None | [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) | | Build an iOS, macOS or visionOS app, or a Swift server | Swift SDK | The APIs' own | As the API it calls | As the API it calls | As the API it calls | [sdk-swift](https://docs.mountaya.com/llms/sdk-swift.txt) | None | [mountaya-sdk-swift](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-swift/SKILL.md) | | Build an Android app, a JVM server, or share code with Kotlin Multiplatform | Kotlin SDK | The APIs' own | As the API it calls | As the API it calls | As the API it calls | [sdk-kotlin](https://docs.mountaya.com/llms/sdk-kotlin.txt) | None | [mountaya-sdk-kotlin](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-kotlin/SKILL.md) | | Build a Flutter app or a Dart server | Dart and Flutter SDK | The APIs' own | As the API it calls | As the API it calls | As the API it calls | [sdk-dart](https://docs.mountaya.com/llms/sdk-dart.txt) | None | [mountaya-sdk-dart](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-dart/SKILL.md) | | Connect an assistant or an agent to the organization's data | MCP server | `https://mcp.mountaya.com/` | `mcp` | OAuth, or `pk_…` in `X-API-Key` and `sk_…` in `X-Secret-Key` | Self-serve, with the Data API | [ai-tools](https://docs.mountaya.com/llms/ai-tools.txt) | None | [mountaya-mcp](https://docs.mountaya.com/.well-known/skills/mountaya-mcp/SKILL.md) | ## Rules for agents - **Send coordinates as `[longitude, latitude]`**, in WGS 84, longitude first. Chamonix is `[6.8712, 45.9231]`. The one exception is the embed's camera, `#view=zoom/lat/lng` in the iframe URL's hash, which puts latitude first as map URLs do: Chamonix at zoom 12 is `#view=12/45.9231/6.8712`. See [iframe parameters](https://docs.mountaya.com/en/map-publishing/parameters.md). - **Read distances and elevations in meters, durations in seconds, and slopes in degrees.** Speed is the exception, in km/h. - **Call the right host.** Data API: `https://data.mountaya.com/graphql`. Map Studio API: `https://api.mountaya.com`. Tile API: `https://tiles.mountaya.com`. Map Publishing iframe: `https://app.mountaya.com/studio/embed`. MCP server: `https://mcp.mountaya.com/`. - **Send the publishable key (`pk_…`) in `X-API-Key`**, and a session token (`sess_…`) in `X-Session-Token` wherever one is required. See [authentication](https://docs.mountaya.com/en/authentication.md). - **Always send a session token to the Data API.** Every Data API request needs one, whatever the organization's settings. - **Mint session tokens on a server.** Call `POST https://api.mountaya.com/v1/sessions` with the secret key in `X-API-Key`. A token lasts at most 5 minutes and has no refresh operation: schedule the next mint from its `expires_at`. - **Never put a secret key (`sk_…`) in a browser, a mobile app, a URL, a log or a commit.** Its job is minting session tokens on your server. The one other place it goes is an MCP client you configure yourself: that client sends it to `https://mcp.mountaya.com/` in `X-Secret-Key`, beside the publishable key in `X-API-Key`, read from an environment variable and never written into a committed file. See [the MCP server](https://docs.mountaya.com/en/tools/mcp.md#connect-a-client-with-a-key-pair). - **Inspect `errors[]` on every Data API response.** GraphQL errors arrive under HTTP `200`, so the status alone does not say a query succeeded. - **Write enum values in SCREAMING_SNAKE_CASE on the Data API** (`HIKING_AND_TRAIL`), **and as kebab-case slugs on the Map Studio API, the Tile API and the embed** (`hiking-and-trail`). - **Test with a separate organization.** There is no sandbox host: a test organization, with its own keys, on the same hosts is how you test. - **Write only when the user asks.** Read, compute and render freely; create, update, publish or delete a resource only when the user explicitly asks for that write. - **Quote `X-Request-Id` when you report a problem,** and wait the `Retry-After` of a `429` before you retry. Bound that wait: a spent monthly allowance names days, and a `429` coded `LIMIT_REACHED` names none, since no wait lifts a full ceiling. Stop and tell the user instead. See [errors](https://docs.mountaya.com/en/apis/conventions/errors.md) and [rate limits](https://docs.mountaya.com/en/apis/conventions/rate-limits.md). - **Use the SDK of your language** rather than hand-written HTTP or GraphQL: `@mountaya/client` in TypeScript, `MountayaClient` in Swift, `com.mountaya:mountaya-client` in Kotlin, `mountaya_client` in Dart. Method names are the API's operation ids in every SDK. Each SDK's API by capability lists its names: [TypeScript](https://docs.mountaya.com/en/sdks/typescript/reference/api.md), [Swift](https://docs.mountaya.com/en/sdks/swift/reference/api.md), [Kotlin](https://docs.mountaya.com/en/sdks/kotlin/reference/api.md), [Dart](https://docs.mountaya.com/en/sdks/dart/reference/api.md). - **Install the agent skills** with `npx skills add https://docs.mountaya.com` (see [agent skills](https://docs.mountaya.com/en/tools/skills.md)), and connect an MCP client to `https://mcp.mountaya.com/` (see [the MCP server](https://docs.mountaya.com/en/tools/mcp.md)). - **Read any page as Markdown** at its own path with a `.md` extension, such as `https://docs.mountaya.com/en/quickstart.md`. ## Product slices - [Get started](https://docs.mountaya.com/llms/getting-started.txt): Keys, session tokens, core concepts, and the API conventions every product shares: errors, rate limits, idempotency, pagination and headers. Skills: [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md) - [Map Publishing](https://docs.mountaya.com/llms/map-publishing.txt): The hosted iframe that puts a published itinerary or collection on any website, its parameters and its events. Skills: [mountaya-map-publishing](https://docs.mountaya.com/.well-known/skills/mountaya-map-publishing/SKILL.md) - [Map Studio API](https://docs.mountaya.com/llms/map-studio-api.txt): The REST API that reads and writes an organization's itineraries, collections and zones, and mints session tokens: its guides and its reference's overview. Skills: [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md), [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) - [Map Studio API reference](https://docs.mountaya.com/llms/map-studio-api-reference.txt): Every Map Studio API operation, object and field, with its samples, as the contract states them. Skills: [mountaya-auth](https://docs.mountaya.com/.well-known/skills/mountaya-auth/SKILL.md), [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) - [Data API](https://docs.mountaya.com/llms/data-api.txt): The read-only GraphQL API for routing, places, itineraries, geometry analysis and terrain. Skills: [mountaya-data-api](https://docs.mountaya.com/.well-known/skills/mountaya-data-api/SKILL.md) - [Tile API](https://docs.mountaya.com/llms/tile-api.txt): Base maps, overlays and an organization's content as vector and raster tiles for a map you already run. Skills: [mountaya-tile-api](https://docs.mountaya.com/.well-known/skills/mountaya-tile-api/SKILL.md) - [Webhooks](https://docs.mountaya.com/llms/webhooks.txt): Webhook events: endpoints, signatures, delivery and recovery, and every event type with its payload and what triggers it. Skills: [mountaya-webhooks](https://docs.mountaya.com/.well-known/skills/mountaya-webhooks/SKILL.md) - [TypeScript SDK](https://docs.mountaya.com/llms/sdk-typescript.txt): The TypeScript and React packages: the typed client, the map and itinerary elements, and Embedded Studio. Skills: [mountaya-sdk-typescript](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-typescript/SKILL.md) - [Swift SDK](https://docs.mountaya.com/llms/sdk-swift.txt): The Swift packages for Apple platforms and Linux: the typed client and its admin unit, geo and turn-by-turn navigation without a map, and the SwiftUI map and itinerary views. Skills: [mountaya-sdk-swift](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-swift/SKILL.md) - [Kotlin SDK](https://docs.mountaya.com/llms/sdk-kotlin.txt): The Kotlin Multiplatform packages for Android and the JVM: the typed client and its admin unit, geo and turn-by-turn navigation without a map, and the Compose map and itinerary views. Skills: [mountaya-sdk-kotlin](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-kotlin/SKILL.md) - [Dart and Flutter SDK](https://docs.mountaya.com/llms/sdk-dart.txt): The Dart and Flutter packages: the typed client and its admin unit, geo and turn-by-turn navigation without a map, and the Flutter map and itinerary widgets. Skills: [mountaya-sdk-dart](https://docs.mountaya.com/.well-known/skills/mountaya-sdk-dart/SKILL.md) - [AI & agents](https://docs.mountaya.com/llms/ai-tools.txt): The MCP server and the agent skills that bring Mountaya to assistants and agents. Skills: [mountaya-mcp](https://docs.mountaya.com/.well-known/skills/mountaya-mcp/SKILL.md) ## Get started - [Overview](https://docs.mountaya.com/en/index.md): Outdoor routing, terrain data, and interactive maps for your own product, behind one set of API keys. - [Quickstart](https://docs.mountaya.com/en/quickstart.md): Route a hike with the Data API in five minutes: mint a session token on your server, then query directions. - [Create an account and keys](https://docs.mountaya.com/en/account.md): Sign up, create an organization, and create the publishable and secret keys your code calls Mountaya with. - [Authentication](https://docs.mountaya.com/en/authentication.md): Mint session tokens on your server, use them in the browser, act as a member, and share maps with a link. - [Core concepts](https://docs.mountaya.com/en/concepts.md): The model every Mountaya API shares: coordinates, units, activities, languages, hosts, and draft versus published content. - [Glossary](https://docs.mountaya.com/en/glossary.md): Short definitions of the terms the Mountaya docs use, each with a link to the page that covers it. - [Go to production](https://docs.mountaya.com/en/production.md): The checklist to run before launch: keys and scopes, session tokens, allowed domains, retries, webhooks, upgrades, and monitoring. ## Map Publishing - [Overview](https://docs.mountaya.com/en/map-publishing.md): Show published itineraries, zones and collections outside your organization: the hosted embed on your own site, share links, route files, and video. - [Iframe parameters](https://docs.mountaya.com/en/map-publishing/parameters.md): Configure the hosted embed iframe: credentials, content, display, preferences, controls. - [Quickstart](https://docs.mountaya.com/en/map-publishing/quickstart.md): Put a published Mountaya map on your page with a publishable key and one iframe. - [Session tokens](https://docs.mountaya.com/en/map-publishing/session-tokens.md): Run the hosted embed when your organization requires session tokens: mint one on your server, hand it to the embed, and renew it before it expires. - [Iframe events](https://docs.mountaya.com/en/map-publishing/events.md): Drive the hosted embed with postMessage: switch its content, read its ready event, and hand it session tokens. - [Examples](https://docs.mountaya.com/en/map-publishing/examples.md): Drive the hosted embed from your page: an itinerary switcher in React and plain JavaScript, a readout of the ready event, and session-token renewal. ## APIs (Shared conventions): Get started - [Overview](https://docs.mountaya.com/en/apis/conventions.md): The rules every Mountaya API shares: the error envelope, request IDs, rate limits, idempotency, pagination, conditional writes and versioning. - [Errors](https://docs.mountaya.com/en/apis/conventions/errors.md): Read the error envelope every Mountaya API returns, branch on its code, and know which failures to retry. - [Rate limits and usage](https://docs.mountaya.com/en/apis/conventions/rate-limits.md): The per-minute limits and monthly allowances of each Mountaya API, what counts toward them, and how to handle a 429. ## APIs (Shared conventions): Guides - [Idempotency](https://docs.mountaya.com/en/apis/conventions/idempotency.md): Send an Idempotency-Key with every Map Studio API write, so a retry after a lost answer never makes the write twice. - [Pagination](https://docs.mountaya.com/en/apis/conventions/pagination.md): Page through a Map Studio API listing with limit and cursor, and follow next_cursor until it is null. - [Conditional writes](https://docs.mountaya.com/en/apis/conventions/conditional-writes.md): Send a resource's ETag back as If-Match, so a write lands only if nobody changed the resource since you read it. - [Request IDs and headers](https://docs.mountaya.com/en/apis/conventions/headers.md): The headers every Mountaya API request sends and every answer carries, how long answers are cached, and how long a request may run. - [Versioning and deprecation](https://docs.mountaya.com/en/apis/conventions/versioning.md): How the Mountaya API contract is versioned, what may change before 1.0, and how a retirement is announced from 1.0 on. ## APIs (Map Studio API): Get started - [Overview](https://docs.mountaya.com/en/apis/map-studio.md): The JSON API that writes your itineraries, segments, waypoints, segment groups, zones and collections. - [Quickstart](https://docs.mountaya.com/en/apis/map-studio/quickstart.md): Mint a member's session token, then create an itinerary, route a segment on it, and publish it. - [Run Mountaya from your backend](https://docs.mountaya.com/en/apis/map-studio/server-integration.md): Keep your three keys on your server, renew session tokens before they expire, and write as a member of your organization. ## APIs (Map Studio API): Guides - [Edit an itinerary's route](https://docs.mountaya.com/en/apis/map-studio/edit-route.md): Insert, split, merge and convert an itinerary's segments, group them, and mark places along the route with waypoints. - [Draw and update zones](https://docs.mountaya.com/en/apis/map-studio/zones.md): Draw a zone by hand or compute it from a starting point, set its level and validity window, and list the zones in force. - [Publishing](https://docs.mountaya.com/en/apis/map-studio/publishing.md): Publish an itinerary's draft, edit it after a publish, take it down, and handle the refusals a publish can meet. - [Collections and share links](https://docs.mountaya.com/en/apis/map-studio/sharing.md): Group itineraries and zones into a collection, then share it, or one itinerary, with a link that opens a read-only map. - [Import and export](https://docs.mountaya.com/en/apis/map-studio/import-export.md): Export an itinerary as GPX, KML, FIT, TCX and more, import route files as new itineraries, and hand a browser a signed download link. - [Event streams and sync](https://docs.mountaya.com/en/apis/map-studio/sync.md): Keep a copy of your itineraries, zones and collections up to date: list what changed since your last sync, then follow the organization's event stream. - [Import a GPX catalog](https://docs.mountaya.com/en/apis/map-studio/gpx-import.md): Turn a folder of GPX files into published itineraries with the Map Studio API, with a script you can run again safely. - [Manage members, invitations and keys](https://docs.mountaya.com/en/apis/map-studio/members-and-keys.md): Invite people to your organization, find their user ids, change their roles, remove them, and create and revoke publishable keys. ## APIs (Data API): Get started - [Overview](https://docs.mountaya.com/en/apis/data.md): Routing, places, and terrain for outdoor activities, answered as data from one read-only GraphQL endpoint. - [GraphQL conventions](https://docs.mountaya.com/en/apis/data/graphql.md): How the Data API uses GraphQL: one input per query, enum spelling, field selection, batching, errors under 200 OK, persisted queries, and the explorer. ## APIs (Data API): Guides - [Routing](https://docs.mountaya.com/en/apis/data/routing.md): Route between waypoints, suggest routes to a target distance, map the ground in reach, and compare travel times. - [Places](https://docs.mountaya.com/en/apis/data/places.md): Geocode text, reverse-geocode a point, list points of interest, and search places and your own content. - [Itineraries](https://docs.mountaya.com/en/apis/data/itineraries.md): Read a saved itinerary in full, and prepare it as a route file to download. - [Analysis](https://docs.mountaya.com/en/apis/data/analysis.md): Classify the way type, paving and slope of a line you already have, and time it over that terrain. - [Terrain](https://docs.mountaya.com/en/apis/data/terrain.md): Read elevation, slope, and aspect at points, along a line, or across an area. ## APIs (Tile API): Get started - [Overview](https://docs.mountaya.com/en/apis/tiles.md): Draw Mountaya base maps, environmental overlays, and your own itineraries as tiles in a map you already run. - [Quickstart](https://docs.mountaya.com/en/apis/tiles/quickstart.md): Fetch an overlay specification with your key, then draw its sources and layers on a MapLibre map. ## APIs (Tile API): Guides - [Base maps](https://docs.mountaya.com/en/apis/tiles/base-maps.md): Draw a Mountaya base map in MapLibre: pick a terrain from the catalog, hand its style to the map, and add 3D elevation. - [Overlays](https://docs.mountaya.com/en/apis/tiles/overlays.md): The overlay catalog, the overlays your key may draw, the specification and tile endpoints, and the forecast time parameter. - [Your content as tiles](https://docs.mountaya.com/en/apis/tiles/your-content.md): Draw your own itineraries, collections, and zones as vector tiles, published or as drafts, and open them with share links. - [Integration](https://docs.mountaya.com/en/apis/tiles/integration.md): Add Mountaya overlays to MapLibre GL JS, Mapbox GL JS, the MapTiler SDK, or deck.gl. - [Add Mountaya to your MapLibre map](https://docs.mountaya.com/en/apis/tiles/maplibre-overlays.md): Give an existing MapLibre GL JS map Mountaya's base map, 3D relief and overlays with the Tile API, and let readers switch an overlay on and off. ## SDKs (TypeScript + React): Get started - [Overview](https://docs.mountaya.com/en/sdks/typescript.md): Typed TypeScript packages to fetch Mountaya data, show it on a map, and embed the studio. - [Install and set up](https://docs.mountaya.com/en/sdks/typescript/install.md): Install the packages, import the stylesheet, and mount the provider every React element reads. - [Install and set up props](https://docs.mountaya.com/en/sdks/typescript/install/props.md): Every prop the elements documented on Install and set up accept, with their types, their defaults and the handlers that take over their behaviour. - [Next.js quickstart](https://docs.mountaya.com/en/sdks/typescript/quickstart-nextjs.md): Render an itinerary page with the Next.js App Router: read it on the server, draw it on a map in the browser. - [Vite and React quickstart](https://docs.mountaya.com/en/sdks/typescript/quickstart-vite.md): Draw a Mountaya map with its controls and one of your itineraries in a Vite and React app. - [Node quickstart](https://docs.mountaya.com/en/sdks/typescript/quickstart-node.md): Mint a session token, list your itineraries, and route a hike from a Node script. - [Vue, Svelte and JavaScript quickstart](https://docs.mountaya.com/en/sdks/typescript/quickstart-vanilla.md): Draw a Mountaya map and one of your itineraries without React, in Vue, Svelte or plain TypeScript. - [Authentication in the SDK](https://docs.mountaya.com/en/sdks/typescript/authentication.md): Mint session tokens on your server, keep them fresh in the browser, and act as one of your members. ## SDKs (TypeScript + React): Fetch data - [Client basics](https://docs.mountaya.com/en/sdks/typescript/client.md): Construct the client, call the Map Studio, Data and Tile APIs, and read them in React. - [Errors and retries](https://docs.mountaya.com/en/sdks/typescript/errors.md): Catch the typed errors the client raises, and tune its retries and timeouts. - [Pagination and safe writes](https://docs.mountaya.com/en/sdks/typescript/pagination.md): Read a whole listing with paginate, retry writes safely with idempotency keys, and make a write conditional with ifMatch. - [Manage an organization](https://docs.mountaya.com/en/sdks/typescript/admin.md): Manage your Mountaya organization from a server with the admin unit: members and invitations, API keys, session tokens and webhook endpoints. - [Receive webhooks](https://docs.mountaya.com/en/sdks/typescript/webhooks.md): Verify a Mountaya webhook delivery with constructWebhookEvent, handle each event by its type, rotate the signing secret, and test your receiver. - [Server rendering](https://docs.mountaya.com/en/sdks/typescript/server-rendering.md): Prefetch Mountaya data in a React Server Component, and know which package runs on which side. ## SDKs (TypeScript + React): Show a map - [Show a map](https://docs.mountaya.com/en/sdks/typescript/map.md): Render a Mountaya map in React, draw an itinerary on it, move the camera and hear what the reader does. - [Show a map props](https://docs.mountaya.com/en/sdks/typescript/map/props.md): Every prop the elements documented on Show a map accept, with their types, their defaults and the handlers that take over their behaviour. - [Show a map styling](https://docs.mountaya.com/en/sdks/typescript/map/styling.md): The className and style seam of every element documented on Show a map, and the DOM attributes each one spreads. - [Controls and panels](https://docs.mountaya.com/en/sdks/typescript/controls.md): Put the zoom, compass, layers and preferences controls over a Mountaya map, open its panels, and let the reader move through time. - [Controls and panels props](https://docs.mountaya.com/en/sdks/typescript/controls/props.md): Every prop the elements documented on Controls and panels accept, with their types, their defaults and the handlers that take over their behaviour. - [Controls and panels styling](https://docs.mountaya.com/en/sdks/typescript/controls/styling.md): The className and style seam of every element documented on Controls and panels, and the DOM attributes each one spreads. - [Search](https://docs.mountaya.com/en/sdks/typescript/search.md): Search places, itineraries and zones from a Mountaya map, handle what the reader picks, or build a search box of your own. - [Search props](https://docs.mountaya.com/en/sdks/typescript/search/props.md): Every prop the elements documented on Search accept, with their types, their defaults and the handlers that take over their behaviour. - [Search styling](https://docs.mountaya.com/en/sdks/typescript/search/styling.md): The className and style seam of every element documented on Search, and the DOM attributes each one spreads. - [Customize labels and icons](https://docs.mountaya.com/en/sdks/typescript/customize.md): Swap the glyph set, override the words, and theme every element with CSS custom properties. - [Edit an itinerary on the map](https://docs.mountaya.com/en/sdks/typescript/editor.md): Mount the editor map, arm a drawing engine, and route a segment while your reader drags it. - [Edit an itinerary on the map props](https://docs.mountaya.com/en/sdks/typescript/editor/props.md): Every prop the elements documented on Edit an itinerary on the map accept, with their types, their defaults and the handlers that take over their behaviour. - [Edit an itinerary on the map styling](https://docs.mountaya.com/en/sdks/typescript/editor/styling.md): The className and style seam of every element documented on Edit an itinerary on the map, and the DOM attributes each one spreads. - [Use the map without React](https://docs.mountaya.com/en/sdks/typescript/without-react.md): Drive the same map from Vue, Svelte, Angular or no framework, through one imperative object. ## SDKs (TypeScript + React): Show itinerary data - [Show an elevation profile](https://docs.mountaya.com/en/sdks/typescript/elevation-profile.md): Draw an itinerary's elevation as a chart, on a page with or without a map. - [Show an elevation profile props](https://docs.mountaya.com/en/sdks/typescript/elevation-profile/props.md): Every prop the elements documented on Show an elevation profile accept, with their types, their defaults and the handlers that take over their behaviour. - [Show an elevation profile styling](https://docs.mountaya.com/en/sdks/typescript/elevation-profile/styling.md): The className and style seam of every element documented on Show an elevation profile, and the DOM attributes each one spreads. - [List segments and waypoints](https://docs.mountaya.com/en/sdks/typescript/tables.md): Read an itinerary as a table of legs or of places, and open one place in a card. - [List segments and waypoints props](https://docs.mountaya.com/en/sdks/typescript/tables/props.md): Every prop the elements documented on List segments and waypoints accept, with their types, their defaults and the handlers that take over their behaviour. - [List segments and waypoints styling](https://docs.mountaya.com/en/sdks/typescript/tables/styling.md): The className and style seam of every element documented on List segments and waypoints, and the DOM attributes each one spreads. ## SDKs (TypeScript + React): Geo and navigation - [Geo without a map](https://docs.mountaya.com/en/sdks/typescript/geo.md): Measure distances, build elevation profiles, read slope and aspect, and convert units with the map-free entries of @mountaya/elements. - [Turn-by-turn navigation](https://docs.mountaya.com/en/sdks/typescript/navigation.md): Follow a Mountaya itinerary turn by turn: read its route, feed the device's position, speak each maneuver and show what is left. ## SDKs (TypeScript + React): Embedded Studio - [Overview](https://docs.mountaya.com/en/sdks/typescript/studio.md): Put the Mountaya map editor inside your own product: what you need first, and the three ways to assemble it. - [Overview props](https://docs.mountaya.com/en/sdks/typescript/studio/props.md): Every prop the elements documented on Overview accept, with their types, their defaults and the handlers that take over their behaviour. - [Quickstart](https://docs.mountaya.com/en/sdks/typescript/studio/quickstart.md): Mount Embedded Studio in a Vite and React app, on a session token your server mints for the signed-in member. - [Configure the host](https://docs.mountaya.com/en/sdks/typescript/studio/host.md): Set up MountayaStudioHost: keep its token fresh, choose which features show, and theme and translate the editor. - [Configure the host props](https://docs.mountaya.com/en/sdks/typescript/studio/host/props.md): Every prop the elements documented on Configure the host accept, with their types, their defaults and the handlers that take over their behaviour. - [Configure the host styling](https://docs.mountaya.com/en/sdks/typescript/studio/host/styling.md): The className and style seam of every element documented on Configure the host, and the DOM attributes each one spreads. - [Use your own design system](https://docs.mountaya.com/en/sdks/typescript/studio/headless.md): Build the studio's screens with your own components, on Mountaya's editing rules: MountayaStudioProvider, createStudioToolBus and the headless hooks. - [Use your own design system props](https://docs.mountaya.com/en/sdks/typescript/studio/headless/props.md): Every prop the elements documented on Use your own design system accept, with their types, their defaults and the handlers that take over their behaviour. - [Studio components](https://docs.mountaya.com/en/sdks/typescript/studio/chrome.md): Find the component for each editing job, from segment lists to the zone editor, and place it in a layout of your own. - [Studio components props](https://docs.mountaya.com/en/sdks/typescript/studio/chrome/props.md): Every prop the elements documented on Studio components accept, with their types, their defaults and the handlers that take over their behaviour. - [Studio components styling](https://docs.mountaya.com/en/sdks/typescript/studio/chrome/styling.md): The className and style seam of every element documented on Studio components, and the DOM attributes each one spreads. - [Studio handlers](https://docs.mountaya.com/en/sdks/typescript/handlers.md): Replace or wrap what a studio verb does, ask before destructive verbs, and gate verbs on what the session holds. - [Collaborate live](https://docs.mountaya.com/en/sdks/typescript/studio/collaboration.md): Open a live session so several members edit one itinerary or zone together, and show who is there and what they hold. - [Collaborate live props](https://docs.mountaya.com/en/sdks/typescript/studio/collaboration/props.md): Every prop the elements documented on Collaborate live accept, with their types, their defaults and the handlers that take over their behaviour. - [AI co-pilot](https://docs.mountaya.com/en/sdks/typescript/studio/copilot.md): Turn on the studio's AI co-pilot: a chat panel that edits the open itinerary or zone through the same verbs a click uses, and asks before anything destructive. - [AI co-pilot props](https://docs.mountaya.com/en/sdks/typescript/studio/copilot/props.md): Every prop the elements documented on AI co-pilot accept, with their types, their defaults and the handlers that take over their behaviour. - [Export a video](https://docs.mountaya.com/en/sdks/typescript/studio/video.md): Let members record an itinerary as a video flythrough, with the elevation profile drawn into the frame. - [Export a video props](https://docs.mountaya.com/en/sdks/typescript/studio/video/props.md): Every prop the elements documented on Export a video accept, with their types, their defaults and the handlers that take over their behaviour. ## SDKs (TypeScript + React): Tutorials - [Build a route planner](https://docs.mountaya.com/en/sdks/typescript/tutorials/route-planner.md): Click the map to add waypoints, route them with the Data API, and draw the route with its elevation profile. - [Build a race course page](https://docs.mountaya.com/en/sdks/typescript/tutorials/race-course.md): Publish a course with its aid stations, services and cut-offs through the Map Studio API, then show it with a map, a profile and a filterable table. ## SDKs (TypeScript + React): Reference - [API by capability](https://docs.mountaya.com/en/sdks/typescript/reference/api.md): Every public capability of the TypeScript SDK, by the names it publishes it under. - [Client](https://docs.mountaya.com/en/sdks/typescript/reference/client.md): The constructor, the credentials, every method of each namespace, the errors and the functions of @mountaya/client. - [Hooks](https://docs.mountaya.com/en/sdks/typescript/reference/hooks.md): Every hook the React packages export, by the entry point you import it from: its parameters and what it returns. - [Components](https://docs.mountaya.com/en/sdks/typescript/reference/components.md): Every component the React packages export, with its entry point and the page that documents its props. - [MountayaMap](https://docs.mountaya.com/en/sdks/typescript/reference/map.md): The map of @mountaya/elements without React: its options, its methods and the events it emits. - [Studio verbs](https://docs.mountaya.com/en/sdks/typescript/reference/verbs.md): Every tool verb the studio dispatches, by namespace: the capability it needs, whether it asks for confirmation, and its input. - [Entry points](https://docs.mountaya.com/en/sdks/typescript/reference/entry-points.md): Every import path of every @mountaya package: what it holds and the peers it needs. - [Testing](https://docs.mountaya.com/en/sdks/typescript/testing.md): Test code that calls the API, and components built on the Mountaya SDK, with no map, no network and no session. - [Troubleshooting](https://docs.mountaya.com/en/sdks/typescript/troubleshooting.md): The problems developers hit first with the TypeScript SDK, and how to fix each one. ## SDKs (Swift + SwiftUI): Get started - [Overview](https://docs.mountaya.com/en/sdks/swift.md): Native Swift packages to fetch Mountaya data, show it on a map in SwiftUI, and navigate a route, on Apple platforms and Linux. - [Install and set up](https://docs.mountaya.com/en/sdks/swift/install.md): Add the Swift package, turn on the Elements trait for a map, and read your publishable key from Info.plist. - [Quickstart](https://docs.mountaya.com/en/sdks/swift/quickstart.md): Show a Mountaya map with the Tour du Mont-Blanc on it in a SwiftUI iPhone app. - [Server quickstart](https://docs.mountaya.com/en/sdks/swift/quickstart-server.md): Mint a session token and route a hike through the Data API from a Swift program on macOS or Linux. - [Authentication in the SDK](https://docs.mountaya.com/en/sdks/swift/authentication.md): Mint session tokens on your server, keep them fresh in a Swift app, open share links and act as a member. ## SDKs (Swift + SwiftUI): Fetch data - [Client basics](https://docs.mountaya.com/en/sdks/swift/client.md): Build a Mountaya client in Swift, call the Map Studio, Data and Tile APIs, write, select fields and read event streams. - [Errors and retries](https://docs.mountaya.com/en/sdks/swift/errors.md): Catch the one MountayaError the Swift client throws, branch on its kind and code, and tune retries, timeouts and cancellation. - [Pagination and safe writes](https://docs.mountaya.com/en/sdks/swift/pagination.md): Read a whole listing as an async sequence in Swift, repeat a write safely with an idempotency key, and write only if nothing changed. - [Manage an organization](https://docs.mountaya.com/en/sdks/swift/admin.md): Run an organization's members, invitations, API keys, session tokens and webhook endpoints from a Swift server with MountayaAdmin. - [Receive webhooks](https://docs.mountaya.com/en/sdks/swift/webhooks.md): Verify a Mountaya webhook delivery on a Swift server with constructWebhookEvent, switch over its event, and test your receiver. ## SDKs (Swift + SwiftUI): Show a map - [Show a map](https://docs.mountaya.com/en/sdks/swift/map.md): Draw a Mountaya map in SwiftUI with MapEngine and MapView: itineraries, the camera, taps, refusals, the readout, the watermark and waypoints. - [Controls and panels](https://docs.mountaya.com/en/sdks/swift/controls.md): Float zoom, compass, locate, layers, points of interest and preferences controls over a SwiftUI map, with their panels and the time slider. - [Search](https://docs.mountaya.com/en/sdks/swift/search.md): Add a SwiftUI search box over Mountaya's places, itineraries, points of interest and zones, or drive the same search from your own list. ## SDKs (Swift + SwiftUI): Show itinerary data - [Show an elevation profile](https://docs.mountaya.com/en/sdks/swift/elevation-profile.md): Draw an itinerary's elevation profile in SwiftUI with ItineraryProfile, with or without a map. - [List segments and waypoints](https://docs.mountaya.com/en/sdks/swift/tables.md): List an itinerary's legs and places as SwiftUI tables, draw a sparkline, and show one place in a card. ## SDKs (Swift + SwiftUI): Geo and navigation - [Geo without a map](https://docs.mountaya.com/en/sdks/swift/geo.md): Measure, format and profile routes in Swift with MountayaGeo, Mountaya's rules with no network and no renderer. - [Turn-by-turn navigation](https://docs.mountaya.com/en/sdks/swift/navigation.md): Follow a Mountaya itinerary turn by turn in Swift: read its route, follow the device's position, speak each maneuver and show progress. ## SDKs (Swift + SwiftUI): Reference - [API by capability](https://docs.mountaya.com/en/sdks/swift/reference/api.md): Every public capability of the Swift SDK, by the names it publishes it under, beside the TypeScript SDK's. - [Testing](https://docs.mountaya.com/en/sdks/swift/testing.md): Test Swift code that calls Mountaya with no network: answer requests yourself, pin the clock, script the map and navigation, and build errors. - [Troubleshooting](https://docs.mountaya.com/en/sdks/swift/troubleshooting.md): Fix the Swift SDK errors developers hit first: MapView unavailable, a refused key, a blank map, search refused, webhooks that do not verify and a silent voice. ## SDKs (Kotlin + Multiplatform): Get started - [Overview](https://docs.mountaya.com/en/sdks/kotlin.md): Kotlin Multiplatform modules to fetch Mountaya data, show it on a Compose map, and navigate a route, on Android, the JVM and iOS. - [Install and set up](https://docs.mountaya.com/en/sdks/kotlin/install.md): Add the Mountaya Kotlin modules from Maven Central, set up Compose and Kotlin Multiplatform, and give the app its key. - [Quickstart](https://docs.mountaya.com/en/sdks/kotlin/quickstart.md): Show a Mountaya map with the Tour du Mont-Blanc on it in a Jetpack Compose Android app. - [Server quickstart](https://docs.mountaya.com/en/sdks/kotlin/quickstart-server.md): Mint a session token with your secret key on the JVM, call the Data API with it, and serve tokens to your app. - [Authentication in the SDK](https://docs.mountaya.com/en/sdks/kotlin/authentication.md): Mint session tokens on your JVM server, keep them fresh in the app with SessionTokenEngine, open share links, and keep the secret key off devices. ## SDKs (Kotlin + Multiplatform): Fetch data - [Client basics](https://docs.mountaya.com/en/sdks/kotlin/client.md): Build the Kotlin client, call the Map Studio, Data and Tile APIs by their operation ids, write, select fields, stream events and read each answer. - [Errors and retries](https://docs.mountaya.com/en/sdks/kotlin/errors.md): Catch the MountayaException ladder the Kotlin client throws, match error codes, tune retries and timeouts, and cancel calls with coroutines. - [Pagination and safe writes](https://docs.mountaya.com/en/sdks/kotlin/pagination.md): Walk a whole listing as a cold Flow, repeat a write safely with an idempotency key, and write only if nothing changed with ifMatch. - [Manage an organization](https://docs.mountaya.com/en/sdks/kotlin/admin.md): Run an organization from a JVM server with mountaya-admin: members and invitations, publishable keys, session tokens and webhook endpoints. - [Receive webhooks](https://docs.mountaya.com/en/sdks/kotlin/webhooks.md): Verify a Mountaya webhook delivery on a JVM server with constructWebhookEvent, handle its typed event, and test your receiver. ## SDKs (Kotlin + Multiplatform): Show a map - [Show a map](https://docs.mountaya.com/en/sdks/kotlin/map.md): Render a Mountaya map in Compose with MapEngine and MapView, draw itineraries, move the camera, handle clicks, read a point and place waypoints. - [Controls and panels](https://docs.mountaya.com/en/sdks/kotlin/controls.md): Float the Mountaya map controls over a Compose map, pick each control, open the layers, points-of-interest and preferences panels, and offer the time slider. - [Search](https://docs.mountaya.com/en/sdks/kotlin/search.md): Put the Mountaya search box over a Compose map, configure its branches and language, handle a pick, or build your own list on SearchEngine. ## SDKs (Kotlin + Multiplatform): Show itinerary data - [Show an elevation profile](https://docs.mountaya.com/en/sdks/kotlin/elevation-profile.md): Draw an itinerary's elevation profile in Compose with ItineraryProfile, with its axis, sections, tooltip, services and cut-offs, linked to a map. - [List segments and waypoints](https://docs.mountaya.com/en/sdks/kotlin/tables.md): Show an itinerary as a roadbook in Compose: the segment and waypoint tables, a sparkline, a place's card, each linked to a map. ## SDKs (Kotlin + Multiplatform): Geo and navigation - [Geo without a map](https://docs.mountaya.com/en/sdks/kotlin/geo.md): Measure and format distances, build an elevation series, read the terrain at a point and write values in the reader's units, with mountaya-geo and no network. - [Turn-by-turn navigation](https://docs.mountaya.com/en/sdks/kotlin/navigation.md): Follow an itinerary with RouteFollowingEngine on every target, or navigate on an Android device with DeviceNavigationEngine, spoken prompts and replay. ## SDKs (Kotlin + Multiplatform): Reference - [API by capability](https://docs.mountaya.com/en/sdks/kotlin/reference/api.md): Every public capability of the Kotlin SDK, by the names it publishes it under, beside the TypeScript SDK's. - [Testing](https://docs.mountaya.com/en/sdks/kotlin/testing.md): Test Kotlin code that uses Mountaya offline: answer requests with an HttpExchange, retry on virtual time, script the map and navigation, build errors. - [Troubleshooting](https://docs.mountaya.com/en/sdks/kotlin/troubleshooting.md): The problems developers hit first with the Kotlin SDK, and how to fix each one. ## SDKs (Dart + Flutter): Get started - [Overview](https://docs.mountaya.com/en/sdks/dart.md): Dart and Flutter packages to fetch Mountaya data, show it on a map in a Flutter app, and navigate a route, on Android, iOS and the Dart VM. - [Install and set up](https://docs.mountaya.com/en/sdks/dart/install.md): Add the Mountaya pub packages, set the Android and iOS floors the plugins need, and read your publishable key with --dart-define-from-file. - [Quickstart](https://docs.mountaya.com/en/sdks/dart/quickstart.md): Show a Mountaya map with the Tour du Mont-Blanc on it in a Flutter app for Android and iOS. - [Server quickstart](https://docs.mountaya.com/en/sdks/dart/quickstart-server.md): Mint a session token with your secret key, call the Data API, and hand tokens to your app, from a Dart program on the VM. - [Authentication in the SDK](https://docs.mountaya.com/en/sdks/dart/authentication.md): Mint session tokens on your Dart server, keep them fresh in a Flutter app with SessionTokenEngine, open share links and act as a member. ## SDKs (Dart + Flutter): Fetch data - [Client basics](https://docs.mountaya.com/en/sdks/dart/client.md): Construct Mountaya once, call the Map Studio, Data and Tile APIs by operation id, write, select fields, read event streams and every response. - [Errors and retries](https://docs.mountaya.com/en/sdks/dart/errors.md): Catch the MountayaException ladder with on clauses, match ApiErrorCode, and tune retries, timeouts and cancellation. - [Pagination and safe writes](https://docs.mountaya.com/en/sdks/dart/pagination.md): Read a whole listing as a Dart Stream with walk methods and PageWalk, repeat a write safely with an idempotency key, and write only if nothing changed. - [Manage an organization](https://docs.mountaya.com/en/sdks/dart/admin.md): Add mountaya_admin to a Dart server to invite members, manage API keys, mint session tokens and create webhook endpoints. - [Receive webhooks](https://docs.mountaya.com/en/sdks/dart/webhooks.md): Verify Mountaya webhook deliveries with constructWebhookEvent on a Dart server, switch over the typed events, and test your receiver. ## SDKs (Dart + Flutter): Show a map - [Show a map](https://docs.mountaya.com/en/sdks/dart/map.md): Render a Mountaya map in Flutter with MapEngine and MapView, draw an itinerary, move the camera, and respond to taps, refusals, the readout and waypoints. - [Controls and panels](https://docs.mountaya.com/en/sdks/dart/controls.md): Float MapControls over a Flutter map, compose zoom, compass, geolocate and panel controls, and offer terrains, points of interest, units and the time slider. - [Search](https://docs.mountaya.com/en/sdks/dart/search.md): Put SearchControl over a Flutter map to search places, itineraries and zones, configure it, handle a pick, or build your own box on SearchEngine. ## SDKs (Dart + Flutter): Show itinerary data - [Show an elevation profile](https://docs.mountaya.com/en/sdks/dart/elevation-profile.md): Draw an itinerary's elevation in Flutter with ItineraryProfile, turn on its axes, sections and tooltip, show services and cut-offs, and link it to a map. - [List segments and waypoints](https://docs.mountaya.com/en/sdks/dart/tables.md): List an itinerary's legs and places in Flutter, draw a sparkline, show one place in a WaypointCard, and link the tables to a map. ## SDKs (Dart + Flutter): Geo and navigation - [Geo without a map](https://docs.mountaya.com/en/sdks/dart/geo.md): Measure and format distances, build an elevation series, read the terrain at a point, and write values in the reader's units, with mountaya_geo in pure Dart. - [Turn-by-turn navigation](https://docs.mountaya.com/en/sdks/dart/navigation.md): Read an itinerary as a route, follow it with RouteFollowingEngine or DeviceNavigationEngine, speak each maneuver, show progress, and replay a route in Flutter. ## SDKs (Dart + Flutter): Reference - [API by capability](https://docs.mountaya.com/en/sdks/dart/reference/api.md): Every public capability of the Dart and Flutter SDK, by the names it publishes it under, beside the TypeScript SDK's. - [Testing](https://docs.mountaya.com/en/sdks/dart/testing.md): Test Dart and Flutter code that uses Mountaya: answer requests with MockClient, drive time with fake_async, script the map and navigation, and build errors. - [Troubleshooting](https://docs.mountaya.com/en/sdks/dart/troubleshooting.md): Fix the errors Dart and Flutter developers hit first with the Mountaya SDK: undefined server names, empty keys, blank maps, platform floors and refused writes. ## AI & agents: Get started - [Overview](https://docs.mountaya.com/en/tools.md): Connect assistants to your organization's data, teach coding agents the APIs, give them these docs as Markdown, and build agents of your own. - [MCP server](https://docs.mountaya.com/en/tools/mcp.md): Connect Claude, ChatGPT, Cursor, VS Code, or any MCP client to your organization's routing, places, and terrain data. ## Guides - [Agent skills](https://docs.mountaya.com/en/tools/skills.md): Install ten skills that teach a coding agent Mountaya's keys, APIs, webhooks, SDKs for TypeScript, Swift, Kotlin and Dart, and MCP server. - [Docs for your coding agent](https://docs.mountaya.com/en/tools/llms.md): Give Cursor, Claude Code, Copilot, or any agent these docs as Markdown: llms.txt, product slices, and every page as .md. - [Build your own agent](https://docs.mountaya.com/en/tools/ai-agents.md): Give an agent you build Mountaya's routing, places, and terrain: through the MCP server, or with tools that call the Data API. ## Webhooks: Get started - [Overview](https://docs.mountaya.com/en/webhooks.md): Mountaya sends your server a signed webhook event for every change in your organization. What one carries, and how to receive it. - [Webhook endpoints](https://docs.mountaya.com/en/webhooks/endpoints.md): Register the HTTPS endpoints Mountaya sends webhook events to, in the Mountaya app or through the API, pick their event types, and disable or delete them. - [Verify webhook signatures](https://docs.mountaya.com/en/webhooks/signatures.md): Check that each delivery came from Mountaya: the Mountaya-Signature header, an HMAC-SHA256 of the raw body, the five-minute tolerance, and secret rotation. - [Test your endpoint](https://docs.mountaya.com/en/webhooks/testing.md): Send a webhook endpoint a test event of any type, and receive deliveries on your own machine while you build. ## Webhooks: Guides - [Delivery and retries](https://docs.mountaya.com/en/webhooks/delivery.md): How Mountaya delivers webhook events: a 2xx within 10 seconds, retries for about 72 hours, Retry-After, ordering, the delivery headers, and endpoint health. - [Recover missed events](https://docs.mountaya.com/en/webhooks/recovery.md): Resend one webhook event, redeliver every event since an outage began, and reconcile your copy with the organization's event list. ## Event reference - [itinerary](https://docs.mountaya.com/en/webhooks/events/itinerary.md): The itinerary webhook events, created, updated, deleted, published and unpublished: when each is recorded, what triggers it, and its payload. - [itinerary.segment](https://docs.mountaya.com/en/webhooks/events/itinerary-segment.md): The itinerary.segment webhook events, created, updated, deleted, merged, split and converted: when each is recorded, what triggers it, and its payload. - [itinerary.segment_group](https://docs.mountaya.com/en/webhooks/events/itinerary-segment-group.md): The itinerary.segment_group webhook events, created, updated and deleted: when each is recorded, what triggers it, and its payload. - [itinerary.waypoint](https://docs.mountaya.com/en/webhooks/events/itinerary-waypoint.md): The itinerary.waypoint webhook events, created, updated and deleted: when each is recorded, what triggers it, and its payload. - [itinerary.share_link](https://docs.mountaya.com/en/webhooks/events/itinerary-share-link.md): The itinerary.share_link webhook events, created, rotated and deleted: when each is recorded, what triggers it, and its payload. - [zone](https://docs.mountaya.com/en/webhooks/events/zone.md): The zone webhook events, created, updated, deleted, published and unpublished: when each is recorded, what triggers it, and its payload. - [collection](https://docs.mountaya.com/en/webhooks/events/collection.md): The collection webhook events, created, updated and deleted: when each is recorded, what triggers it, and its payload. - [collection.itinerary](https://docs.mountaya.com/en/webhooks/events/collection-itinerary.md): The collection.itinerary webhook events, added, removed and moved: when each is recorded, what triggers it, and its payload. - [collection.zone](https://docs.mountaya.com/en/webhooks/events/collection-zone.md): The collection.zone webhook events, added and removed: when each is recorded, what triggers it, and its payload. - [collection.share_link](https://docs.mountaya.com/en/webhooks/events/collection-share-link.md): The collection.share_link webhook events, created, rotated and deleted: when each is recorded, what triggers it, and its payload. - [organization](https://docs.mountaya.com/en/webhooks/events/organization.md): The organization webhook events, created and updated: when each is recorded, what triggers it, and its payload. - [organization.member](https://docs.mountaya.com/en/webhooks/events/organization-member.md): The organization.member webhook events, created, updated and deleted: when each is recorded, what triggers it, and its payload. - [organization.invitation](https://docs.mountaya.com/en/webhooks/events/organization-invitation.md): The organization.invitation webhook events, created, accepted, declined, revoked, expired and deleted: when each is recorded, what triggers it, and its payload. - [organization.settings](https://docs.mountaya.com/en/webhooks/events/organization-settings.md): The organization.settings webhook events, updated: when each is recorded, what triggers it, and its payload. - [organization.entitlements](https://docs.mountaya.com/en/webhooks/events/organization-entitlements.md): The organization.entitlements webhook events, updated: when each is recorded, what triggers it, and its payload. - [organization.ai_provider_config](https://docs.mountaya.com/en/webhooks/events/organization-ai-provider-config.md): The organization.ai_provider_config webhook events, created, updated and deleted: when each is recorded, what triggers it, and its payload. - [organization.publishable_key](https://docs.mountaya.com/en/webhooks/events/organization-publishable-key.md): The organization.publishable_key webhook events, created, updated and revoked: when each is recorded, what triggers it, and its payload. - [organization.secret_key](https://docs.mountaya.com/en/webhooks/events/organization-secret-key.md): The organization.secret_key webhook events, created, updated and revoked: when each is recorded, what triggers it, and its payload. - [organization.webhook_endpoint](https://docs.mountaya.com/en/webhooks/events/organization-webhook-endpoint.md): The organization.webhook_endpoint webhook events, created, updated, deleted, enabled, disabled, failing, recovered and secret_rotated: when each is recorded, what triggers it, and its payload. - [organization.billing.info](https://docs.mountaya.com/en/webhooks/events/organization-billing-info.md): The organization.billing.info webhook events, updated: when each is recorded, what triggers it, and its payload. - [organization.billing.subscription](https://docs.mountaya.com/en/webhooks/events/organization-billing-subscription.md): The organization.billing.subscription webhook events, created, updated, paused, resumed and canceled: when each is recorded, what triggers it, and its payload. - [organization.billing.invoice](https://docs.mountaya.com/en/webhooks/events/organization-billing-invoice.md): The organization.billing.invoice webhook events, paid, payment_failed and payment_action_required: when each is recorded, what triggers it, and its payload. - [organization.billing.payment_method](https://docs.mountaya.com/en/webhooks/events/organization-billing-payment-method.md): The organization.billing.payment_method webhook events, attached, updated and detached: when each is recorded, what triggers it, and its payload. ## API reference - [Map Studio API reference: Overview](https://docs.mountaya.com/en/apis/map-studio/reference.md): Every Map Studio API operation, one page per resource, with samples in cURL, TypeScript and Python. - [Map Studio API reference: Sessions](https://docs.mountaya.com/en/apis/map-studio/reference/sessions.md): Exchange a secret key for a short-lived session token, naming the publishable key the session is bound to and, for a page that acts as a member, the user it acts as. - [Map Studio API reference: Itineraries](https://docs.mountaya.com/en/apis/map-studio/reference/itineraries.md): Routes, end to end: create one, publish it, duplicate it, export it to GPX or KML, and hand it out behind a share link. - [Map Studio API reference: Segments](https://docs.mountaya.com/en/apis/map-studio/reference/segments.md): The ordered legs a route is made of. - [Map Studio API reference: Waypoints](https://docs.mountaya.com/en/apis/map-studio/reference/waypoints.md): The named places along a route: a hut, a summit, a water point, a cut-off time. - [Map Studio API reference: Zones](https://docs.mountaya.com/en/apis/map-studio/reference/zones.md): Areas with something to say about them: an avalanche bulletin, a closure, a permit boundary. - [Map Studio API reference: Collections](https://docs.mountaya.com/en/apis/map-studio/reference/collections.md): Named groups of itineraries and zones, scoped to an organization. - [Map Studio API reference: Collection Itineraries](https://docs.mountaya.com/en/apis/map-studio/reference/collection-itineraries.md): Which itineraries belong to a collection, and in what order. - [Map Studio API reference: Collection Zones](https://docs.mountaya.com/en/apis/map-studio/reference/collection-zones.md): Which zones belong to a collection. - [Map Studio API reference: Activities](https://docs.mountaya.com/en/apis/map-studio/reference/activities.md): The activity catalog (hiking, ski touring, road cycling and the rest) grouped by category. - [Map Studio API reference: Layers](https://docs.mountaya.com/en/apis/map-studio/reference/layers.md): The layer catalog a map draws from: the terrain base maps, satellite among them, the grouped overlays, the itinerary and zone layers, and the elevation raster the terrains are shaded from, with the tile sources and styling each one resolves to. - [Map Studio API reference: Collaboration](https://docs.mountaya.com/en/apis/map-studio/reference/collaboration.md): The live event stream for a resource being edited: who is present, what they have selected, and what changed. - [Map Studio API reference: Agent](https://docs.mountaya.com/en/apis/map-studio/reference/agent.md): Conversational route building. - [Map Studio API reference: AI](https://docs.mountaya.com/en/apis/map-studio/reference/ai.md): The AI providers an organization can route agent runs through, and the credentials it has configured for them. - [Map Studio API reference: Organizations](https://docs.mountaya.com/en/apis/map-studio/reference/organizations.md): An organization and its settings: the workspace itineraries, zones and collections belong to. - [Map Studio API reference: Organization Members](https://docs.mountaya.com/en/apis/map-studio/reference/organization-members.md): Who belongs to an organization, what each may do, and who is invited to join it. - [Map Studio API reference: Users](https://docs.mountaya.com/en/apis/map-studio/reference/users.md): The user the session token names, under `/v1/me`: their membership of the key's organization, the display preferences that follow the person into every organization, and the invitations to the key's organization waiting for their answer. - [Map Studio API reference: API Keys](https://docs.mountaya.com/en/apis/map-studio/reference/api-keys.md): The publishable keys an organization issues: what each one is called, which scopes it carries, and when it was last used. - [Map Studio API reference: Usage](https://docs.mountaya.com/en/apis/map-studio/reference/usage.md): What an organization has used, a day at a time, on the Tile API and the Data API. - [Map Studio API reference: Billing](https://docs.mountaya.com/en/apis/map-studio/reference/billing.md): The account behind the maps: what can be bought, what the organization holds, the card it is charged on, and the invoices it has been sent. - [Map Studio API reference: Webhooks](https://docs.mountaya.com/en/apis/map-studio/reference/webhooks.md): Where an organization's webhook events are delivered, and how reliably: its endpoints, every event recorded, every delivery made, to an endpoint or as a notification email, and the reliability report that keeps Mountaya's service availability apart from each endpoint's success. - [Data API reference: Data API explorer](https://docs.mountaya.com/en/apis/data/explorer.md): Browse the Data API schema and run live GraphQL queries in an interactive in-browser explorer. - [Tile API reference: Overview](https://docs.mountaya.com/en/apis/tiles/reference.md): Every Tile API operation, one page per resource, with samples in cURL, TypeScript and Python. - [Tile API reference: Layers](https://docs.mountaya.com/en/apis/tiles/reference/layers.md): The layer catalog: the terrains, the elevation raster, the overlays and the itinerary and zone layers, each by its slug with the tile sources it resolves to. - [Tile API reference: Terrains](https://docs.mountaya.com/en/apis/tiles/reference/terrains.md): The base maps, their sources, sprites and glyphs, and the elevation raster, served through this API so a map draws its base map under the credential it sends here. - [Tile API reference: Overlays](https://docs.mountaya.com/en/apis/tiles/reference/overlays.md): Raster and vector overlays (slope, aspect, weather, points of interest) as tiles and as the specification a client needs to style and read them. - [Tile API reference: Itineraries](https://docs.mountaya.com/en/apis/tiles/reference/itineraries.md): Routes as vector tiles, drawn from the published snapshot or, when a session token naming a member accompanies the key, from the key's own organization's drafts, so a map draws a whole set of them without fetching each one's geometry. - [Tile API reference: Collections](https://docs.mountaya.com/en/apis/tiles/reference/collections.md): A collection's itineraries and zones as tiles, addressed by the collection rather than one resource at a time. - [Tile API reference: Zones](https://docs.mountaya.com/en/apis/tiles/reference/zones.md): Zones as vector tiles, carrying each zone's name, severity and validity window, which a client labels and styles them by. - [Map Studio API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/api.yaml) - [Data API GraphQL schema (SDL)](https://docs.mountaya.com/descriptions/graphql/data/schema.graphql) - [Tile API OpenAPI document](https://docs.mountaya.com/schemas/v0.9.0/openapi/tiles.yaml) - [Operations index](https://docs.mountaya.com/llms/operations.txt): Every operation of the Map Studio API and the Tile API on one line: its operationId, method and path, the key it takes, whom it acts as, its summary, and the reference page that documents it. ## Optional - [Changelog](https://docs.mountaya.com/en/changelog.md): Release notes for the Mountaya platform APIs, Map Publishing, and integrations. - [SDKs for Swift, Kotlin, and Dart and Flutter](https://docs.mountaya.com/en/changelog/2026-11-25.md): Three new SDKs at 0.1.0, on contract v0.9.0, beside a TypeScript SDK whose admin operations and webhook verification move to their own entry point, and docs for all four. - [Webhooks](https://docs.mountaya.com/en/changelog/2026-11-18.md): Contract v0.8.0: every change in an organization is a signed webhook event you subscribe to, replay and redeliver, members choose their notification emails, every ceiling answers `429`, and maps show restricted roads. - [Writes are safe to retry](https://docs.mountaya.com/en/changelog/2026-11-02.md): Contract v0.7.0, a breaking release: the session token names the user a request acts as, writes are safe to retry and can be made conditional, every listing pages by cursor, and every answer says which request it was and what is left of your limits. - [One contract for every credential](https://docs.mountaya.com/en/changelog/2026-09-25.md): Keys are pinned to their organization, zones get names and open to every account, and every API answers the same way about what a credential can see. - [Collections belong to your organization](https://docs.mountaya.com/en/changelog/2026-08-16.md): Collections become organization-owned and shareable by link, and the embed can target a collection directly. - [One read path for pagination, real error codes on the Data API](https://docs.mountaya.com/en/changelog/2026-08-12.md): Eleven wire changes break an existing consumer: pagination metadata nests under `pagination`, Data API errors carry a real `extensions.code`, the unlimited sentinel is `null` rather than `-1`, six Data API fields are renamed, removed, or retyped, thirteen public Map Studio API operations are renamed with the `/groups` route becoming `/segment-groups`, and a filtered `search` narrows `Way.activityCompatible` to the activity it was asked about. The Map Studio API also gains a public 50-operation surface, a documented 504, and a rate limit on session exchange. - [Know what a route crosses](https://docs.mountaya.com/en/changelog/2026-08-05.md): Routed results report the tollways and access-restricted ways they cross, `directions` can route around them on request, and suggestions never propose one at all. - [Reshape a route after you have drawn it](https://docs.mountaya.com/en/changelog/2026-08-02.md): Itineraries gain a draft and a published version, segments can be merged, split, inserted, grouped, and switched between routing engines, and itineraries can be duplicated. - [Professional trail routing](https://docs.mountaya.com/en/changelog/2026-07-27.md): A new `PROFESSIONAL_TRAIL` activity routes off the mapped trail network, ski touring and snowshoe walking accept waypoints further from a path, and Map Studio gains a table comparing every activity. - [The Mountaya developer platform launches](https://docs.mountaya.com/en/changelog/2026-07-03.md): A new developer portal, an MCP server for AI agents, a visual embedding builder in Map Studio, and self-serve onboarding bring the whole platform together.