Get started

Map Studio API

Map Studio API

Create, publish and share itineraries, zones and collections from your own code, over JSON.

The Map Studio API writes the content your maps show: itineraries with their segments, waypoints and segment groups, zones, and the collections that file them. This call lists your published itineraries:

curl -s "https://api.mountaya.com/v1/itineraries?limit=2" \
  -H "X-API-Key: $MOUNTAYA_PUBLISHABLE_KEY"
Response
{
  "data": [
    {
      "activity_id": "a1c4e7b2-3d59-4f08-8b6a-2e5c9d0f7134",
      "ascent": 941,
      "count": { "groups": 0, "segments": 2, "waypoints": 1 },
      "created_at": "2026-11-09T10:52:46.081072Z",
      "created_by": { "id": "7a4e1c98-3b52-4f60-9d81-c05e2f7a83b1" },
      "description": "Two stages from Les Houches.",
      "distance": 16152.93,
      "etag": "\"p3\"",
      "id": "0b6d1a4e-6d3f-4f7a-9c2e-1f0a5b8c3d21",
      "is_private": false,
      "is_verified": false,
      "name": "Tour du Mont-Blanc",
      "organization_id": "a5eec5f3-3463-4b20-9469-de3eeb870a7a",
      "revision": 3,
      "status": "published",
      "updated_at": "2026-11-09T10:53:23.814667Z"
    }
  ],
  "extensions": {
    "metadata": {
      "pagination": { "limit": 2, "next_cursor": null }
    }
  }
}

A key alone lists only what you publish. Add a member's session token to list drafts and private itineraries too.

Who can call it

The Map Studio API comes with an agreement that includes Map Studio and Embedded Studio.

You callYou send
A readA publishable key with the publishing scope
A writeA publishable key with the studio-embedded scope, and a session token naming the member who writes
A publishThe same as a write, with Map Publishing in your agreement

Your server mints the member's session token with your secret key. The quickstart shows how.

Guides

Conventions

Every call shares the same rules: errors, rate limits, idempotency keys, pagination, conditional writes, request IDs and headers, and versioning. The Map Studio API reference lists every operation.

Last updated