Docs

Set Event Geolocation

PATCH /events/{eventId}/geolocation

PATCH/events/{eventId}/geolocation

Sets the event's geolocation from a Location value (from Maps_Geocode), or clears it when geolocation is null. Looks up and stores the IANA time zone at the value's coordinates; event times keep their clock times. Independent of the event's location (Events_SetLocation). Needs event settings permission, or an organization token for an admin of the owning organization. 400 when the value is malformed or Location search is unavailable.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired

Request Body

FieldTypeRequiredDescription
geolocationJsonElementOptional

Response

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

LocationComponents

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