Create Geofences in Bulk
POST/geofences/bulk
This endpoint is used for creating up to 100 geofences in a single request. Each item accepts the same parameters as POST /geofences, and each item is validated and created independently, so one invalid item does not reject the rest. The response returns the created geofence IDs only. If you need the full geofence record, retrieve it with GET /geofences/{geofence_id}.
Request
Responses
- 200
- 400
- 401
- 403
- 422
- 429
- 500
- 503
Successful operation. This status is returned whenever the request itself was valid, including when every individual item failed. Inspect the errors array to determine which items failed.
The request body is declared as JSON but cannot be parsed, or is not a JSON object or array. Nothing was processed.
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
Validation failed for the input parameters.
Too Many Requests - the endpoint's rate limit has been exceeded. Retry after the number of seconds in the Retry-After header.
Response Headers
Seconds to wait before retrying. The same value as X-RateLimit-Retry-After-Seconds when that wait is non-negative. If the computed wait is negative, Retry-After is floored at 0.
Unix timestamp of the next earliest successful request.
Seconds until the next earliest successful request.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.