Routes open to API clients
Every route an OAuth2 client access token can call, with the scope it needs.
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
Read tickets, their public comments and their activity. Internal notes and comment entries in the activity are left out, and author emails are empty. A ticket's customer contact details and custom fields also need 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
Create tickets with a subject, description, customer, priority, category and language; change their status and priority; and add public comments. A ticket cannot be set to Merged, and a merged ticket cannot change status. It does not include 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
Read customers and their contact details. Free-text notes are left out. All three routes need the Customer product on the workspace's plan.
- 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
Read published articles in public knowledge bases, and their categories. Author emails are empty.
- 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
Read chatbot widgets, conversations and their messages, analytics, and knowledge bases with their documents. Every route needs the Chatbot product on the plan, and the two analytics routes also need the Bot Analytics module. A conversation's session identifier is empty, and widgets never include the visitor identity secret.
- 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
Change a widget's settings (the answer is the widget as saved) and add a document to an existing knowledge base (the answer is the new document). Both need the Chatbot product on the plan, and adding a document also needs an OpenAI or OpenAI-compatible AI configuration for its embeddings. Creating or deleting widgets and knowledge bases is not covered. It does not include chatbot.read.
- PUThttps://api.ziqme.com/api/v1/chatbot/widgets/{id}
- POSThttps://api.ziqme.com/api/v1/chatbot/knowledge/bases/{knowledgeBaseId}/documents
Signed inbound events
Signed with the mapping’s secret, no token: an API client token is refused here. For records your own system sends to Ziqme.
- POSThttps://api.ziqme.com/api/v1/integrations/external-sync/tenants/{tenantId}/mappings/{mappingId}/events