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

# Get geofence

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

Get a geofence site under a specified time clock

## Path parameters

- `fenceId` string, required — The ID of the geofence to get
- `timeClockId` integer, required — The unique identifier of the time clock

## Response `200`

Successful Response

- APIResponseGeoFenceWithFenceIdEntity
  - `requestId` string
  - `data` GeoFenceWithFenceIdEntity, required
    - `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)
