SitesMapsAuto-Zone

getSiteMapAutoZoneStatus

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

This API provides the current status of the auto zones service for a given map

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

map_id*string
Formatuuid
site_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/auto_zones"
{  "status": "awaiting_review",  "zones": [    {      "name": "zone1",      "vertices": [        {          "x": 0,          "y": 0        },        {          "x": 0,          "y": 10        },        {          "x": 10,          "y": 10        },        {          "x": 10,          "y": 0        }      ]    },    {      "name": "zone2",      "vertices": [        {          "x": 0,          "y": 0        },        {          "x": 0,          "y": 20        },        {          "x": 20,          "y": 20        },        {          "x": 20,          "y": 0        }      ]    }  ]}