Geozones list API

Geozones list API is dedicated to output information about the user’s geozones (all visible geozones: created by the user and shared with the user).

Request structure:

GET /geozones?api_key=<...>&version=1&limit=<...>&continuation_token=<...> HTTP/1.1
Content-Type: application/json;charset=UTF-8

Request parameters:

api_keyStringUser identification keyYes
versionIntegerAPI versionYes
limitIntegerLimits geozones count in responseNo
continuation_tokenIntegerDisplays from what date and time the data is shown if the record limit was reachedNo

Response example:

    "continuation_token": 1,
    "items": [
            "id": "d4e18901",
            "name": "asdada",
            "notes": "aaa fff",
            "type": "POINT",
            "circle": {
                "latitude": 54.689538538142585,
                "longitude": 25.270938071441606,
                "radius": 250.0

If a parameter was entered incorrectly, the system will respond with an error code. All error codes are described in the APIs section. Parameters for which no data is provided are not included in the response. A full list of response parameters is available at the end of this section.

Response parameters:

continuation_tokenIntegerContinuation token is sent when number of geozones in response exceed limit
itemsArrayContainer for all user geozones
idStringExternal geozone ID
nameStringGeozone name
notesStringGeozone notes
typeEnumGeozone type. There are two types: point and polygon
circleArrayContainer for point information. If it is a polygon type, this parameter will be NULL
latitudeDoubleLatitude of point center
longitudeDoubleLongitude of point center
radiusDoubleRadius in meters