---
title: "Create geofence collection"
method: POST
path: "/v1/geofence-collection"
tags: ["Geofence Collection"]
---

# Create geofence collection

`POST /v1/geofence-collection`

Create a geofence collection by providing fields named collection_name and entries. The geofence collection geometry may be one of Polygon or Circle.

## Request body

- CreateGeofenceCollectionRequest
  - `collection_name` string, required
  - `entries` Entry[]
    - `GeofenceId` string, required
    - `Geometry` Geometry, required
      - `Polygon` array[], required
        - array[]
          - number[]

## Response `200`

CreateGeofenceCollectionResponse

- string

## Other responses

- `400` — bad input parameter
- `403` — not authorized
- `500` — internal server error

---

[API](https://skmtc.net/stellantis/apis/stellantis-connected-vehicle-api.md) · [All operations](https://skmtc.net/stellantis/apis/stellantis-connected-vehicle-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stellantis/stellantis-connected-vehicle-api/revisions/1d2213b04fdb/schema)
