/listGeoZones

👍

Enterprise API

Lists Geozones for the application.

Example response

{
  "status_code": 200,
  "status_message": "OK",
  "response": {
    "clusters": [
      {
        "name": "Cluster",
        "geoZones": [
          {
            "name": "Geozone 1",
            "lat": 52.26816,
            "lng": -109.6875,
            "cooldown": 86340,
            "range": 100,
            "presetCode": null,
            "content": {
              "default": "Push for Geozone 1"
            },
            "status": true, //or false if the geozone is paused,
            "campaign_id": 15, //assigned campaign id
            "timetable": { //timetable, HH:mm
                "Mon": [ //days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Geozone is not sending notifications during the days that are missing from the list
                    {
                      "start": "04:11",
                      "stop": "12:00"
                    }
                ],
            }
          }
        ]
      },
      {
        "name": "Geozones without cluster",
        "geoZones": [
          {
            "name": "Center",
            "lat": 22.33,
            "lng": 44.55,
            "cooldown": 86400,
            "range": 100,
            "presetCode": null,
            "content": {
              "default": "Push for Geozone Center"
            }
          },
          {
            "name": "Left",
            "lat": 55.01985,
            "lng": 82.94802,
            "cooldown": 86400,
            "range": 801,
            "presetCode": "74096-FDFF1",
            "content": {
              "default": ""
            }
          }
        ]
      }
    ]
  }
}
Language
Click Try It! to start a request and see the response here!