Saltar al contingut principal
GET
curl
L’API List Conversations de Didit retorna les converses de la teva aplicació, cadascuna amb el membre que n’és el propietari i el nombre de respostes no llegides. Una conversa agrupa tots els missatges intercanviats amb una persona, en tots els canals. Filtra amb status (open, needs_reply o closed) i assignee, i pagina amb limit i offset. assignee accepta l’id d’un membre, tal com el mostra el camp assignee d’una conversa, i només llista les converses assignades a aquest membre. unread_count compta les respostes que han arribat des que la conversa es va llegir per última vegada amb read_up_to; pertany a la conversa, no a un membre. Una clau d’API amb permisos limitats necessita accés de lectura a missatges i a sessions, i li són aplicables els seus límits de flux de treball i de sessions només aprovades: una conversa que quedi fora d’aquests límits no s’inclou a la llista.
Relacionat: assignar una conversa o marcar-la com a llegida i subscriure una URL als esdeveniments d’una conversa.

Autoritzacions

x-api-key
string
header
requerit

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.

Paràmetres de consulta

status
enum<string>

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

Opcions disponibles:
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
predeterminat:20
Rang requerit: 1 <= x <= 100
offset
integer
predeterminat:0
Rang requerit: x >= 0

Resposta

A page of conversations.

count
integer
requerit
next
string<uri> | null
requerit
previous
string<uri> | null
requerit
results
object[]
requerit
Darrera modificació el 24 de novembre del 2026