> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.nukio.mx/llms.txt.
> For full documentation content, see https://developers.nukio.mx/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.nukio.mx/_mcp/server.

# getGeozones

GET https://app.nukio.mx/api/v1/geozone/getgeozones/authorization

Reference: https://developers.nukio.mx/nukio-api/geozone/get-geozones

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v1/geozone/getgeozones/authorization:
    get:
      operationId: get-geozones
      summary: getGeozones
      tags:
        - subpackage_geozone
      parameters:
        - name: authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Geozone_getGeozones_Response_200'
servers:
  - url: https://app.nukio.mx
components:
  schemas:
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccessStates:
      type: object
      properties:
        '0':
          type: string
        '1':
          type: string
      required:
        - '0'
        - '1'
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccessStates
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccess:
      type: object
      properties:
        states:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccessStates
        displayText:
          type: string
      required:
        - states
        - displayText
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccess
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoffStates:
      type: object
      properties:
        '0':
          type: string
        '1':
          type: string
      required:
        - '0'
        - '1'
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoffStates
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoff:
      type: object
      properties:
        states:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoffStates
        displayText:
          type: string
      required:
        - states
        - displayText
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoff
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeatures:
      type: object
      properties:
        cargoaccess:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesCargoaccess
        enginecutoff:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeaturesEnginecutoff
      required:
        - cargoaccess
        - enginecutoff
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeatures
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesCargoaccess:
      type: object
      properties:
        state:
          type: string
        onText:
          type: string
        offText:
          type: string
        displayName:
          type: string
        pendingState:
          description: Any type
        isNegativeTriggered:
          type: boolean
      required:
        - state
        - onText
        - offText
        - displayName
        - isNegativeTriggered
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesCargoaccess
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesEnginecutoff:
      type: object
      properties:
        state:
          type: string
        onText:
          type: string
        offText:
          type: string
        displayName:
          type: string
        pendingState:
          description: Any type
        isNegativeTriggered:
          type: boolean
      required:
        - state
        - onText
        - offText
        - displayName
        - isNegativeTriggered
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesEnginecutoff
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeatures:
      type: object
      properties:
        cargoaccess:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesCargoaccess
        enginecutoff:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeaturesEnginecutoff
      required:
        - cargoaccess
        - enginecutoff
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeatures
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArrive:
      type: object
      properties:
        features:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArriveFeatures
        displayText:
          type: string
      required:
        - features
        - displayText
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArrive
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesCargoaccess:
      type: object
      properties:
        state:
          type: string
        onText:
          type: string
        offText:
          type: string
        displayName:
          type: string
        pendingState:
          description: Any type
        isNegativeTriggered:
          type: boolean
      required:
        - state
        - onText
        - offText
        - displayName
        - isNegativeTriggered
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesCargoaccess
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesEnginecutoff:
      type: object
      properties:
        state:
          type: string
        onText:
          type: string
        offText:
          type: string
        displayName:
          type: string
        pendingState:
          description: Any type
        isNegativeTriggered:
          type: boolean
      required:
        - state
        - onText
        - offText
        - displayName
        - isNegativeTriggered
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesEnginecutoff
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeatures:
      type: object
      properties:
        cargoaccess:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesCargoaccess
        enginecutoff:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeaturesEnginecutoff
      required:
        - cargoaccess
        - enginecutoff
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeatures
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepart:
      type: object
      properties:
        features:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepartFeatures
        displayText:
          type: string
      required:
        - features
        - displayText
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepart
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSections:
      type: object
      properties:
        arrive:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsArrive
        depart:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSectionsDepart
      required:
        - arrive
        - depart
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSections
    ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItems:
      type: object
      properties:
        features:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsFeatures
        sections:
          $ref: >-
            #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItemsSections
        geozoneID:
          type: string
        geozoneType:
          type: integer
        geozonePoint1:
          type: string
        geozonePoint2:
          type: string
        geozonePoint3:
          type: string
        geozonePoint4:
          type: string
        geozonePoint5:
          type: string
        geozonePoint6:
          type: string
        geozonePoint7:
          type: string
        geozonePoint8:
          type: string
        geozoneRadius:
          type: integer
        geozoneAlertExit:
          type: boolean
        geozoneAlertEntry:
          type: boolean
        geozoneDisplayName:
          type: string
        geozoneArrivalEngineOn:
          type: boolean
        geozoneArrivalCabinLock:
          type: boolean
        geozoneArrivalCargoLock:
          type: boolean
        geozoneArrivalEngineOff:
          type: boolean
        geozoneDepartureEngineOn:
          type: boolean
        geozoneArrivalCabinUnlock:
          type: boolean
        geozoneArrivalCargoUnlock:
          type: boolean
        geozoneDepartureCabinLock:
          type: boolean
        geozoneDepartureCargoLock:
          type: boolean
        geozoneDepartureEngineOff:
          type: boolean
        geozoneDepartureCabinUnlock:
          type: boolean
        geozoneDepartureCargoUnlock:
          type: boolean
      required:
        - features
        - sections
        - geozoneID
        - geozoneType
        - geozonePoint1
        - geozonePoint2
        - geozonePoint3
        - geozonePoint4
        - geozonePoint5
        - geozonePoint6
        - geozonePoint7
        - geozonePoint8
        - geozoneRadius
        - geozoneAlertExit
        - geozoneAlertEntry
        - geozoneDisplayName
        - geozoneArrivalEngineOn
        - geozoneArrivalCabinLock
        - geozoneArrivalCargoLock
        - geozoneArrivalEngineOff
        - geozoneDepartureEngineOn
        - geozoneArrivalCabinUnlock
        - geozoneArrivalCargoUnlock
        - geozoneDepartureCabinLock
        - geozoneDepartureCargoLock
        - geozoneDepartureEngineOff
        - geozoneDepartureCabinUnlock
        - geozoneDepartureCargoUnlock
      title: >-
        ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItems
    Geozone_getGeozones_Response_200:
      type: object
      properties:
        success:
          type: string
        geozones:
          type: array
          items:
            $ref: >-
              #/components/schemas/ApiV1GeozoneGetgeozonesAuthorizationGetResponsesContentApplicationJsonSchemaGeozonesItems
        status_code:
          type: string
        hasUpdateGeozonePrivileges:
          type: boolean
      required:
        - success
        - geozones
        - status_code
        - hasUpdateGeozonePrivileges
      title: Geozone_getGeozones_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: authorization

```

## SDK Code Examples

```python Geozone_getGeozones_example
import requests

url = "https://app.nukio.mx/api/v1/geozone/getgeozones/authorization"

headers = {"authorization": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Geozone_getGeozones_example
const url = 'https://app.nukio.mx/api/v1/geozone/getgeozones/authorization';
const options = {method: 'GET', headers: {authorization: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Geozone_getGeozones_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.nukio.mx/api/v1/geozone/getgeozones/authorization"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("authorization", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Geozone_getGeozones_example
require 'uri'
require 'net/http'

url = URI("https://app.nukio.mx/api/v1/geozone/getgeozones/authorization")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Geozone_getGeozones_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.nukio.mx/api/v1/geozone/getgeozones/authorization")
  .header("authorization", "<apiKey>")
  .asString();
```

```php Geozone_getGeozones_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.nukio.mx/api/v1/geozone/getgeozones/authorization', [
  'headers' => [
    'authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Geozone_getGeozones_example
using RestSharp;

var client = new RestClient("https://app.nukio.mx/api/v1/geozone/getgeozones/authorization");
var request = new RestRequest(Method.GET);
request.AddHeader("authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Geozone_getGeozones_example
import Foundation

let headers = ["authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.nukio.mx/api/v1/geozone/getgeozones/authorization")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```