User Geo-Zones

Get User Geo-Zone By ID

get/v1/user-geozones/{userGeozoneId}

Request

Path parameters

userGeozoneIdstring required

Headers

Authorizationstring

User access token

Content-Type'application/json'

Response

Returns a user geozone

idstring required

Unique identifier

imeistring required

IMEI of the device that will trigger the webhook

Example response

{
  "id": "65f8a2b4c9d7e1234567890a",
  "imei": "123456789101112",
  "location": {
    "type": "Feature",
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            -96.7980123,
            32.7760432
          ],
          [
            -96.7960123,
            32.7760432
          ],
          [
            -96.7960123,
            32.7750432
          ],
          [
            -96.7980123,
            32.7750432
          ],
          [
            -96.7980123,
            32.7760432
          ]
        ]
      ]
    }
  },
  "schedule": [
    {
      "daysOfWeek": [
        1,
        2,
        3,
        4,
        5
      ],
      "times": [
        {
          "startTime": 28800,
          "endTime": 61200
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.