Workspace
Sales dashboard
Opportunity count and value per stage (in base currency), SLA overruns, companies due for a visit, next steps, upcoming items and weekly targets.
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope:
crm.readQuery parameters
scopestringoptionalEmpty = default for my role,
team = whole team (admins).Request
curl https://ornek.solk.app/api/v1/dashboard \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/dashboard", {
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
},
});
const data = await res.json();import os, requests
r = requests.get(
"https://ornek.solk.app/api/v1/dashboard",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Response
{
"k": {
"ac": 9,
"at_risk": 0,
"demo_all": 28,
"demo_ok": 22,
"demo_open": 6,
"ok_visits": 29,
"open_actions": 16,
"opp_value": 9659660.0,
"opp_weighted": 4851231.0,
"opps": 28,
"overdue_actions": 6,
"overdue_visits": 1,
"pot_kg": 331000.0,
"prospect": 21,
"prospect_pot": 21,
"soon_actions": 33,
"soon_visits": 0
},
"last_demos": [
{
"action_date": "2026-10-16",
"action_done": false,
"action_state": "soon",
"customer_id": 22,
"date": "2026-10-14",
"id": 22,
"line": "",
"next_action": "Takip",
"opp_id": 22,
"product": "WB 120 Su Bazlı Laminasyon",
"product_id": 4,
"result": "Beklemede",
"rid": "a0D1aGtjQqA9BQV",
"status": "Deneme Gerçekleştirilmeye Devam Ediyor",
"tech_note": "Numune hatta; sonuç bekleniyor.",
"user": "Deniz Aksoy"
},
{
"action_date": "2026-10-20",
"action_done": false,
"action_state": "soon",
"customer_id": 20,
"date": "2026-10-14",
"id": 20,
"line": "",
"next_action": "Takip",
"opp_id": 20,
"product": "PU-SB 450 Solvent Bazlı Yapıştırıcı",
"product_id": 3,
"result": "Beklemede",
"rid": "a0DPNIHtEwRDW8D",
"status": "Deneme Gerçekleştirilmeye Devam Ediyor",
"tech_note": "Numune hatta; sonuç bekleniyor.",
"user": "Deniz Aksoy"
}
],
"mine": false,
"n_actions": 55,
"never_visited": 0,
"next_steps": [
{
"bant": 4,
"base_currency": "EUR",
"close_date": "2026-12-09",
"cur_sym": "€",
"currency": "EUR",
"customer": "Yıldızlı Paketleme San. Tic. Ltd. Şti.",
"customer_city": "Denizli",
"customer_id": 19,
"days_in_stage": 69,
"detail_status": "",
"fc": "Best Case",
"health": {
"grade": "warning",
"label": "dikkat",
"score": 69
},
"health_color": "g",
"health_manual": true,
"health_note": "",
"id": 19,
"initials": "YP",
"is_account": false,
"is_open": true,
"last_update": "2026-10-15",
"lifetime_left": 89,
"line": "",
"name": "Mevcut Müşteri — Yenileme · 2026",
"next_step": "Deneme tarihini planla",
"offer_price": null,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"payment_days": null,
"potential_kg": 1500.0,
"prob": 0.5,
"probability": null,
"product": "HS 30 Isıl Yapışma Laki",
"product_id": 5,
"pu": "€/kg",
"rid": "0062WAuTnZZSlI8",
"sla_days": 60,
"sla_left": -9,
"source": "Web formu",
"stage": "Present Solution",
"stage_label": "Present Solution",
"start_date": "2026-07-16",
"trend": "up",
"trend_label": "Yeşil",
"type": "Mevcut Müşteri — Yenileme",
"unit": "kg",
"unit_code": "kg",
"value": 115000.0,
"value_base": 115000.0,
"value_short": "115K"
},
{
"bant": 4,
"base_currency": "EUR",
"close_date": "2026-12-31",
"cur_sym": "€",
"currency": "EUR",
"customer": "Yasemin Lamine Film A.Ş.",
"customer_city": "Sakarya",
"customer_id": 24,
"days_in_stage": 68,
"detail_status": "",
"fc": "Best Case",
"health": {
"grade": "warning",
"label": "dikkat",
"score": 64
},
"health_color": "y",
"health_manual": false,
"health_note": "",
"id": 24,
"initials": "YL",
"is_account": false,
"is_open": true,
"last_update": "2026-10-06",
"lifetime_left": 82,
"line": "",
"name": "Mevcut Müşteri — Değişim · 2026",
"next_step": "Deneme tarihini planla",
"offer_price": null,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"payment_days": null,
"potential_kg": 18000.0,
"prob": 0.5,
"probability": null,
"product": "HS 30 Isıl Yapışma Laki",
"product_id": 5,
"pu": "€/kg",
"rid": "006jIyeslCOuRAw",
"sla_days": 60,
"sla_left": -8,
"source": "Web formu",
"stage": "Present Solution",
"stage_label": "Present Solution",
"start_date": "2026-07-09",
"trend": "",
"trend_label": "Otomatik",
"type": "Mevcut Müşteri — Değişim",
"unit": "kg",
"unit_code": "kg",
"value": 1382000.0,
"value_base": 1382000.0,
"value_short": "1,38M"
}
],
"ok": true,
"sla_over": 6,
"stage_counts": {
"Expect to Close": 4,
"Negotiation": 5,
"Present Solution": 6,
"Qualify": 7,
"Viable": 6
},
"stage_value": {
"Expect to Close": 1416240.0,
"Negotiation": 2424420.0,
"Present Solution": 2536000.0,
"Qualify": 2203000.0,
"Viable": 1080000.0
},
"upcoming": [
{
"date": "2026-10-15",
"head": "Reyhan Paketleme Ltd. Şti.",
"kind": "opp",
"sub": "Proje #10 · Expect to Close · sonraki adım",
"url": "/opportunities/10"
},
{
"date": "2026-10-15",
"head": "Ihlamur Matbaacılık A.Ş.",
"kind": "opp",
"sub": "Proje #34 · Qualify · sonraki adım",
"url": "/opportunities/34"
}
],
"visit_due": [
{
"active": true,
"at_risk": false,
"city": "Adana",
"currency": "EUR",
"currency_default": "",
"id": 9,
"initials": "KP",
"last_visit": "2026-07-15",
"main_contact": {
"email": "ayse.aydin@kumsalplastik.example",
"name": "Ayşe Aydın",
"phone": "0 (322) 000 80 24",
"wa": "903220008024"
},
"name": "Kumsal Plastik Ambalaj San. ve Tic. A.Ş.",
"next_visit_due": "2026-10-13",
"open_opps": 0,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"pending_state": null,
"period": 90,
"phone": "0 (322) 000 53 49",
"potential_kg": 12000.0,
"rid": "001RHRj4UITMyKy",
"sector": "Esnek ambalaj",
"status": "AC",
"status_label": "Aktif Müşteri",
"unit": "kg",
"visit_overdue_days": 2,
"visit_state": "overdue"
}
],
"week": {
"demos": 2,
"f2f": 6,
"f2f_target": 6,
"label": "12–18 Ekim",
"n_sales": 1,
"sub_fresh": false,
"tasks_done": 2,
"tasks_due": 12,
"tasks_target": 14,
"visit_target": 10,
"visits": 8,
"we": "2026-10-18",
"ws": "2026-10-12"
}
}Example responses were captured from a v98 installation running sample data; lists are shortened to two items.