Create a rectangular geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Create a rectangular Geofence within REVEAL. If only an Address is provided, the Geofence is created referencing that address. If only coordinates are provided, it is created referencing the latitude and longitude (an error is returned if either latitude or longitude is missing). If both address and coordinates are provided, the coordinate values are used. All Geofences created with POST are assigned to the ENTIRE FLEET group; use the Customer Meta Data Group API to change group assignment. A Category Name may be supplied but must already exist within REVEAL and match exactly, otherwise an error is returned.

post
https://api.us.vzconnect.com/geo/v1/geofences/rectangles

Body

application/json

Rectangle geofence details including corner coordinates.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.

Example:996788

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.

Example:41.391756

Longitudenumber(double)

The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.

Example:-81.670929

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

Response

application/json

Rectangular geofence successfully created.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.

Example:996788

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.

Example:41.391756

Longitudenumber(double)

The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.

Example:-81.670929

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

 
application/json

Update a rectangular geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Edit an existing rectangular Geofence within REVEAL. If only an Address is provided, the address is referenced. If only coordinates are provided, the latitude and longitude are referenced (an error is returned if either is missing). If both are provided, the coordinate values are used. A Category Name may be supplied but must already exist within REVEAL and match exactly, otherwise an error is returned. PUT methods do not return an object review; the response is limited to standard HTTP codes. The PlaceID in the path identifies the Geofence.

put
https://api.us.vzconnect.com/geo/v1/geofences/rectangles/{placeid}

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the Geofence within the REVEAL account.

Example:996788

Body

application/json

Updated rectangle geofence details.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.

Example:996788

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.

Example:41.391756

Longitudenumber(double)

The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.

Example:-81.670929

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

Response

Rectangular geofence successfully updated.

 

Retrieve spatial data for a rectangular geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Retrieve the granular spatial data for a rectangular Geofence identified by its PlaceID.

get
https://api.us.vzconnect.com/geo/v1/geofences/rectangles/{placeid}/spatialdata

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the rectangular Geofence within the REVEAL account.

Example:369852

Response

application/json

Successfully retrieved spatial data for the rectangular geofence.

RectangleSpatialData

Granular spatial data for a rectangular Geofence.

ShapeTypestring

Circle, Rectangle, or Polygon.

Example:Rectangle

Latitudenumber(double)

Example:53.389422

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:0.3130492799997731

Longitudenumber(double)

Example:-2.925248

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:0.40642887541418127

 
application/json

Retrieve a specific geofence by PlaceID.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Retrieve details regarding a specific Geofence identified by its PlaceID.

get
https://api.us.vzconnect.com/geo/v1/geofences/{placeid}

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the Geofence within the REVEAL account.

Example:369852

Response

application/json

Successfully retrieved the geofence details.

GeofenceByIdResponse

The details of a specific Geofence retrieved by Place ID.

geofenceobject
Show Child Parameters
_linksobject
Show Child Parameters
 
application/json

Delete a geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Delete any Geofence shape type from a REVEAL account. The DELETE Geofence method does not return an object review; the response is limited to standard HTTP codes.

delete
https://api.us.vzconnect.com/geo/v1/geofences/{placeid}

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the Geofence within the REVEAL account.

Example:369852

Response

application/json

Geofence successfully deleted.

 
application/json