---
title: "Create"
method: POST
path: "/tracking/geofence_templates/v1"
tags: ["/tracking", "/tracking/geofence_templates"]
---

# Create

`POST /tracking/geofence_templates/v1`

Creates a geofence template owned by the caller's organization. | authz: min_org_role=operator | (SessionGeofenceTemplateClientCreate1) -> (SessionGeofenceTemplate1)

## Request body

- SessionGeofenceTemplateClientCreate1
  - `schema_version` 1, required
  - `name` string, required
  - `description` string, nullable
  - `geofences` SessionGeofenceBase1[], required — unresolved $ref

## Response `200`

Successful Response

- SessionGeofenceTemplate1
  - `schema_version` 1, required
  - `name` string, required
  - `description` string, nullable
  - `geofences` SessionGeofenceBase1[], required — unresolved $ref
  - `_id` string, required
  - `owned_by_org_id` string, required — Must be a string starting with `org_`
  - `owned_by_user_id` string, required — Must be a string starting with `user_`
  - `created_at_timestamp` string, date-time, required
  - `last_edited_at_timestamp` string, date-time, required
  - `last_used_at_timestamp` string, date-time, nullable
  - `archived_at_timestamp` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
