Fuarlar ve leadler

Leadi getir

Lead ve ürün listesi (form seçenekleri için).

GET/api/v1/leads/{id}

Yetkilendirme

Authorizationheaderzorunlu
Bearer belirteci: API anahtarı (sk_…), OAuth erişim belirteci (mcp_…) ya da mobil oturum (xk_…).
Modül: Fuar leadleriKapsam: crm.read

Yol parametreleri

idintegerzorunlu
Lead kimliği.

Hatalar

HTTPerrorAnlamı
404not_foundKayıt bulunamadı.
İstek
curl https://ornek.solk.app/api/v1/leads/11 \
  -H "Authorization: Bearer $SOLK_API_KEY"
Yanıt
{
  "lead": {
    "can_edit": true,
    "city": "Konya",
    "company": "Anadolu Gıda Ambalaj",
    "contact_name": "Murat Er",
    "created_at": "2026-10-02T20:07:01",
    "customer_id": null,
    "email": "",
    "fair": "Ambalaj Fuarı 2026 (örnek)",
    "fair_id": 1,
    "id": 11,
    "initials": "AG",
    "interest": "Sıcak",
    "line": "",
    "next_action": "Numune gönder",
    "next_date": "2026-10-07",
    "note": "",
    "opp_id": null,
    "opp_type": "",
    "owner": {
      "full_name": "Deniz Aksoy",
      "id": 1,
      "role": "admin",
      "role_label": "Yönetici",
      "username": "admin"
    },
    "phone": "+90 533 555 33 44",
    "potential_kg": null,
    "products": "",
    "products_text": "",
    "project_note": "",
    "rid": "00QpWFogpnPsXu7",
    "sector": "",
    "status": "Yeni",
    "status_eff": "Yeni",
    "supplier": "",
    "task_id": 25,
    "timing": "",
    "title": "Genel Müdür",
    "unit": "kg",
    "visitor_type": "Potansiyel müşteri",
    "wa": "905335553344",
    "website": ""
  },
  "ok": true,
  "products": [
    {
      "id": 5,
      "name": "HS 30 Isıl Yapışma Laki"
    },
    {
      "id": 3,
      "name": "PU-SB 450 Solvent Bazlı Yapıştırıcı"
    }
  ]
}

Örnek yanıt örnek veriyle çalışan bir v22 kurulumundan alındı; listeler en çok iki öğeyle kısaltıldı.