Docs

Geocode

POST /maps/geocode

POST/maps/geocode

Geocodes an address into a Location value (address, coordinates and address parts) ready to save on a Location attribute or as an event's geolocation (Events_SetEventGeolocation). 404 when nothing matches, 400 when Location search is unavailable. Needs organization or event basic access.

Request Body

FieldTypeRequiredDescription
addressstringOptional

Response

FieldTypeDescription
providerstring| null
formattedAddressstring| null
latitudenumber
longitudenumber
componentsLocationComponents
timeZonestring| null

LocationComponents

FieldTypeDescription
streetstring| null
citystring| null
regionstring| null
postalCodestring| null
countrystring| null