मुख्य सामग्री पर जाएं
GET
curl
Didit की List Conversations API आपके एप्लिकेशन की बातचीतें लौटाती है। हर बातचीत के साथ उसका मालिक सदस्य और अपठित जवाबों की संख्या भी मिलती है। एक बातचीत में किसी एक व्यक्ति के साथ हर चैनल पर हुए सभी संदेश एक साथ समूहित होते हैं। status (open, needs_reply या closed) और assignee से फ़िल्टर करें, और limit तथा offset से पेज करें। assignee एक सदस्य ID लेता है, ठीक वैसा ही जैसा किसी बातचीत के assignee में दिखता है, और केवल उसी सदस्य को सौंपी गई बातचीतें सूची में लाता है। unread_count उन जवाबों को गिनता है जो बातचीत को read_up_to से आख़िरी बार पढ़े जाने के बाद आए हैं। यह बातचीत से जुड़ा होता है, किसी सदस्य से नहीं। स्कोप्ड API कुंजी को संदेशों और सत्रों, दोनों के लिए पढ़ने की पहुँच चाहिए। उस पर उसके वर्कफ़्लो और केवल स्वीकृत सत्रों की सीमाएँ भी लागू होती हैं। जो बातचीत इन सीमाओं से बाहर है, वह सूची में शामिल नहीं होती।
संबंधित: बातचीत को असाइन करें या पढ़ा हुआ चिह्नित करें और एक बातचीत की घटनाओं के लिए एक URL सब्सक्राइब करें।

प्राधिकरण

x-api-key
string
header
आवश्यक

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

क्वेरी पैरामीटर

status
enum<string>

needs_reply: the person wrote last and nobody answered yet. closed: a team member closed the thread.

उपलब्ध विकल्प:
open,
needs_reply,
closed
assignee
string

A member's id, exactly as assignee shows it on a conversation: only the conversations assigned to that member are listed. The value is compared as it is; this operation takes your application's credential, which has no member behind it.

Maximum string length: 64
limit
integer
डिफ़ॉल्ट:20
आवश्यक सीमा: 1 <= x <= 100
offset
integer
डिफ़ॉल्ट:0
आवश्यक सीमा: x >= 0

प्रतिक्रिया

A page of conversations.

count
integer
आवश्यक
next
string<uri> | null
आवश्यक
previous
string<uri> | null
आवश्यक
results
object[]
आवश्यक
अंतिम संशोधन 24 नवंबर 2026