Activities

Visits

The visit / activity list (by day, then entry time, newest first). Row: the visit fields + geo (location summary — only for the person who logged it and admins; null for others): st (ok at the company · far away · set the company location was saved from this visit · low uncertain · none no location), label, short, dist (m), in_time, out_time, duration (min), acc, in / out / firm ([lat, lng]), note, src (app · web · claude); plus time (arrival time, if allowed), user_id, customer_status, customer_city, can_edit, url. Response: rows, total, page, pages, has_next, stats (n, f2f, onsite, located, ok, located_pct, ok_pct, pending), scope, range, date_from, date_to, ranges, team (whether the team scope is available), geo_mode, radius.

GET/api/v1/visits

Authorization

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

Query parameters

scopestringoptional
mine (sales default), team the team I can see (admin default).
Valuesmineteam
rangestringoptionaldefault: 30
Period.
Valuestodayweekmonth3090all
date_from / date_tostringoptional
Date range (YYYY-MM-DD) — overrides the period.
typestringoptional
Activity type.
ValuesF2FOnlineCallDeneme
ownerintegeroptional
Salesperson (team scope).
customer_idintegeroptional
Only this company (period defaults to all).
qstringoptional
Search company, note, result or topic.
pendingbooleanoptional
Only those with an open next action.
geostringoptional
none on-site visits without a location, far away from the company (sales users: their own only).
Valuesnonefar
pageintegeroptionaldefault: 1
Page.
per_pageintegeroptionaldefault: 40
Per page (10–100).
Request
curl https://ornek.solk.app/api/v1/visits \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response