Vai al contenuto principale
GET
curl
L’API List Conversations di Didit restituisce le conversazioni della tua applicazione, ciascuna con il membro che ne è il titolare e il numero di risposte non lette. Una conversazione raggruppa tutti i messaggi scambiati con una persona, su ogni canale. Filtra con status (open, needs_reply o closed) e assignee, e impagina con limit e offset. assignee accetta l’ID di un membro, esattamente come lo mostra assignee di una conversazione, e restituisce solo le conversazioni assegnate a quel membro. unread_count conta le risposte arrivate dall’ultima volta che la conversazione è stata letta con read_up_to; appartiene alla conversazione, non a un membro. Una chiave API con ambito limitato richiede l’accesso in lettura ai messaggi e alle sessioni, e si applicano i suoi limiti di workflow e di sessioni solo approvate: una conversazione che ne è esclusa non compare nell’elenco.
Contenuti correlati: assegna una conversazione o segnala come letta e registra un URL per ricevere gli eventi di una singola conversazione.

Autorizzazioni

x-api-key
string
header
obbligatorio

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.

Parametri della query

status
enum<string>

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

Opzioni disponibili:
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
predefinito:20
Intervallo richiesto: 1 <= x <= 100
offset
integer
predefinito:0
Intervallo richiesto: x >= 0

Risposta

A page of conversations.

count
integer
obbligatorio
next
string<uri> | null
obbligatorio
previous
string<uri> | null
obbligatorio
results
object[]
obbligatorio
Ultima modifica il 24 novembre 2026