Çalışma alanı
Bugün
Kullanıcının günü: bugünün toplantıları ve aksiyonları, gecikenler, son açılan kayıtlar (firma, fırsat, kişi, lead) ve bu haftanın ziyaret / görev hedefleri. Mobil uygulamanın ana ekranı bu yanıttan çizilir.
Yetkilendirme
AuthorizationheaderzorunluBearer belirteci: API anahtarı (sk_…), OAuth erişim belirteci (mcp_…) ya da mobil oturum (xk_…).
Kapsam:
crm.readİstek
curl https://ornek.solk.app/api/v1/today \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/today", {
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/today",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Yanıt
{
"cards": {
"contacts": {
"mine": [
{
"customer": "Orkide Medikal Ambalaj Ltd. Şti.",
"customer_id": 30,
"department": "Üretim",
"email": "ugur.ozkan@orkidemedikal.example",
"id": 57,
"is_former": false,
"is_main": true,
"name": "Uğur Özkan",
"note": "",
"phone": "0 (262) 000 91 77",
"rid": "003UtLRXe1kv8yw",
"title": "Üretim Müdürü",
"wa": "902620009177"
}
],
"n": {
"mine": 57,
"recent": 0,
"team": 57
},
"recent": [],
"team": [
{
"customer": "Orkide Medikal Ambalaj Ltd. Şti.",
"customer_id": 30,
"department": "Üretim",
"email": "ugur.ozkan@orkidemedikal.example",
"id": 57,
"is_former": false,
"is_main": true,
"name": "Uğur Özkan",
"note": "",
"phone": "0 (262) 000 91 77",
"rid": "003UtLRXe1kv8yw",
"title": "Üretim Müdürü",
"wa": "902620009177"
}
]
},
"customers": {
"mine": [
{
"active": true,
"at_risk": false,
"city": "Bursa",
"currency": "EUR",
"currency_default": "",
"id": 25,
"initials": "AE",
"last_visit": "2026-10-13",
"main_contact": {
"email": "kaan.ozkan@akasyaesnek.example",
"name": "Kaan Özkan",
"phone": "0 (224) 000 17 41",
"wa": "902240001741"
},
"name": "Akasya Esnek Ambalaj San. ve Tic. A.Ş.",
"next_visit_due": "2027-04-11",
"open_opps": 1,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"pending_state": "soon",
"period": 180,
"phone": "0 (224) 000 35 36",
"potential_kg": 40000.0,
"rid": "001pQYqGKYBjp4u",
"sector": "Esnek ambalaj",
"status": "Prospect",
"status_label": "Prospect",
"unit": "kg",
"visit_overdue_days": -178,
"visit_state": "ok"
}
],
"n": {
"mine": 30,
"recent": 0,
"team": 30
},
"recent": [],
"team": [
{
"active": true,
"at_risk": false,
"city": "Bursa",
"currency": "EUR",
"currency_default": "",
"id": 25,
"initials": "AE",
"last_visit": "2026-10-13",
"main_contact": {
"email": "kaan.ozkan@akasyaesnek.example",
"name": "Kaan Özkan",
"phone": "0 (224) 000 17 41",
"wa": "902240001741"
},
"name": "Akasya Esnek Ambalaj San. ve Tic. A.Ş.",
"next_visit_due": "2027-04-11",
"open_opps": 1,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"pending_state": "soon",
"period": 180,
"phone": "0 (224) 000 35 36",
"potential_kg": 40000.0,
"rid": "001pQYqGKYBjp4u",
"sector": "Esnek ambalaj",
"status": "Prospect",
"status_label": "Prospect",
"unit": "kg",
"visit_overdue_days": -178,
"visit_state": "ok"
}
]
},
"leads": {
"mine": [
{
"can_edit": true,
"city": "Bursa",
"company": "Işıltı Ambalaj San. Tic. Ltd. Şti.",
"contact_label": "Mehmet Arslan · Kalite Kontrol Müdürü",
"contact_name": "Mehmet Arslan",
"created_at": "2026-09-10T14:10:00",
"customer_id": null,
"email": "mehmet@isiltiambalajsanti.example",
"fair": "Ambalaj Fuarı 2026 (örnek)",
"fair_id": 1,
"id": 4,
"initials": "IA",
"interest": "Soğuk",
"line": "",
"link_contact_id": null,
"link_customer": "",
"link_customer_id": null,
"next_action": "Numune gönder",
"next_date": "2026-10-20",
"note": "Stantta görüşüldü.",
"opp_id": null,
"opp_type": "Mevcut Müşteri — Değişim",
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"people": [],
"phone": "0 (224) 000 96 45",
"potential_kg": 6000.0,
"products": "4",
"products_text": "",
"project_note": "",
"rid": "00QC2c7qPmLvFuj",
"sector": "Gıda ambalajı",
"status": "Teklif verildi",
"status_eff": "Teklif verildi",
"supplier": "Mevcut tedarikçi (Asya)",
"task_id": null,
"timing": "6 ay içinde",
"title": "Kalite Kontrol Müdürü",
"unit": "kg",
"visitor_type": "Potansiyel müşteri",
"wa": "902240009645",
"website": ""
}
],
"n": {
"mine": 7,
"recent": 0,
"team": 1
},
"recent": [],
"team": [
{
"can_edit": true,
"city": "Sakarya",
"company": "Martılı Ambalaj A.Ş.",
"contact_label": "Ayşe Güler · Üretim Müdürü",
"contact_name": "Ayşe Güler",
"created_at": "2026-09-07T13:10:00",
"customer_id": null,
"email": "ayse@martiliambalajas.example",
"fair": "Ambalaj Fuarı 2026 (örnek)",
"fair_id": 1,
"id": 9,
"initials": "MA",
"interest": "Sıcak",
"line": "",
"link_contact_id": null,
"link_customer": "",
"link_customer_id": null,
"next_action": "Numune gönder",
"next_date": "2026-10-26",
"note": "Stantta görüşüldü.",
"opp_id": null,
"opp_type": "Yeni Müşteri",
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"people": [],
"phone": "0 (264) 000 51 74",
"potential_kg": 6000.0,
"products": "4",
"products_text": "",
"project_note": "",
"rid": "00QEAXDHLftWsdv",
"sector": "İlaç / medikal ambalaj",
"status": "Yeni",
"status_eff": "Yeni",
"supplier": "İthal rakip (Almanya)",
"task_id": null,
"timing": "Belirsiz",
"title": "Üretim Müdürü",
"unit": "kg",
"visitor_type": "Potansiyel müşteri",
"wa": "902640005174",
"website": ""
}
]
},
"opps": {
"mine": [
{
"bant": 4,
"base_currency": "EUR",
"close_date": "2026-11-30",
"cur_sym": "€",
"currency": "EUR",
"customer": "Begonya Esnek Ambalaj A.Ş.",
"customer_city": "Kocaeli",
"customer_id": 16,
"days_in_stage": 21,
"detail_status": "",
"fc": "Commit",
"health": {
"grade": "success",
"label": "sağlıklı",
"score": 100
},
"health_color": "g",
"health_manual": false,
"health_note": "",
"id": 16,
"initials": "BE",
"is_account": false,
"is_open": true,
"last_update": "2026-10-15",
"lifetime_left": 105,
"line": "",
"name": "Mevcut Müşteri — Değişim · 2026",
"next_step": "Vade ve teslim koşullarını görüş",
"offer_price": 4.08,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"payment_days": 60,
"potential_kg": 4000.0,
"prob": 0.75,
"probability": null,
"product": "PU-SL 200 Solventsiz Laminasyon Yapıştırıcısı",
"product_id": 1,
"pu": "€/kg",
"rid": "006dm3NAlrDwX4B",
"sla_days": 30,
"sla_left": 9,
"source": "Bayi / distribütör",
"stage": "Negotiation",
"stage_label": "Negotiation",
"start_date": "2026-08-01",
"trend": "",
"trend_label": "Otomatik",
"type": "Mevcut Müşteri — Değişim",
"unit": "kg",
"unit_code": "kg",
"value": 195840.0,
"value_base": 195840.0,
"value_short": "196K"
}
],
"n": {
"mine": 28,
"recent": 0,
"team": 28
},
"recent": [],
"team": [
{
"bant": 4,
"base_currency": "EUR",
"close_date": "2026-11-30",
"cur_sym": "€",
"currency": "EUR",
"customer": "Begonya Esnek Ambalaj A.Ş.",
"customer_city": "Kocaeli",
"customer_id": 16,
"days_in_stage": 21,
"detail_status": "",
"fc": "Commit",
"health": {
"grade": "success",
"label": "sağlıklı",
"score": 100
},
"health_color": "g",
"health_manual": false,
"health_note": "",
"id": 16,
"initials": "BE",
"is_account": false,
"is_open": true,
"last_update": "2026-10-15",
"lifetime_left": 105,
"line": "",
"name": "Mevcut Müşteri — Değişim · 2026",
"next_step": "Vade ve teslim koşullarını görüş",
"offer_price": 4.08,
"owner": {
"color": "#5867e8",
"full_name": "Deniz Aksoy",
"id": 1,
"photo": null,
"role": "admin",
"role_label": "Yönetici",
"username": "admin"
},
"payment_days": 60,
"potential_kg": 4000.0,
"prob": 0.75,
"probability": null,
"product": "PU-SL 200 Solventsiz Laminasyon Yapıştırıcısı",
"product_id": 1,
"pu": "€/kg",
"rid": "006dm3NAlrDwX4B",
"sla_days": 30,
"sla_left": 9,
"source": "Bayi / distribütör",
"stage": "Negotiation",
"stage_label": "Negotiation",
"start_date": "2026-08-01",
"trend": "",
"trend_label": "Otomatik",
"type": "Mevcut Müşteri — Değişim",
"unit": "kg",
"unit_code": "kg",
"value": 195840.0,
"value_base": 195840.0,
"value_short": "196K"
}
]
}
},
"day_label": "Perşembe, 15 Ekim 2026",
"events": [
{
"act": {
"addr": "Kayseri Organize Sanayi Bölgesi, 1. Cadde No: 46, Kayseri, Kayseri",
"c": 4,
"mail": "nazli.aydin@ihlamurmatbaacilik.example",
"n": "Ihlamur Matbaacılık A.Ş.",
"tel": "0 (352) 000 57 99",
"url": "/customers/4",
"wa": "903520005799",
"who": "Nazlı Aydın"
},
"customer_id": 4,
"date": "2026-10-15",
"kind": "event",
"sub": "Online toplantı · Ihlamur Matbaacılık A.Ş.",
"time": "10:00",
"title": "Kalite toplantısı · Ihlamur",
"url": "/takvim/e/9"
},
{
"act": {
"addr": "Denizli Organize Sanayi Bölgesi, 12. Cadde No: 67, Denizli, Denizli",
"c": 5,
"mail": "kerem.guler@leylaketiket.example",
"n": "Leylak Etiket San. ve Tic. A.Ş.",
"tel": "0 (258) 000 68 56",
"url": "/customers/5",
"wa": "902580006856",
"who": "Kerem Güler"
},
"customer_id": 5,
"date": "2026-10-15",
"kind": "event",
"sub": "Online toplantı · Leylak Etiket San. ve Tic. A.Ş.",
"time": "14:00",
"title": "Tanışma ve ihtiyaç analizi · Leylak",
"url": "/takvim/e/10"
}
],
"focus": [
{
"cls": "bad",
"text": "6 gecikmiş aksiyon"
},
{
"cls": "warn",
"text": "4 aksiyon bugün"
}
],
"greeting": "Günaydın",
"ok": true,
"today": "2026-10-15",
"todos": {
"all": [
{
"customer": "Lotus Medikal Ambalaj San. Tic. Ltd. Şti.",
"customer_id": 3,
"date": "2026-10-09",
"icon": "📋",
"id": 1,
"key": "task:1",
"kind": "task",
"label": "Numune sonucu için ara",
"opp": "Yeni Müşteri · 2026",
"opp_id": 33,
"src": "Görev",
"state": "overdue",
"url": "/action/task/1"
}
],
"overdue": [
{
"customer": "Lotus Medikal Ambalaj San. Tic. Ltd. Şti.",
"customer_id": 3,
"date": "2026-10-09",
"icon": "📋",
"id": 1,
"key": "task:1",
"kind": "task",
"label": "Numune sonucu için ara",
"opp": "Yeni Müşteri · 2026",
"opp_id": 33,
"src": "Görev",
"state": "overdue",
"url": "/action/task/1"
}
],
"today": [
{
"customer": "Işıltı Film A.Ş.",
"customer_id": 8,
"date": "2026-10-15",
"icon": "📋",
"id": 2,
"key": "task:2",
"kind": "task",
"label": "Teklif revizyonunu gönder",
"opp": "",
"opp_id": null,
"src": "Görev",
"state": "soon",
"url": "/action/task/2"
}
]
},
"unread": 0,
"week": {
"demos": 2,
"f2f": 6,
"f2f_target": 6,
"label": "12–18 Ekim",
"sub_fresh": false,
"sub_week": null,
"tasks_done": 2,
"tasks_target": 14,
"visit_target": 10,
"visits": 8
}
}Örnek yanıt örnek veriyle çalışan bir v98 kurulumundan alındı; listeler en çok iki öğeyle kısaltıldı.