Activities

Distance reference for a company

A company's reference point for the live distance on the visit form: geo = the company location (base: firm) or the approximate point found from its address (base: addr, precision prec · prec_l, tolerance tol (m), label, src: google · osm — a Google point may be shown only on a Google map, label carries the “Google Maps” attribution) or null. Also addr_state (ok · none not found · noaddr no address · pending · off), radius, set_acc, low_acc. The first lookup of an address can take a few seconds; the result is cached. found: false when the company isn't found. Rule: at the company location, distance − min(accuracy, 300) ≤ radius → at the company; at the address, distance − min(accuracy, 300) − tolerance > radius → away.

GET/api/v1/visits/firm-geo

Authorization

Authorizationheaderrequired
Bearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Module: Visits / ActivitiesScope: crm.read

Query parameters

customer_idintegeroptional
Company id.
namestringoptional
Company name (when no id).
Request
curl https://ornek.solk.app/api/v1/visits/firm-geo \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response