---
title: "Get geofences"
method: GET
path: "/time-clock/v1/time-clocks/{timeClockId}/geofences"
tags: ["Time Clock:v1:TimeClocks:TimeClock:GeoFences"]
---

# Get geofences

`GET /time-clock/v1/time-clocks/{timeClockId}/geofences`

Get all geofences for a specified time clock

## Path parameters

- `timeClockId` integer, required — The unique identifier of the time clock

## Response `200`

Successful Response

- APIResponseGeoFencesGetResponse
  - `requestId` string
  - `data` GeoFencesGetResponse, required
    - `geofences` GeoFenceWithFenceIdEntity[], required — Geofences list
      - `id` string, required — The unique identifier of the geofence
      - `name` string, required — The name of the geofence
      - `isEnabled` boolean — Indicates whether the geofence is enabled upon creation
      - `fenceSize` integer — The radius size (in meters) of the geofence. Must be a value between 75-1524 meters
      - `jobIds` string[] — List of job IDs to apply the geofence. If the job contains sub-jobs, pass only the parent job ID. If jobs are not required in the account settings, pass an empty array.(It is empty by default)
      - `onGeofenceExitAction` 'noAction' | 'sendNotification' | 'autoClockOut' — An enumeration.
      - `location` GpsLocation, required
        - `address` string, required — address
        - `latitude` string, required — latitude, number format
        - `longitude` string, required — longitude, number format

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/connecteam/apis/connecteam-api-documentation.md) · [All operations](https://skmtc.net/connecteam/apis/connecteam-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/connecteam/connecteam-api-documentation/revisions/d8f7f302222e/schema)
