Booked appointments nearest a contact's address
Returns up to limit appointments within radius_miles of the given contact, one row per neighbouring contact, ranked by straight-line distance. est_drive_minutes is an ESTIMATE derived from that straight line at an assumed 30mph — it is NOT a routed drive time and must be labelled as an estimate wherever it is displayed. Gated by the NEARBY_APPOINTMENTS workspace feature flag (404 when off).
GET
https://api.channelautomation.com/api/nearby-appointmentsQuery parameters
Returns
200
Nearby appointments, plus a state naming why the list may be empty: ok (rows returned), no_neighbors (contact geocoded, nothing in radius), not_geocoded (no coordinates yet), or no_address (contact has no usable address to geocode).
