Routen für API-Clients
Jede Route, die ein OAuth2-Client-Zugriffstoken aufrufen kann, mit dem nötigen Scope.
curl -X POST https://api.ziqme.com/api/v1/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "scope=tickets.read"tickets.read
Tickets, ihre öffentlichen Kommentare und ihre Aktivität lesen. Interne Notizen und Kommentareinträge in der Aktivität sind ausgenommen, und Autoren-E-Mails sind leer. Kontaktdaten des Kunden und benutzerdefinierte Felder eines Tickets erfordern zusätzlich customers.read.
- GEThttps://api.ziqme.com/api/v1/tickets
- GEThttps://api.ziqme.com/api/v1/tickets/search
- GEThttps://api.ziqme.com/api/v1/tickets/{id}
- GEThttps://api.ziqme.com/api/v1/tickets/{id}/activities
- GEThttps://api.ziqme.com/api/v1/tickets/{id}/comments
- GEThttps://api.ziqme.com/api/v1/tickets/{ticketId}/comments/{commentId}
tickets.write
Tickets mit Betreff, Beschreibung, Kunde, Priorität, Kategorie und Sprache erstellen, Status und Priorität ändern und öffentliche Kommentare hinzufügen. Ein Ticket kann nicht auf Merged gesetzt werden, und ein zusammengeführtes Ticket ändert seinen Status nicht. Enthält nicht tickets.read.
- POSThttps://api.ziqme.com/api/v1/tickets
- PUThttps://api.ziqme.com/api/v1/tickets/{id}
- POSThttps://api.ziqme.com/api/v1/tickets/{id}/comments
customers.read
Kunden und ihre Kontaktdaten lesen. Freitext-Notizen sind ausgenommen. Alle drei Routen setzen das Produkt Customer im Tarif des Workspace voraus.
- GEThttps://api.ziqme.com/api/v1/customers
- GEThttps://api.ziqme.com/api/v1/customers/{id}
- GEThttps://api.ziqme.com/api/v1/customers/lookup
knowledge.read
Veröffentlichte Artikel in öffentlichen Wissensdatenbanken und ihre Kategorien lesen. Autoren-E-Mails sind leer.
- GEThttps://api.ziqme.com/api/v1/knowledge
- GEThttps://api.ziqme.com/api/v1/knowledge/{id}
- GEThttps://api.ziqme.com/api/v1/knowledge/articles
- GEThttps://api.ziqme.com/api/v1/knowledge/articles/{id}
- GEThttps://api.ziqme.com/api/v1/knowledge/articles/search
- GEThttps://api.ziqme.com/api/v1/knowledge/categories
- GEThttps://api.ziqme.com/api/v1/knowledge/categories/{slug}
chatbot.read
Chatbot-Widgets, Unterhaltungen und ihre Nachrichten, Analysen sowie Wissensdatenbanken mit ihren Dokumenten lesen. Jede Route setzt das Produkt Chatbot im Tarif voraus, die beiden Analyse-Routen zusätzlich das Modul Bot Analytics. Die Sitzungskennung einer Unterhaltung ist leer, und Widgets enthalten nie das Geheimnis für die Besucheridentität.
- GEThttps://api.ziqme.com/api/v1/chatbot/widgets
- GEThttps://api.ziqme.com/api/v1/chatbot/widgets/{id}
- GEThttps://api.ziqme.com/api/v1/chatbot/conversations
- GEThttps://api.ziqme.com/api/v1/chatbot/conversations/{id}
- GEThttps://api.ziqme.com/api/v1/chatbot/conversations/{id}/messages
- GEThttps://api.ziqme.com/api/v1/chatbot/analytics
- GEThttps://api.ziqme.com/api/v1/chatbot/widgets/{id}/analytics
- GEThttps://api.ziqme.com/api/v1/chatbot/widgets/{widgetId}/flow/versions/{flowVersion}/outcomes
- GEThttps://api.ziqme.com/api/v1/chatbot/knowledge/bases
- GEThttps://api.ziqme.com/api/v1/chatbot/knowledge/bases/{id}
- GEThttps://api.ziqme.com/api/v1/chatbot/knowledge/bases/{knowledgeBaseId}/documents
chatbot.write
Die Einstellungen eines Widgets ändern (die Antwort ist das gespeicherte Widget) und einer bestehenden Wissensdatenbank ein Dokument hinzufügen (die Antwort ist das neue Dokument). Beides setzt das Produkt Chatbot im Tarif voraus; ein Dokument hinzuzufügen braucht außerdem eine KI-Konfiguration für OpenAI oder einen OpenAI-kompatiblen Anbieter für seine Embeddings. Widgets und Wissensdatenbanken anlegen oder löschen ist nicht enthalten. Enthält chatbot.read nicht.
- PUThttps://api.ziqme.com/api/v1/chatbot/widgets/{id}
- POSThttps://api.ziqme.com/api/v1/chatbot/knowledge/bases/{knowledgeBaseId}/documents
Signierte eingehende Ereignisse
Mit dem Geheimnis der Zuordnung signiert, ohne Token: Ein API-Client-Token wird hier abgelehnt. Für Datensätze, die Ihr eigenes System an Ziqme sendet.
- POSThttps://api.ziqme.com/api/v1/integrations/external-sync/tenants/{tenantId}/mappings/{mappingId}/events