Docs
Geocode
POST /maps/geocode
POST
/maps/geocodeGeocodes 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
| Field | Type | Required | Description |
|---|---|---|---|
| address | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| provider | string| null | |
| formattedAddress | string| null | |
| latitude | number | |
| longitude | number | |
| components | LocationComponents | |
| timeZone | string| null |
LocationComponents
| Field | Type | Description |
|---|---|---|
| street | string| null | |
| city | string| null | |
| region | string| null | |
| postalCode | string| null | |
| country | string| null |