POST /push/v1/location

Creates a new location.

NameTypeDescription
namestringRequiredName of the location
locationstringText defining the location; usually a physical or mailing address
descriptionstringDescription or notes for the location
centerobjectCenter point of the location circle
center.latitudedecimalGeographic latitude of the location center
center.longitudedecimalGeographic longitude of the location center
radiusintegerRadius of the location circle in meters
attributesarrayList of attributes for the location
attributes.attributestringName of the attribute
attributes.valuestringValue for the attribute
locationTypeintegerIndicates whether this is a geofence or beacon location. If not specified, it defaults to geofence. To specify, use 1 for geofence or 3 for beacon.
proximityUuidstringUnique identifier used to distinguish one beacon from another. Required if creating a beacon location. This number is found on the beacon hardware. Enter the UUID exactly as listed.
majorintegerSpecifies a particular beacon within a group. Required if creating a beacon location. This number is found on the beacon hardware. Enter this number exactly as listed.
minorintegerGroups a related set of beacons. Required if creating a beacon location. This number is found on the beacon hardware. Enter this number exactly as listed.

Example Request

Example Response