assistant
GET /v1/assistant/conversations
List your own assistant conversations.
Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Der Schlüssel muss über die Berechtigung tickets.reply verfügen; ein Schlüssel ohne diese wird mit 403 statt 404 abgelehnt.
Hier kommt Ihre Organisations-ID hin
Dieser Endpunkt akzeptiert org_id als Abfrageparameter. Lassen Sie ihn weg, erfasst der Aufruf Ihren gesamten Mandanten-Unterbaum; übergeben Sie ihn, um den Aufruf auf eine Organisation einzugrenzen.
Die ID Ihrer Organisation finden Sie im Dashboard auf dem Bildschirm für API-Schlüssel direkt neben dem Schlüssel selbst. Sie ist bei jedem Ihrer Aufrufe dieselbe.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X GET https://api.zinndigital.com/v1/assistant/conversations \
-H "Authorization: Bearer zdk_live_…"Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
Details
⛔ **Your own**, not your organization's. RLS scopes rows to a tenant and has no opinion about which colleague wrote them; an agency thread that starts "my card keeps getting declined" is not something every member should read back, so this filters on the calling user as well. An API-key principal has no user and cannot use this surface at all. Requires `tickets.reply`.
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
cursor (query) | string | Nein | Opaque cursor from a previous page's `page.next_cursor`. |
limit (query) | integer | Nein | Maximum items to return (page size). |
org_id (query) | Uuid | Nein | Narrow to one organization. ⛔ Narrows, never widens: the base set is always what you may act in, and an `org_id` you cannot act in intersects to nothing rather than raising — a… |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
data | AssistantConversation[] | Ja | — |
page | PageMeta | Ja | — |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 422 · 429