---
title: "Batch put geofence in collection"
method: POST
path: "/v1/geofence-collection/{collection}/batch-put-geofence"
tags: ["Geofence Collection"]
---

# Batch put geofence in collection

`POST /v1/geofence-collection/{collection}/batch-put-geofence`

## Request

- Base URL: `https://api.stellantis-developers.com`
- URL: `https://api.stellantis-developers.com/v1/geofence-collection/{collection}/batch-put-geofence`
- Auth: API key in header `x-api-key` and API key in header `Authorization`
- TypeScript: <https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/docs/v1/geofence-collection/:collection/batch-put-geofence/post.ts> (a function with typed inputs; its response is checked against the schema)

Add one or more geofences to an already created geofence collection.

## Path parameters

- `collection` string, required

## Request body

- BatchPutGeofenceInCollectionRequest
  - `entries` Entry2[], required
    - `GeofenceId` string, required
    - `Geometry` Geometry2, required
      - `Circle` Circle, required
        - `Center` number[], required
        - `Radius` number, required

## Response `200`

BatchPutGeofenceResponse

- string

## Other responses

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

---

[API](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api.md) - [All operations](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/revisions/1d2213b04fdb?raw)
