Skip to main content
POST
Create geofence

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string<uuid>
required

Body

application/json
externalId
string
required

The unique ID of this resource in your application.

name
string
required
points
null | ((number<double> | string<double>)[])[]

For a polygon geofence, the longitude/latitude pairs of the outside of the geofence.

center
null | (number<double> | string<double>)[]

For a circle geofence, the longitude and latitude of the center of the circle.

radius

For a circle geofence, the radius of the circle (in meters).

Response

OK

id
string<uuid>
required