メインコンテンツへスキップ
GET
curl
DiditのList Conversations APIは、アプリケーションの会話を、会話の担当メンバーと未読の返信数とともに返します。 会話は、1人の相手とすべてのチャネルでやり取りしたメッセージをまとめたものです。 status(open、needs_reply、closed)とassigneeで絞り込み、limitとoffsetでページングできます。 assigneeにはメンバーIDを指定します。会話のassigneeに表示される値をそのまま指定します。指定すると、そのメンバーに割り当てられた会話だけが一覧に含まれます。 unread_countは、会話が最後にread_up_toで既読になった後に届いた返信の数を数えます。メンバーではなく会話に属します。 スコープ付きAPIキーには、メッセージとセッションへの読み取り権限が必要です。また、そのキーのワークフローと承認済みセッションのみの制限が適用されます。これらの制限の対象外の会話は、一覧から除外されます。
関連:会話を割り当てる、または既読にするとURLを1件の会話のイベントに登録する。

承認

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[]
必須
最終更新日 2026年11月24日