SitesMaps

getSiteMap

GET
/api/v1/sites/{site_id}/maps/{map_id}

Get Site Map Details

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
map_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/maps/000000ab-00ab-00ab-00ab-0000000000ab"
{  "created_time": 0.1,  "flags": {    "assetHoldTime": 5,    "storeTime": 10  },  "for_site": true,  "geofences": [    {      "name": "example",      "vertices": [        {          "X": 700,          "Y": 100        }      ]    }  ],  "height": 1500,  "height_m": 0.1,  "id": "53f10664-3ce8-4c27-b382-0ef66432349f",  "latlng_br": {    "lat": "string",    "lng": "string"  },  "latlng_tl": {    "lat": "string",    "lng": "string"  },  "locked": false,  "mapstack_floor": 1,  "mapstack_id": "6a2856e5-9974-4b44-b75f-f41547024f71",  "modified_time": 0.1,  "name": "Mist Office",  "occupancy_limit": 0,  "org_id": "a97c1b22-a4e9-411e-9bfd-d8695a0f9e61",  "orientation": 30,  "origin_x": 35,  "origin_y": 60,  "ppm": 40.94,  "site_id": "441a1214-6928-442a-8e92-e1d34b8ec6a6",  "sitesurvey_path": [],  "thumbnail_url": "https://url/to/image.png",  "type": "image",  "url": "https://url/to/image.png",  "view": "hybrid",  "wall_path": {    "coordinate": "actual",    "nodes": []  },  "wayfinding": {    "micello": {      "account_key": "adasdf",      "default_level_id": 5,      "map_id": "c660f81dd250c"    },    "snap_to_path": true  },  "wayfinding_path": {    "coordinate": "actual",    "nodes": []  },  "width": 1250,  "width_m": 0.1}