MGService – API-Referenz
MGService 5.1.2 · 2026-11-21 · 348 Schnittstellen
Überblick
Alles, was MGService zeigt und tut, läuft über diese API - die Oberfläche benutzt genau diese Schnittstellen, mit den Rechten der angemeldeten Person. Anfragen und Antworten sind JSON (UTF-8), außer eine Schnittstelle sagt etwas anderes (CSV, PDF, Excel, Dateien, der Datenstrom der KI).
Die Adresse ist die der Installation, z. B. https://mgservice.example.com; auf dem Server selbst
http://127.0.0.1:6644. Alle Pfade unten beginnen mit /api/. Die Verwaltung liegt unter /api/system/….
Anmeldung
API-Token (für Skripte und andere Systeme). Ein Token legt man unter Account → API tokens an; es wird einmal angezeigt. Bei jeder Anfrage mitsenden:
Authorization: Bearer <token>
Ein Token hat genau die Rechte der Person, die es angelegt hat - das Token eines Administrators darf, was ein Administrator darf, nicht mehr. Wer darf unten nennt, was eine Schnittstelle vorab verlangt; darüber hinaus prüft sie die Rechte am einzelnen Objekt (Berechtigungen eines Projekts, eines Bereichs, die Einschränkungen einer Seite) und antwortet mit 403 oder 404, wo sie fehlen. Ein widerrufenes Token wird sofort abgelehnt. Tokens gehören nicht in Protokolle oder Skripte, die andere lesen.
Sitzung (der Browser). POST /api/auth/login mit {"username": "…", "password": "…"} setzt ein
Sitzungs-Cookie; POST /api/auth/logout beendet es. Passkeys und die Anmeldung über Identitätsanbieter
(Microsoft Entra, Google, Okta) laufen über die Anmeldeseite, Konten aus dem Active Directory über
dasselbe POST /api/auth/login.
Kunden melden sich im Portal (/api/portal/…) mit eigenem Konto an; die Schnittstellen der Agenten
lehnen sie ab, und die des Portals zeigen einem Kunden nur seine eigenen Anfragen und die, die mit seiner
Organisation geteilt sind.
Fehler
Ein Fehler ist ein HTTP-Status mit einem JSON-Body:
{"error": "Ein Satz, der sagt, was nicht stimmt", "code": "optionaler_maschinenlesbarer_code"}
| Status | Bedeutung |
|---|---|
| 400 | Die Anfrage stimmt nicht - der Satz sagt, was. |
| 401 | Nicht angemeldet, oder das Token ist nicht gültig. |
| 403 | Angemeldet, aber nicht erlaubt - oder, bei Änderungen, keine gültige Lizenz (code: license_required). |
| 404 | Nicht vorhanden oder für diese Person nicht sichtbar (die API unterscheidet beides nicht). |
| 409 | Widerspricht dem Bestand (z. B. ein vergebener Name). |
| 413 | Zu groß - große Dateien in Teilen senden (siehe unten). |
| 429 | Zu viele Anfragen - so lange warten, wie Retry-After sagt. |
| 500 | Unerwartet; die Antwort enthält ref, eine Kennung, unter der die Details im Server-Protokoll stehen. |
Grenzen
Anfragen ohne Sitzung sind auf 300 pro Minute je Adresse begrenzt, angemeldete Clients und Tokens auf
1200 pro Minute (jeweils je Arbeitsprozess gezählt; eine Installation kann beides ändern,
<PRODUCT>_RATE_LIMIT_ANON und <PRODUCT>_RATE_LIMIT). Darüber antwortet der Server mit 429 und
Retry-After in Sekunden. /api/health ist nie begrenzt; die Anmeldung (/api/auth/…) hat stattdessen
eine eigene Sperre nach Fehlversuchen.
Formate
- Zeitpunkte sind ISO 8601 in UTC, z. B.
2026-11-06T14:30:00Z; reine Daten2026-11-06. - Dauern sind Sekunden (
seconds), oder Text, wo eine Schnittstelle das sagt (timeSpent: "1h 30m"). - Lange Listen nehmen
limitundoffset, wo angegeben; die Antwort sagt, wie viele es insgesamt gibt. - Gesucht wird mit MQL, der Abfragesprache der Vorgangssuche, z. B.
project = ORB AND statusCategory != done ORDER BY updated DESC(GET /api/search?mql=…).
Große Dateien in Teilen
Proxys vor einem Server nehmen oft nur begrenzt viel pro Anfrage (Cloudflare: 100 MB). Große Dateien gehen deshalb in Teilen von höchstens 50 MB:
POST /api/uploadsmit{"filename": "…", "size": <Bytes>}→{"id": "<Upload-ID>", …}PUT /api/uploads/<id>/<n>mit den Bytes von Teiln(0, 1, 2 …) als Body, der Reihe nachGET /api/uploads/<id>sagt, wie weit es ist - vor dem erneuten Senden eines Teils nach einer Unterbrechung- die fertige Datei mit
"uploadId": "<id>"statt einer Formular-Datei anhängen;DELETE /api/uploads/<id>bricht ab
Ein Upload gehört der Person, die ihn begonnen hat; ein nicht abgeschlossener wird nach einem Tag entfernt.
Antworten des KI-Assistenten
POST /api/ai/ask mit {"question": "…", "conversation": "<beliebige Kennung des Gesprächs>"} antwortet
als Datenstrom aus JSON-Zeilen (application/x-ndjson), ein Ereignis je Zeile, während die Arbeit läuft:
type |
Inhalt |
|---|---|
start |
die Protokollkennung dieser Frage |
step |
ein Werkzeug, das der Assistent benutzt hat: tool, input, summary |
sources |
was er gefunden und geöffnet hat: items |
list |
eine Liste aus der Datenbank, mit der Abfrage, die sie ergab |
chart |
ein Diagramm: chart = {type, title, labels, series[{name, values}], unit} |
draft |
eine vorbereitete Änderung, die die Person bestätigt |
text |
die Antwort, stückweise |
error |
was schiefging, in einem Satz |
end |
die Antwort ist vollständig |
Jede Zahl in einem Diagramm stammt aus einem Werkzeugergebnis derselben Antwort; der Assistent handelt mit den Rechten der fragenden Person.
Inhalt
- ai – 8
- applinks – 4
- attachments – 5
- auth – 18
- automation – 6
- bootstrap – 1
- canned-responses – 4
- chat – 11
- comments – 2
- custom-fields – 5
- customers – 11
- dashboard – 1
- dashboards – 6
- default-workflows – 2
- filters – 3
- gadgets – 1
- global-permissions – 2
- groups – 4
- health – 2
- issue-types – 3
- issues – 21
- kb – 1
- links – 4
- mql – 2
- notification-schemes – 5
- notifications – 3
- organisations – 8
- permission-schemes – 5
- portal – 29
- portal-helpdesks – 1
- projects – 27
- queues – 4
- reports – 9
- request-types – 3
- routines – 6
- screen-schemes – 5
- search – 2
- sla – 2
- statuses – 3
- system/accent – 2
- system/ai – 14
- system/announcement – 2
- system/applinks – 6
- system/audit – 1
- system/audit.csv – 1
- system/branding – 3
- system/database – 3
- system/db – 4
- system/deactivated-tickets – 1
- system/entra – 4
- system/identity – 5
- system/instance – 2
- system/intake – 6
- system/jsm-import – 10
- system/kb – 4
- system/license – 3
- system/mail – 3
- system/mail-queue – 1
- system/portal – 1
- third-party – 1
- timeclock – 8
- uploads – 4
- users – 7
- webhooks – 5
- workflows – 6
- worklogs – 2
Bereich: ai
Der KI-Assistent: eine Frage stellen (Antwort als Datenstrom von Ereignissen), suchen, Entwürfe, die der Assistent vorbereitet und die Person bestätigt, und Rückmeldungen zu Antworten.
POST /api/ai/ask
Fragen – KI-Assistent
Details aus dem Code (englisch)
Answers as lines of JSON: first what was found, then the answer piece by piece, then the end - so the box shows what was found at once.- Wer darf: Jede angemeldete Person
- JSON-Body:
question,previous,history,conversation
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/ask' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"question": "…", "previous": "…", "history": "…", "conversation": "…"}'
Liefert
Einen Datenstrom aus JSON-Zeilen (application/x-ndjson), ein Ereignis je Zeile - siehe „Antworten des KI-Assistenten“.
POST /api/ai/drafts/{draft_id}/carry-out
Ausführen – Entwurf
Details aus dem Code (englisch)
The button on a draft: the person confirms, and it is carried out as them.- Wer darf: Jede angemeldete Person
- Pfadparameter:
draft_id(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/drafts/{draft_id}/carry-out' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok, message, url, draft
POST /api/ai/drafts/{draft_id}/discard
Verwerfen – Entwurf
- Wer darf: Jede angemeldete Person
- Pfadparameter:
draft_id(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/drafts/{draft_id}/discard' \
-H 'Authorization: Bearer $TOKEN'
Liefert
draft
POST /api/ai/feedback
Rückmeldung geben – KI-Assistent
- Wer darf: Jede angemeldete Person
- JSON-Body:
question,refs,good,logId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/feedback' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"question": "…", "refs": "…", "good": "…", "logId": "…"}'
Liefert
ok
POST /api/ai/query
Abfrage senden
Details aus dem Code (englisch)
The assistant's read-only query, for a caller with the same rights: the probe run (tools/ai_eval.py) works out the right answers with it, and MGHub can ask a tool for exact numbers. Only what the person may see; checked and run exactly as the assistant's own (ai_query.py).- Wer darf: Jede angemeldete Person
- JSON-Body:
sql
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/query' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"sql": "…"}'
Liefert
JSON.
GET /api/ai/schema
Schema lesen
Details aus dem Code (englisch)
The views the assistant queries, as it is told about them - for this person.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/ai/schema' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
views |
string | "issues(key: the item's key, e.g. ABC-12, summary: its title |
Beispielantwort
{
"views": "issues(key: the item's key, e.g. ABC-12, summary: its title, type: Task, Bug,…"
}
POST /api/ai/search
Suche senden
Details aus dem Code (englisch)
The tickets alone, without an answer - also when the AI cannot be reached.- Wer darf: Jede angemeldete Person
- JSON-Body:
question
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/ai/search' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"question": "…"}'
Liefert
items
GET /api/ai/state
Zustand lesen – KI-Assistent
Details aus dem Code (englisch)
For a client (the Mac app; the box): who this token or session is, and whether the AI assistant answers them - one call to set a connection up.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/ai/state' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
signedIn |
boolean | true |
user |
string | "Administrator" |
product |
string | "mgservice" |
box |
boolean | false |
Beispielantwort
{
"signedIn": true,
"user": "Administrator",
"product": "mgservice",
"box": false
}
Bereich: applinks
Anwendungslinks zwischen MGWiki, MGProject und MGService: was eine Installation ist, der Schlüsseltausch beim Verknüpfen durch einen Administrator, das Entfernen eines Links und als wer eine verknüpfte Anfrage gesehen wird.
GET /api/applinks/about
Lesen, was das ist – applinks
Details aus dem Code (englisch)
What this installation is - the first question of an application setting up a link. Open to all.- Wer darf: Ohne Anmeldung
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/applinks/about' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
product |
string | "mgservice" |
product_name |
string | "MGService" |
applinks |
integer | 1 |
Beispielantwort
{
"product": "mgservice",
"product_name": "MGService",
"applinks": 1
}
POST /api/applinks/handshake
Schlüssel tauschen – applinks
Details aus dem Code (englisch)
The other side of setting up a link: an administrator of this installation (by API token or signed in) accepts the other application's key and hands over this one's.- Wer darf: Administratoren
- JSON-Body:
base_url,product
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/applinks/handshake' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"base_url": "…", "product": "…"}'
Liefert
JSON.
POST /api/applinks/unlink
Link entfernen – applinks
Details aus dem Code (englisch)
The linked application removed the link - signed by the link itself.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/applinks/unlink' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/applinks/whoami
Lesen, als wer – applinks
Details aus dem Code (englisch)
As whom a request over an application link is seen here - the test of a link.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/applinks/whoami' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
product |
string | "mgservice" |
product_name |
string | "MGService" |
username |
string | "admin" |
display_name |
string | "Administrator" |
email |
string | "" |
matched_by |
null | null |
Beispielantwort
{
"product": "mgservice",
"product_name": "MGService",
"username": "admin",
"display_name": "Administrator",
"email": "",
"matched_by": null
}
Bereich: attachments
Dateien an Vorgängen oder Seiten: lesen, herunterladen, die Vorschau von Office-Dokumenten, ändern, wer sie sehen darf, und entfernen.
GET /api/attachments/{aid}
Anhang lesen
- Wer darf: Berechtigung:
browse - Pfadparameter:
aid(integer) - Abfrageparameter:
download(string),inline(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/attachments/{aid}?download=…&inline=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
DELETE /api/attachments/{aid}
Anhang löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
aid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/attachments/{aid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/attachments/{aid}/preview
Vorschau – Anhang
Details aus dem Code (englisch)
An office document as PDF, so the viewer can show it as it really is. Converted by LibreOffice on the server and kept beside the attachment, so the same file is converted once. Without LibreOffice, or for a format it cannot read, this answers 415 and the viewer offers the download instead.- Wer darf: Berechtigung:
browse - Pfadparameter:
aid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/attachments/{aid}/preview' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/attachments/{aid}/seen
Gelesen-Markierung anlegen (Anhang)
Details aus dem Code (englisch)
The team opened a customer's upload - its NEW goes. Called by the ticket view when someone opens it (the name, the picture, the viewer); the thumbnails the view loads on its own do not count.- Wer darf: Berechtigung:
browse - Pfadparameter:
aid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/attachments/{aid}/seen' \
-H 'Authorization: Bearer $TOKEN'
Liefert
seen
PUT /api/attachments/{aid}/visibility
Sichtbarkeit ändern (Anhang)
Details aus dem Code (englisch)
Change who sees a file the team attached: the customer too, or the team only. A customer's own upload stays visible to them - it is theirs.- Wer darf: Berechtigung:
attach - Pfadparameter:
aid(integer) - JSON-Body:
customerVisible
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/attachments/{aid}/visibility' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"customerVisible": "…"}'
Liefert
JSON.
Bereich: auth
An- und Abmelden und das eigene Konto: Passwort, Passkeys, API-Tokens und persönliche Einstellungen.
POST /api/auth/avatar
Profilbild senden
Details aus dem Code (englisch)
Store a profile picture, squared and scaled down to a sensible size.- Wer darf: Jede angemeldete Person
- JSON-Body:
(multipart form: file)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/avatar' \
-H 'Authorization: Bearer $TOKEN' \
-F 'file=@/path/to/file'
Liefert
JSON.
DELETE /api/auth/avatar
Profilbild löschen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/auth/avatar' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/auth/login
Anmelden – Anmeldung
- Wer darf: Ohne Anmeldung
- JSON-Body:
username,password
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/login' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"username": "…", "password": "…"}'
Liefert
user, mustChangePassword
POST /api/auth/logout
Abmelden – Anmeldung
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/logout' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/auth/me
Eigenes Konto lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/auth/me' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
user |
object | |
user.id |
integer | 6 |
user.username |
string | "admin" |
user.displayName |
string | "Administrator" |
user.email |
string | "" |
user.avatarColor |
string | "#007FA0" |
user.isAdmin |
boolean | true |
user.active |
boolean | true |
user.clockPrompt |
boolean | false |
user.avatarUrl |
null | null |
user.hasPassword |
boolean | true |
user.mustChangePassword |
boolean | false |
user.lastLogin |
string | "2026-11-21T21:28:57Z" |
user.passkeys |
integer | 0 |
user.locked |
boolean | false |
method |
string | "password" |
passkeys |
array | |
passkeysSupported |
boolean | true |
passkeyHint |
string | "" |
Beispielantwort
{
"user": {
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": true,
"mustChangePassword": false,
"lastLogin": "2026-11-21T21:28:57Z",
"passkeys": 0,
"locked": false
},
"method": "password",
"passkeys": [],
"passkeysSupported": true,
"passkeyHint": ""
}
GET /api/auth/passkeys
Passkeys auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/auth/passkeys' \
-H 'Authorization: Bearer $TOKEN'
Liefert
[]
POST /api/auth/passkeys/login/begin
Beginnen – login
- Wer darf: Ohne Anmeldung
- JSON-Body:
username
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/passkeys/login/begin' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"username": "…"}'
Liefert
JSON.
POST /api/auth/passkeys/login/finish
Abschließen – login
- Wer darf: Ohne Anmeldung
- JSON-Body:
credential
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/passkeys/login/finish' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"credential": "…"}'
Liefert
user, mustChangePassword
POST /api/auth/passkeys/register/begin
Beginnen – register
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/passkeys/register/begin' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/auth/passkeys/register/finish
Abschließen – register
- Wer darf: Jede angemeldete Person
- JSON-Body:
credential,name
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/passkeys/register/finish' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"credential": "…", "name": "…"}'
Liefert
passkeys
DELETE /api/auth/passkeys/{cid}
Passkey löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/auth/passkeys/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/auth/password
Passwort senden
- Wer darf: Jede angemeldete Person
- JSON-Body:
currentPassword,newPassword
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/password' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"currentPassword": "…", "newPassword": "…"}'
Liefert
ok
GET /api/auth/preferences
Persönliche Einstellungen auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/auth/preferences' \
-H 'Authorization: Bearer $TOKEN'
Liefert
{}
PUT /api/auth/preferences
Persönliche Einstellungen ändern
Details aus dem Code (englisch)
Small per person settings blob, currently the remembered dialog sizes.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/auth/preferences' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/auth/preferences.
GET /api/auth/state
Zustand lesen – Anmeldung
- Wer darf: Ohne Anmeldung
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/auth/state' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
authenticated |
boolean | true |
user |
object | |
user.id |
integer | 6 |
user.username |
string | "admin" |
user.displayName |
string | "Administrator" |
user.email |
string | "" |
user.avatarColor |
string | "#007FA0" |
user.isAdmin |
boolean | true |
user.active |
boolean | true |
user.clockPrompt |
boolean | false |
user.avatarUrl |
null | null |
user.hasPassword |
boolean | true |
user.mustChangePassword |
boolean | false |
user.lastLogin |
string | "2026-11-21T21:28:57Z" |
user.passkeys |
integer | 0 |
user.locked |
boolean | false |
passkeysSupported |
boolean | true |
passkeyHint |
string | "" |
rpId |
string | "localhost" |
origin |
string | "http://localhost" |
version |
string | "5.1.2" |
Beispielantwort
{
"authenticated": true,
"user": {
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": true,
"mustChangePassword": false,
"lastLogin": "2026-11-21T21:28:57Z",
"passkeys": 0,
"locked": false
},
"passkeysSupported": true,
"passkeyHint": "",
"rpId": "localhost",
"origin": "http://localhost",
"version": "5.1.2"
}
GET /api/auth/tokens
API-Tokens auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/auth/tokens' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
tokens |
array |
Beispielantwort
{
"tokens": []
}
POST /api/auth/tokens
API-Token anlegen
Details aus dem Code (englisch)
Hand out one token, once. The value is shown here and never again: only its hash is stored, so a database that falls into the wrong hands does not hand over anybody's access.- Wer darf: Jede angemeldete Person
- JSON-Body:
name,expires
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/auth/tokens' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "expires": "…"}'
Liefert
token, name, expires, username
DELETE /api/auth/tokens/{tid}
API-Token löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
tid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/auth/tokens/{tid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
revoked
Bereich: automation
Automationsregeln: Wenn etwas mit einem Vorgang geschieht, etwas tun - und das Protokoll dessen, was sie taten.
GET /api/automation
Automationsregeln auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/automation' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
rules |
array | |
catalogue |
object | |
catalogue.events |
object | |
catalogue.events.issue.created |
string | "Issue created" |
catalogue.events.issue.transitioned |
string | "Status changed" |
catalogue.events.issue.assigned |
string | "Assignee changed" |
catalogue.events.issue.updated |
string | "Any field changed" |
catalogue.events.issue.deleted |
string | "Issue deleted" |
catalogue.events.issue.deleting |
string | "Issue is about to be deleted" |
catalogue.events.comment.added |
string | "Comment added by an agent" |
catalogue.events.customer.commented |
string | "Customer replied" |
catalogue.events.issue.escalated |
string | "Customer escalated" |
catalogue.events.worklog.added |
string | "Work logged" |
catalogue.events.attachment.added |
string | "Attachment added" |
catalogue.events.customer.attached |
string | "Customer uploaded an attachment" |
catalogue.events.issue.inactive |
string | "No activity for a while" |
catalogue.watchableFields |
object | |
catalogue.watchableFields.summary |
string | "Summary" |
catalogue.watchableFields.description |
string | "Description" |
catalogue.watchableFields.statusId |
string | "Status" |
catalogue.watchableFields.assigneeId |
string | "Assignee" |
catalogue.watchableFields.reporterId |
string | "Reporter" |
catalogue.watchableFields.priorityId |
string | "Priority" |
catalogue.watchableFields.customerId |
string | "Customer" |
catalogue.watchableFields.estimate |
string | "Estimate" |
catalogue.watchableFields.dueDate |
string | "Due date" |
catalogue.watchableFields.labels |
string | "Labels" |
catalogue.watchableFields.typeId |
string | "Issue type" |
catalogue.watchableFields.parentId |
string | "Parent" |
catalogue.conditions |
object | |
catalogue.conditions.typeIs |
string | "Issue type is" |
catalogue.conditions.typeIsNot |
string | "Issue type is not" |
catalogue.conditions.statusIs |
string | "Status is" |
catalogue.conditions.statusCategoryIs |
string | "Status category is" |
catalogue.conditions.priorityIs |
string | "Priority is" |
catalogue.conditions.projectIs |
string | "Project is" |
catalogue.conditions.assigneeIsEmpty |
string | "Issue has no assignee" |
catalogue.conditions.assigneeIsSet |
string | "Issue has an assignee" |
catalogue.conditions.assigneeIs |
string | "Assignee is" |
catalogue.conditions.reporterIs |
string | "Reporter is" |
Beispielantwort
{
"rules": [],
"catalogue": {
"events": {
"issue.created": "Issue created",
"issue.transitioned": "Status changed",
"issue.assigned": "Assignee changed",
"issue.updated": "Any field changed",
"issue.deleted": "Issue deleted",
"issue.deleting": "Issue is about to be deleted",
"comment.added": "Comment added by an agent",
"customer.commented": "Customer replied",
"issue.escalated": "Customer escalated",
"worklog.added": "Work logged",
"attachment.added": "Attachment added",
"customer.attached": "Customer uploaded an attachment",
"issue.inactive": "No activity for a while"
},
"watchableFields": {
"summary": "Summary",
"description": "Description",
"statusId": "Status",
"assigneeId": "Assignee",
"reporterId": "Reporter",
"priorityId": "Priority",
"customerId": "Customer",
"estimate": "Estimate",
"dueDate": "Due date",
"labels": "Labels",
"typeId": "Issue type",
"parentId": "Parent"
},
"conditions": {
"typeIs": "Issue type is",
"typeIsNot": "Issue type is not",
"statusIs": "Status is",
"statusCategoryIs": "Status category is",
"priorityIs": "Priority is",
"projectIs": "Project is",
"assigneeIsEmpty": "Issue has no assignee",
"assigneeIsSet": "Issue has an assignee",
"assigneeIs": "Assignee is",
"reporterIs": "Reporter is",
"isSubtask": "Issue is a sub-task",
"isNotSubtask": "Issue is not a sub-task",
"channelIs": "Came in through (portal, email, chat, agent)",
"hasCustomer": "Issue belongs to a customer",
"hasOpenChildren": "Issue has open children",
"hasNoOpenChildren": "Every child is finished",
"summa
…
POST /api/automation
Automationsregel anlegen
- Wer darf: Administratoren
- JSON-Body:
name,trigger,description,enabled,projectId,triggerConfig,conditions,actions,question
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/automation' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "trigger": "…", "description": "…", "enabled": "…", "projectId": "…", "triggerConfig": "…", "conditions": "…", "actions": "…"}'
Liefert
Wie GET /api/automation.
GET /api/automation/log
Protokoll auflisten
Details aus dem Code (englisch)
Every evaluation, across all rules - the place to look when a rule seems not to fire.- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/automation/log' \
-H 'Authorization: Bearer $TOKEN'
Liefert
[]
PUT /api/automation/{rid}
Automationsregel ändern
- Wer darf: Administratoren
- Pfadparameter:
rid(integer) - JSON-Body:
trigger,triggerConfig,question,name,description,enabled,projectId,conditions,actions
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/automation/{rid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"trigger": "…", "triggerConfig": "…", "question": "…", "name": "…", "description": "…", "enabled": "…", "projectId": "…", "conditions": "…"}'
Liefert
JSON.
DELETE /api/automation/{rid}
Automationsregel löschen
- Wer darf: Administratoren
- Pfadparameter:
rid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/automation/{rid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/automation/{rid}/runs
Läufe auflisten (Automationsregel)
- Wer darf: Administratoren
- Pfadparameter:
rid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/automation/{rid}/runs' \
-H 'Authorization: Bearer $TOKEN'
Liefert
[]
Bereich: bootstrap
Was der Browser zum Start braucht: die angemeldete Person, Projekte, Status, Typen und die Funktionen, die sie nutzen darf.
GET /api/bootstrap
Startdaten lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/bootstrap' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
instanceName |
string | "" |
version |
string | "5.1.2" |
me |
object | |
me.id |
integer | 6 |
me.username |
string | "admin" |
me.displayName |
string | "Administrator" |
me.email |
string | "" |
me.avatarColor |
string | "#007FA0" |
me.isAdmin |
boolean | true |
me.active |
boolean | true |
me.clockPrompt |
boolean | false |
me.avatarUrl |
null | null |
me.hasPassword |
boolean | true |
me.mustChangePassword |
boolean | false |
me.lastLogin |
string | "2026-11-21T21:28:57Z" |
me.passkeys |
integer | 0 |
me.locked |
boolean | false |
users |
array | |
users[].id |
integer | 6 |
users[].username |
string | "admin" |
users[].displayName |
string | "Administrator" |
users[].email |
string | "" |
users[].avatarColor |
string | "#007FA0" |
users[].isAdmin |
boolean | true |
users[].active |
boolean | true |
users[].clockPrompt |
boolean | false |
users[].avatarUrl |
null | null |
users[].hasPassword |
boolean | true |
users[].mustChangePassword |
boolean | false |
users[].lastLogin |
string | "2026-11-21T21:28:57Z" |
users[].passkeys |
integer | 0 |
users[].locked |
boolean | false |
agentIds |
array | |
projects |
array | |
projects[].workflow |
object | |
projects[].id |
integer | 1 |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
projects[].description |
string | "Internal IT: accounts, devices, access and outages." |
projects[].type |
string | "service" |
Beispielantwort
{
"instanceName": "",
"version": "5.1.2",
"me": {
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": true,
"mustChangePassword": false,
"lastLogin": "2026-11-21T21:28:57Z",
"passkeys": 0,
"locked": false
},
"users": [
{
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": true,
"mustChangePassword": false,
"lastLogin": "2026-11-21T21:28:57Z",
"passkeys": 0,
"locked": false
},
{
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"email": "jan.novak@example.invalid",
"avatarColor": "#5243AA",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": false,
"mustChangePassword": false,
"lastLogin": null,
"passkeys": 0,
"locked": false
},
"…"
],
"agentIds": [
2,
3,
"…"
],
"projects": [
{
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": tru
…
Bereich: canned-responses
GET /api/canned-responses
Canned responses lesen
- Wer darf: Berechtigung:
browse - Abfrageparameter:
project(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/canned-responses?project=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
[]
POST /api/canned-responses
Canned responses senden
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/canned-responses' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/canned-responses.
PUT /api/canned-responses/{cid}
Canned responses ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/canned-responses/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
DELETE /api/canned-responses/{cid}
Canned responses löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/canned-responses/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: chat
Live-Chat zwischen Kunden im Portal und Agenten.
GET /api/chat/agents
Agenten auflisten
Details aus dem Code (englisch)
Who could answer chats, and who does right now - for the Live chats page.- Wer darf: Berechtigung:
liveChat
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/chat/agents' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
agents |
array | |
agents[].id |
integer | 6 |
agents[].username |
string | "admin" |
agents[].displayName |
string | "Administrator" |
agents[].email |
string | "" |
agents[].avatarColor |
string | "#007FA0" |
agents[].isAdmin |
boolean | true |
agents[].active |
boolean | true |
agents[].clockPrompt |
boolean | false |
agents[].avatarUrl |
null | null |
agents[].switchedOn |
boolean | false |
agents[].state |
string | "off" |
agents[].openChats |
integer | 0 |
Beispielantwort
{
"agents": [
{
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"switchedOn": false,
"state": "off",
"openChats": 0
},
{
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"email": "jan.novak@example.invalid",
"avatarColor": "#5243AA",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"switchedOn": false,
"state": "off",
"openChats": 0
},
"…"
]
}
GET /api/chat/history
Verlauf lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/chat/history' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
chats |
array | |
chats[].id |
integer | 1 |
chats[].status |
string | "closed" |
chats[].subject |
string | "Where do I find the invoices?" |
chats[].created |
string | "2026-11-20T15:28:57Z" |
chats[].closed |
string | "2026-11-20T15:40:57Z" |
chats[].mayTakeOver |
boolean | false |
chats[].customer |
object | |
chats[].agent |
object | |
chats[].issueKey |
null | null |
Beispielantwort
{
"chats": [
{
"id": 1,
"status": "closed",
"subject": "Where do I find the invoices?",
"created": "2026-11-20T15:28:57Z",
"closed": "2026-11-20T15:40:57Z",
"mayTakeOver": false,
"customer": {
"id": 5,
"email": "julia.meyer@example.invalid",
"displayName": "Julia Meyer",
"organisation": "Greenleaf Studio",
"organisationId": 2,
"organisationShares": true,
"active": true
},
"agent": {
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"email": "jan.novak@example.invalid",
"avatarColor": "#5243AA",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueKey": null
}
]
}
GET /api/chat/inbox
Posteingang lesen
Details aus dem Code (englisch)
The agent's open chats, with what arrived since the ids the browser already has. ``after`` is a JSON object {chatId: lastMessageId}; without it everything is returned. Waiting chats are listed as well, so an agent can see the line.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
after(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/chat/inbox?after=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
available |
boolean | false |
chats |
array | |
waiting |
array | |
taken |
array |
Beispielantwort
{
"available": false,
"chats": [],
"waiting": [],
"taken": []
}
POST /api/chat/presence
Anwesenheit senden
Details aus dem Code (englisch)
The agent's heartbeat. ``available`` switches taking chats on and off.- Wer darf: Jede angemeldete Person
- JSON-Body:
leaving,available
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/presence' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"leaving": "…", "available": "…"}'
Liefert
available, leaving
GET /api/chat/{sid}
Chat lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/chat/{sid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
id |
integer | 1 |
status |
string | "closed" |
subject |
string | "Where do I find the invoices?" |
created |
string | "2026-11-20T15:28:57Z" |
assigned |
string | "2026-11-20T15:28:57Z" |
closed |
string | "2026-11-20T15:40:57Z" |
project |
object | |
project.key |
string | "SUP" |
project.name |
string | "Customer Support" |
customer |
object | |
customer.id |
integer | 5 |
customer.email |
string | "julia.meyer@example.invalid" |
customer.displayName |
string | "Julia Meyer" |
customer.organisation |
string | "Greenleaf Studio" |
customer.organisationId |
integer | 2 |
customer.organisationShares |
boolean | true |
customer.active |
boolean | true |
agent |
object | |
agent.displayName |
string | "Jan Novak" |
agent.avatarColor |
string | "#5243AA" |
agent.id |
integer | 4 |
issueKey |
null | null |
intake |
array | |
files |
array | |
messages |
array | |
messages[].id |
integer | 1 |
messages[].sender |
string | "customer" |
messages[].body |
string | "Hello, where do I find my invoices?" |
messages[].created |
string | "2026-11-20T15:28:57Z" |
messages[].name |
string | "Julia Meyer" |
Beispielantwort
{
"id": 1,
"status": "closed",
"subject": "Where do I find the invoices?",
"created": "2026-11-20T15:28:57Z",
"assigned": "2026-11-20T15:28:57Z",
"closed": "2026-11-20T15:40:57Z",
"project": {
"key": "SUP",
"name": "Customer Support"
},
"customer": {
"id": 5,
"email": "julia.meyer@example.invalid",
"displayName": "Julia Meyer",
"organisation": "Greenleaf Studio",
"organisationId": 2,
"organisationShares": true,
"active": true
},
"agent": {
"displayName": "Jan Novak",
"avatarColor": "#5243AA",
"id": 4
},
"issueKey": null,
"intake": [],
"files": [],
"messages": [
{
"id": 1,
"sender": "customer",
"body": "Hello, where do I find my invoices?",
"created": "2026-11-20T15:28:57Z",
"name": "Julia Meyer"
},
{
"id": 2,
"sender": "agent",
"body": "Hi Julia! Under Account, then Billing.",
"created": "2026-11-20T15:30:09Z",
"name": "Jan Novak"
},
"…"
]
}
POST /api/chat/{sid}/close
Schließen – Chat
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/{sid}/close' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/chat/{sid}/files/{fid}
Datei lesen (Chat)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer),fid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/chat/{sid}/files/{fid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/chat/{sid}/messages
Nachricht anlegen (Chat)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer) - JSON-Body:
body
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/{sid}/messages' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"body": "…"}'
Liefert
ok
POST /api/chat/{sid}/take
Übernehmen – Chat
Details aus dem Code (englisch)
Pick a waiting chat by hand instead of waiting for the balancing.- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/{sid}/take' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
POST /api/chat/{sid}/takeover
Takeover senden (Chat)
Details aus dem Code (englisch)
Take over a chat a colleague answers - they are away, or it needs someone else.- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/{sid}/takeover' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
POST /api/chat/{sid}/ticket
Vorgang senden (Chat)
Details aus dem Code (englisch)
Turn the chat into a request that carries on after the chat ends.- Wer darf: Berechtigung:
create - Pfadparameter:
sid(integer) - JSON-Body:
project,summary,typeId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/chat/{sid}/ticket' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"project": "…", "summary": "…", "typeId": "…"}'
Liefert
key
Bereich: comments
Kommentare: ändern und löschen. Neue Kommentare werden am Vorgang bzw. an der Seite angelegt.
PUT /api/comments/{cid}
Kommentar ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/comments/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
DELETE /api/comments/{cid}
Kommentar löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/comments/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: custom-fields
Eigene Felder: ihre Definition, die Auswahlwerte und wo sie erscheinen.
GET /api/custom-fields
Eigene Felder auflisten
Details aus dem Code (englisch)
Readable for anybody signed in - a form will need them later.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/custom-fields' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
fields |
array | |
kinds |
object | |
kinds.text |
string | "One line of text" |
kinds.textarea |
string | "Several lines of text" |
kinds.number |
string | "A number" |
kinds.date |
string | "A date" |
kinds.select |
string | "One of a list" |
kinds.multiselect |
string | "Several from a list" |
kinds.checkbox |
string | "Yes or no" |
kinds.user |
string | "A person" |
kinds.url |
string | "A link" |
Beispielantwort
{
"fields": [],
"kinds": {
"text": "One line of text",
"textarea": "Several lines of text",
"number": "A number",
"date": "A date",
"select": "One of a list",
"multiselect": "Several from a list",
"checkbox": "Yes or no",
"user": "A person",
"url": "A link"
}
}
POST /api/custom-fields
Eigenes Feld anlegen
- Wer darf: Administratoren
- JSON-Body:
name,kind,key,options,description,required
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/custom-fields' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "kind": "…", "key": "…", "options": "…", "description": "…", "required": "…"}'
Liefert
Wie GET /api/custom-fields.
POST /api/custom-fields/order
Reihenfolge senden
- Wer darf: Administratoren
- JSON-Body:
ids
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/custom-fields/order' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"ids": "…"}'
Liefert
ok
PUT /api/custom-fields/{fid}
Eigenes Feld ändern
- Wer darf: Administratoren
- Pfadparameter:
fid(integer) - JSON-Body:
kind,options,name,description,required
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/custom-fields/{fid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"kind": "…", "options": "…", "name": "…", "description": "…", "required": "…"}'
Liefert
JSON.
DELETE /api/custom-fields/{fid}
Eigenes Feld löschen
- Wer darf: Administratoren
- Pfadparameter:
fid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/custom-fields/{fid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: customers
Kunden des Service Desks: auflisten, anlegen, ändern, ihr Portalzugang, Export als CSV.
GET /api/customers
Kunden auflisten
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
q(string),organisation(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/customers?q=…&organisation=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
customers |
array | |
customers[].id |
integer | 1 |
customers[].email |
string | "anna.berg@example.invalid" |
customers[].displayName |
string | "Anna Berg" |
customers[].organisation |
string | "Northwind Trading" |
customers[].organisationId |
integer | 3 |
customers[].organisationShares |
boolean | true |
customers[].active |
boolean | true |
customers[].phone |
string | "" |
customers[].hasPassword |
boolean | false |
customers[].source |
string | "agent" |
customers[].created |
string | "2026-09-22T21:28:57Z" |
customers[].lastLogin |
null | null |
customers[].requests |
integer | 3 |
customers[].invitedAt |
null | null |
customers[].deletable |
boolean | false |
customers[].notDeletableBecause |
string | "3 requests belong to this customer. Deactivate the customer |
mayManage |
boolean | true |
Beispielantwort
{
"customers": [
{
"id": 1,
"email": "anna.berg@example.invalid",
"displayName": "Anna Berg",
"organisation": "Northwind Trading",
"organisationId": 3,
"organisationShares": true,
"active": true,
"phone": "",
"hasPassword": false,
"source": "agent",
"created": "2026-09-22T21:28:57Z",
"lastLogin": null,
"requests": 3,
"invitedAt": null,
"deletable": false,
"notDeletableBecause": "3 requests belong to this customer. Deactivate the customer instead - the req…"
},
{
"id": 3,
"email": "claire.dubois@example.invalid",
"displayName": "Claire Dubois",
"organisation": "Bluefield Logistics",
"organisationId": 1,
"organisationShares": true,
"active": true,
"phone": "",
"hasPassword": false,
"source": "agent",
"created": "2026-09-22T21:28:57Z",
"lastLogin": null,
"requests": 2,
"invitedAt": null,
"deletable": false,
"notDeletableBecause": "2 requests belong to this customer. Deactivate the customer instead - the req…"
},
"…"
],
"mayManage": true
}
POST /api/customers
Kunde anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
email,name,organisationId,phone,invite
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/customers' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email": "…", "name": "…", "organisationId": "…", "phone": "…", "invite": "…"}'
Liefert
customer, invited
POST /api/customers/invitations
Einladung anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
days,message
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/customers/invitations' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"days": "…", "message": "…"}'
Liefert
JSON.
GET /api/customers/invitations/preview
Vorschau – Einladung
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
includeInvited(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/customers/invitations/preview?includeInvited=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
count |
integer | 5 |
customers |
array | |
customers[].id |
integer | 3 |
customers[].displayName |
string | "Claire Dubois" |
customers[].email |
string | "claire.dubois@example.invalid" |
customers[].organisation |
string | "Bluefield Logistics" |
customers[].invitedAt |
null | null |
invitedBefore |
integer | 0 |
mail |
boolean | false |
portalUrl |
string | "" |
title |
string | "Help Center" |
defaultText |
string | "We have moved our service desk. From now on you raise and f |
days |
array | |
running |
boolean | false |
Beispielantwort
{
"count": 5,
"customers": [
{
"id": 3,
"displayName": "Claire Dubois",
"email": "claire.dubois@example.invalid",
"organisation": "Bluefield Logistics",
"invitedAt": null
},
{
"id": 4,
"displayName": "Omar Haddad",
"email": "omar.haddad@example.invalid",
"organisation": "Bluefield Logistics",
"invitedAt": null
},
"…"
],
"invitedBefore": 0,
"mail": false,
"portalUrl": "",
"title": "Help Center",
"defaultText": "We have moved our service desk. From now on you raise and follow your request…",
"days": [
7,
14,
"…"
],
"running": false
}
GET /api/customers/invitations/progress
Fortschritt lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/customers/invitations/progress' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
state |
string | "idle" |
Beispielantwort
{
"state": "idle"
}
PUT /api/customers/{cid}
Kunde ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer) - JSON-Body:
email,organisationId,name,phone,active
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/customers/{cid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email": "…", "organisationId": "…", "name": "…", "phone": "…", "active": "…"}'
Liefert
customer
DELETE /api/customers/{cid}
Kunde löschen
Details aus dem Code (englisch)
Delete a customer who has no tickets. Everything else stays untouched.- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/customers/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/customers/{cid}/invite
Einladen – Kunde
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/customers/{cid}/invite' \
-H 'Authorization: Bearer $TOKEN'
Liefert
sent
GET /api/customers/{cid}/portal-access
Portalzugang lesen (Kunde)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/customers/{cid}/portal-access' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
organisationProjects |
array | |
organisationProjects[].id |
integer | 2 |
organisationProjects[].key |
string | "SUP" |
organisationProjects[].name |
string | "Customer Support" |
organisationProjects[].on |
boolean | true |
organisationProjects[].isDefault |
boolean | false |
visible |
array | |
visible[].id |
integer | 2 |
visible[].key |
string | "SUP" |
visible[].name |
string | "Customer Support" |
fallback |
boolean | false |
mayManage |
boolean | true |
Beispielantwort
{
"organisationProjects": [
{
"id": 2,
"key": "SUP",
"name": "Customer Support",
"on": true,
"isDefault": false
},
{
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"on": true,
"isDefault": true
}
],
"visible": [
{
"id": 2,
"key": "SUP",
"name": "Customer Support"
},
{
"id": 1,
"key": "ITS",
"name": "IT Service Desk"
}
],
"fallback": false,
"mayManage": true
}
PUT /api/customers/{cid}/portal-access
Portalzugang ändern (Kunde)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer) - JSON-Body:
hidden
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/customers/{cid}/portal-access' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"hidden": "…"}'
Liefert
Wie GET /api/customers/{cid}/portal-access.
GET /api/customers/{cid}/requests
Anfragen auflisten (Kunde)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/customers/{cid}/requests' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
issues |
array | |
issues[].id |
integer | 1 |
issues[].key |
string | "ITS-1" |
issues[].seq |
integer | 1 |
issues[].summary |
string | "VPN drops every few minutes" |
issues[].description |
string | "Since this morning the VPN connection drops every five to t |
issues[].descriptionHtml |
null | null |
issues[].project |
object | |
issues[].type |
object | |
issues[].status |
object | |
issues[].priority |
object | |
issues[].assignee |
object | |
issues[].reporter |
null | null |
issues[].customer |
object | |
issues[].organisation |
object | |
issues[].orgShared |
boolean | true |
issues[].raisedBy |
object | |
issues[].requestType |
null | null |
issues[].channel |
string | "portal" |
issues[].firstResponse |
string | "2026-11-21T18:40:57Z" |
issues[].parent |
null | null |
issues[].labels |
array | |
issues[].components |
array | |
issues[].rank |
number | 2000.0 |
issues[].dueDate |
null | null |
issues[].participants |
array | |
issues[].startDate |
null | null |
issues[].endDate |
null | null |
issues[].estimate |
null | null |
issues[].timeLeft |
null | null |
issues[].progress |
null | null |
issues[].created |
string | "2026-11-21T18:28:57Z" |
issues[].updated |
string | "2026-11-21T18:28:57Z" |
issues[].resolved |
null | null |
issues[].commentCount |
integer | 3 |
issues[].subtaskCount |
integer | 0 |
issues[].timeSpent |
integer | 3600 |
Beispielantwort
{
"issues": [
{
"id": 1,
"key": "ITS-1",
"seq": 1,
"summary": "VPN drops every few minutes",
"description": "Since this morning the VPN connection drops every five to ten minutes. Collea…",
"descriptionHtml": null,
"project": {
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"color": "#0052CC"
},
"type": {
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false
},
"status": {
"id": 2,
"name": "In Progress",
"category": "inprogress"
},
"priority": {
"id": 1,
"name": "Highest",
"icon": "up",
"color": "#CD1317"
},
"assignee": {
"id": 2,
"username": "tbauer",
"displayName": "Tom Bauer",
"avatarColor": "#00875A",
"active": true
},
"reporter": null,
"customer": {
"id": 1,
"email": "anna.berg@example.invalid",
"displayName": "Anna Berg"
},
"organisation": {
"id": 3,
"name": "Northwind Trading"
},
"orgShared": true,
"raisedBy": {
"type": "customer",
"id": 1,
"displayName": "Anna Berg",
"email": "anna.berg@example.invalid"
},
"requestType": null,
"channel": "portal",
"firstResponse": "2026-11-21T18:40:57Z",
"parent": null,
"labels": [],
"components": [],
"rank": 2000.0,
"dueDate": null,
"participants": []
},
{
"id": 11,
"key": "SUP-4",
"seq": 4,
"summary": "Rename our company in the invoices",
"description": "Northwind Trading is now Northwind Trading GmbH.",
"descript
…
Bereich: dashboard
Die Startseite einer Person: was auf sie wartet.
GET /api/dashboard
Dashboard lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/dashboard' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
assigned |
array | |
reported |
array | |
recent |
array | |
recent[].id |
integer | 10 |
recent[].key |
string | "SUP-3" |
recent[].seq |
integer | 3 |
recent[].summary |
string | "Login page returns an error 502" |
recent[].description |
string | "Since a few minutes the login page shows 'Bad gateway'." |
recent[].descriptionHtml |
null | null |
recent[].project |
object | |
recent[].type |
object | |
recent[].status |
object | |
recent[].priority |
object | |
recent[].assignee |
null | null |
recent[].reporter |
null | null |
recent[].customer |
object | |
recent[].organisation |
object | |
recent[].orgShared |
boolean | true |
recent[].raisedBy |
object | |
recent[].requestType |
null | null |
recent[].channel |
string | "email" |
recent[].firstResponse |
null | null |
recent[].parent |
null | null |
recent[].labels |
array | |
recent[].components |
array | |
recent[].rank |
number | 11000.0 |
recent[].dueDate |
null | null |
recent[].participants |
array | |
recent[].startDate |
null | null |
recent[].endDate |
null | null |
recent[].estimate |
null | null |
recent[].timeLeft |
null | null |
recent[].progress |
null | null |
recent[].created |
string | "2026-11-21T20:46:57Z" |
recent[].updated |
string | "2026-11-21T20:46:57Z" |
recent[].resolved |
null | null |
recent[].commentCount |
integer | 0 |
recent[].subtaskCount |
integer | 0 |
recent[].timeSpent |
integer | 0 |
activity |
array |
Beispielantwort
{
"assigned": [],
"reported": [],
"recent": [
{
"id": 10,
"key": "SUP-3",
"seq": 3,
"summary": "Login page returns an error 502",
"description": "Since a few minutes the login page shows 'Bad gateway'.",
"descriptionHtml": null,
"project": {
"id": 2,
"key": "SUP",
"name": "Customer Support",
"color": "#00875A"
},
"type": {
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false
},
"status": {
"id": 1,
"name": "Waiting for support",
"category": "todo"
},
"priority": {
"id": 1,
"name": "Highest",
"icon": "up",
"color": "#CD1317"
},
"assignee": null,
"reporter": null,
"customer": {
"id": 4,
"email": "omar.haddad@example.invalid",
"displayName": "Omar Haddad"
},
"organisation": {
"id": 1,
"name": "Bluefield Logistics"
},
"orgShared": true,
"raisedBy": {
"type": "customer",
"id": 4,
"displayName": "Omar Haddad",
"email": "omar.haddad@example.invalid"
},
"requestType": null,
"channel": "email",
"firstResponse": null,
"parent": null,
"labels": [],
"components": [],
"rank": 11000.0,
"dueDate": null,
"participants": []
},
{
"id": 1,
"key": "ITS-1",
"seq": 1,
"summary": "VPN drops every few minutes",
"description": "Since this morning the VPN connection drops every five to ten minutes. Collea…",
"descriptionHtml": null,
"project": {
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
…
Bereich: dashboards
Dashboards mit Gadgets: anlegen, freigeben, anordnen.
GET /api/dashboards
Dashboards auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/dashboards' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
dashboards |
array | |
dashboards[].id |
integer | 1 |
dashboards[].name |
string | "Service overview" |
dashboards[].shared |
string | "read" |
dashboards[].layout |
array | |
dashboards[].owner |
object | |
dashboards[].shares |
array | |
dashboards[].permission |
string | "owner" |
dashboards[].canEdit |
boolean | true |
dashboards[].isOwner |
boolean | true |
dashboards[].created |
string | "2026-11-21T21:28:57Z" |
dashboards[].updated |
null | null |
lastId |
null | null |
Beispielantwort
{
"dashboards": [
{
"id": 1,
"name": "Service overview",
"shared": "read",
"layout": [
{
"id": "g1",
"type": "stats",
"size": "full"
},
{
"id": "g2",
"type": "assigned",
"size": "half",
"title": "Assigned to me"
},
"…"
],
"owner": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"shares": [],
"permission": "owner",
"canEdit": true,
"isOwner": true,
"created": "2026-11-21T21:28:57Z",
"updated": null
}
],
"lastId": null
}
POST /api/dashboards
Dashboard anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
name,layout,copyFrom,shared
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/dashboards' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "layout": "…", "copyFrom": "…", "shared": "…"}'
Liefert
Wie GET /api/dashboards.
GET /api/dashboards/current
Aktuelle Einträge auflisten
Details aus dem Code (englisch)
The dashboard last opened by this person, or a sensible fallback.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/dashboards/current' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
id |
integer | 1 |
name |
string | "Service overview" |
shared |
string | "read" |
layout |
array | |
layout[].id |
string | "g1" |
layout[].type |
string | "stats" |
layout[].size |
string | "full" |
owner |
object | |
owner.id |
integer | 1 |
owner.username |
string | "mkoch" |
owner.displayName |
string | "Marie Koch" |
owner.email |
string | "marie.koch@example.invalid" |
owner.avatarColor |
string | "#0052CC" |
owner.isAdmin |
boolean | true |
owner.active |
boolean | true |
owner.clockPrompt |
boolean | false |
owner.avatarUrl |
null | null |
shares |
array | |
permission |
string | "owner" |
canEdit |
boolean | true |
isOwner |
boolean | true |
created |
string | "2026-11-21T21:28:57Z" |
updated |
null | null |
Beispielantwort
{
"id": 1,
"name": "Service overview",
"shared": "read",
"layout": [
{
"id": "g1",
"type": "stats",
"size": "full"
},
{
"id": "g2",
"type": "assigned",
"size": "half",
"title": "Assigned to me"
},
"…"
],
"owner": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"shares": [],
"permission": "owner",
"canEdit": true,
"isOwner": true,
"created": "2026-11-21T21:28:57Z",
"updated": null
}
GET /api/dashboards/{did}
Dashboard lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
did(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/dashboards/{did}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
id |
integer | 1 |
name |
string | "Service overview" |
shared |
string | "read" |
layout |
array | |
layout[].id |
string | "g1" |
layout[].type |
string | "stats" |
layout[].size |
string | "full" |
owner |
object | |
owner.id |
integer | 1 |
owner.username |
string | "mkoch" |
owner.displayName |
string | "Marie Koch" |
owner.email |
string | "marie.koch@example.invalid" |
owner.avatarColor |
string | "#0052CC" |
owner.isAdmin |
boolean | true |
owner.active |
boolean | true |
owner.clockPrompt |
boolean | false |
owner.avatarUrl |
null | null |
shares |
array | |
permission |
string | "owner" |
canEdit |
boolean | true |
isOwner |
boolean | true |
created |
string | "2026-11-21T21:28:57Z" |
updated |
null | null |
Beispielantwort
{
"id": 1,
"name": "Service overview",
"shared": "read",
"layout": [
{
"id": "g1",
"type": "stats",
"size": "full"
},
{
"id": "g2",
"type": "assigned",
"size": "half",
"title": "Assigned to me"
},
"…"
],
"owner": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"shares": [],
"permission": "owner",
"canEdit": true,
"isOwner": true,
"created": "2026-11-21T21:28:57Z",
"updated": null
}
PUT /api/dashboards/{did}
Dashboard ändern
- Wer darf: Berechtigung:
manageDashboards - Pfadparameter:
did(integer) - JSON-Body:
layout,name,shared,shares
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/dashboards/{did}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"layout": "…", "name": "…", "shared": "…", "shares": "…"}'
Liefert
Wie GET /api/dashboards/{did}.
DELETE /api/dashboards/{did}
Dashboard löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
did(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/dashboards/{did}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: default-workflows
Welchen Workflow ein neues Projekt je Vorgangstyp bekommt.
GET /api/default-workflows
Standard-Workflows auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/default-workflows' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
types |
array | |
types[].id |
integer | 1 |
types[].name |
string | "Incident" |
types[].icon |
string | "incident" |
types[].color |
string | "#E5493A" |
types[].subtask |
boolean | false |
types[].workflowId |
null | null |
workflows |
array | |
workflows[].id |
integer | 1 |
workflows[].name |
string | "Service desk workflow" |
workflows[].isDefault |
boolean | true |
fallback |
object | |
fallback.id |
integer | 1 |
fallback.name |
string | "Service desk workflow" |
Beispielantwort
{
"types": [
{
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false,
"workflowId": null
},
{
"id": 2,
"name": "Help Request",
"icon": "help",
"color": "#4BADE8",
"subtask": false,
"workflowId": null
},
"…"
],
"workflows": [
{
"id": 1,
"name": "Service desk workflow",
"isDefault": true
}
],
"fallback": {
"id": 1,
"name": "Service desk workflow"
}
}
PUT /api/default-workflows
Standard-Workflows ändern
- Wer darf: Administratoren
- JSON-Body:
types
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/default-workflows' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"types": "…"}'
Liefert
types
Bereich: filters
Gespeicherte Filter: eine MQL-Abfrage mit Namen, freigegeben oder privat.
GET /api/filters
Gespeicherte Filter auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/filters' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
[].id |
integer | 2 |
[].name |
string | "My open requests" |
[].mql |
string | "assignee = currentUser() AND statusCategory != done" |
[].owner_id |
integer | 1 |
[].created |
string | "2026-11-21T21:28:57Z" |
Beispielantwort
[
{
"id": 2,
"name": "My open requests",
"mql": "assignee = currentUser() AND statusCategory != done",
"owner_id": 1,
"created": "2026-11-21T21:28:57Z"
},
{
"id": 1,
"name": "Open incidents",
"mql": "type = Incident AND statusCategory != done ORDER BY priority DESC",
"owner_id": 1,
"created": "2026-11-21T21:28:57Z"
}
]
POST /api/filters
Gespeicherter Filter anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
name,mql
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/filters' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "mql": "…"}'
Liefert
Wie GET /api/filters.
DELETE /api/filters/{fid}
Gespeicherter Filter löschen
Details aus dem Code (englisch)
Filters are seen by everybody (boards and dashboards are built on them) - deleted only by the one who saved it, or an administrator. There was no check: anybody could delete anybody's filter, and the boards and gadgets built on it with it.- Wer darf: Jede angemeldete Person
- Pfadparameter:
fid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/filters/{fid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: gadgets
Die Daten hinter einem Gadget eines Dashboards.
GET /api/gadgets/{kind}
Gadget lesen
Details aus dem Code (englisch)
Data for one dashboard gadget.- Wer darf: Jede angemeldete Person
- Pfadparameter:
kind(string) - Abfrageparameter:
limit(int, Standard 8),mql(string, Standard ""),group(string, Standard "status"),project(string, Standard "")
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/gadgets/{kind}?limit=…&mql=…&group=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
issues, total, items
Bereich: global-permissions
Allgemeine Berechtigungen: wer Projekte anlegen, die Zeiten aller sehen, die KI nutzen darf und mehr.
GET /api/global-permissions
Allgemeine Berechtigungen auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/global-permissions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
permissions |
array | |
permissions[].key |
string | "createProject" |
permissions[].label |
string | "Create service projects" |
permissions[].legacyGroup |
null | null |
permissions[].grants |
array | |
groups |
array | |
groups[].id |
integer | 1 |
groups[].name |
string | "helpdesk-agent" |
users |
array | |
users[].id |
integer | 6 |
users[].displayName |
string | "Administrator" |
Beispielantwort
{
"permissions": [
{
"key": "createProject",
"label": "Create service projects",
"legacyGroup": null,
"grants": []
},
{
"key": "manageProjects",
"label": "Change any project's settings",
"legacyGroup": null,
"grants": []
},
"…"
],
"groups": [
{
"id": 1,
"name": "helpdesk-agent"
},
{
"id": 3,
"name": "routine-admin"
},
"…"
],
"users": [
{
"id": 6,
"displayName": "Administrator"
},
{
"id": 4,
"displayName": "Jan Novak"
},
"…"
]
}
PUT /api/global-permissions
Allgemeine Berechtigungen ändern
- Wer darf: Administratoren
- JSON-Body:
permission,grants
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/global-permissions' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"permission": "…", "grants": "…"}'
Liefert
permission
Bereich: groups
Gruppen von Personen und wer darin ist.
GET /api/groups
Gruppen auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/groups' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
[].id |
integer | 1 |
[].name |
string | "helpdesk-agent" |
[].description |
string | "Answers live chats from the customer portal and looks after |
[].created |
string | "2026-08-23T21:28:57Z" |
[].members |
array | |
[].members[].id |
integer | 4 |
[].members[].username |
string | "jnovak" |
[].members[].displayName |
string | "Jan Novak" |
[].members[].email |
string | "jan.novak@example.invalid" |
[].members[].avatarColor |
string | "#5243AA" |
[].members[].isAdmin |
boolean | false |
[].members[].active |
boolean | true |
[].members[].clockPrompt |
boolean | false |
[].members[].avatarUrl |
null | null |
Beispielantwort
[
{
"id": 1,
"name": "helpdesk-agent",
"description": "Answers live chats from the customer portal and looks after portal customers.",
"created": "2026-08-23T21:28:57Z",
"members": [
{
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"email": "jan.novak@example.invalid",
"avatarColor": "#5243AA",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
{
"id": 3,
"username": "lfrei",
"displayName": "Lena Frei",
"email": "lena.frei@example.invalid",
"avatarColor": "#BF2600",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"…"
]
},
{
"id": 3,
"name": "routine-admin",
"description": "May write and change routines. Running them is open to everybody who may crea…",
"created": "2026-11-21T21:28:57Z",
"members": []
},
"…"
]
POST /api/groups
Gruppe anlegen
- Wer darf: Administratoren
- JSON-Body:
name,description,memberIds
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/groups' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "memberIds": "…"}'
Liefert
Wie GET /api/groups.
PUT /api/groups/{gid}
Gruppe ändern
- Wer darf: Administratoren
- Pfadparameter:
gid(integer) - JSON-Body:
name,description,memberIds
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/groups/{gid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "memberIds": "…"}'
Liefert
JSON.
DELETE /api/groups/{gid}
Gruppe löschen
- Wer darf: Administratoren
- Pfadparameter:
gid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/groups/{gid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: health
Für die Überwachung: ob der Dienst antwortet und im Detail, wie es um ihn steht.
GET /api/health
Gesundheitsprüfung lesen
- Wer darf: Ohne Anmeldung
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/health' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
status |
string | "ok" |
product |
string | "mgservice" |
version |
string | "5.1.2" |
release |
string | "" |
Beispielantwort
{
"status": "ok",
"product": "mgservice",
"version": "5.1.2",
"release": ""
}
GET /api/health/details
Details lesen
Details aus dem Code (englisch)
For monitoring: answers to an administrator, an admin API token, or a request from the server itself (a local monitoring agent).- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/health/details' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
status |
string | "degraded" |
version |
string | "5.1.2" |
release |
string | "" |
instance |
string | "" |
checks |
object | |
checks.database |
object | |
checks.database.ok |
boolean | true |
checks.database.backend |
string | "postgres" |
checks.database.latencyMs |
number | 9.1 |
checks.migrations |
object | |
checks.migrations.ok |
boolean | true |
checks.migrations.current |
integer | 15 |
checks.migrations.latest |
integer | 15 |
checks.backgroundJobs |
object | |
checks.backgroundJobs.ok |
boolean | false |
checks.backgroundJobs.lastSign |
null | null |
checks.backgroundJobs.note |
string | "no background process has reported yet" |
checks.mail |
object | |
checks.mail.ok |
boolean | true |
checks.mail.configured |
boolean | false |
checks.disk |
object | |
checks.disk.ok |
boolean | true |
checks.disk.freeMb |
integer | 85247 |
Beispielantwort
{
"status": "degraded",
"version": "5.1.2",
"release": "",
"instance": "",
"checks": {
"database": {
"ok": true,
"backend": "postgres",
"latencyMs": 9.1
},
"migrations": {
"ok": true,
"current": 15,
"latest": 15
},
"backgroundJobs": {
"ok": false,
"lastSign": null,
"note": "no background process has reported yet"
},
"mail": {
"ok": true,
"configured": false
},
"disk": {
"ok": true,
"freeMb": 85247
}
}
}
Bereich: issue-types
Vorgangstypen: Bug, Aufgabe, Story und eigene, mit Symbolen.
POST /api/issue-types/move
Verschieben – Vorgangstyp
Details aus dem Code (englisch)
Change issues from one type to another, in one project or in all of them.- Wer darf: Administratoren
- JSON-Body:
fromTypeId,toTypeId,project
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issue-types/move' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"fromTypeId": "…", "toTypeId": "…", "project": "…"}'
Liefert
moved, scope, from, to
PUT /api/issue-types/{tid}
Vorgangstyp ändern
Details aus dem Code (englisch)
Rename a type or change its colour.- Wer darf: Administratoren
- Pfadparameter:
tid(integer) - JSON-Body:
name,color
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/issue-types/{tid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "color": "…"}'
Liefert
JSON.
DELETE /api/issue-types/{tid}
Vorgangstyp löschen
Details aus dem Code (englisch)
Remove a type nothing uses any more.- Wer darf: Administratoren
- Pfadparameter:
tid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/issue-types/{tid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: issues
Vorgänge (Tickets): anlegen, lesen, ändern, im Workflow weiterbewegen, Kommentare, Zeitbuchungen, Verknüpfungen, Anhänge, Beobachter und Verlauf.
POST /api/issues
Vorgang anlegen
- Wer darf: Berechtigung:
create,attach - JSON-Body:
project,projectId,summary,uploads,typeId,type,statusId,status,priorityId,priority,channel,customerId,description,assigneeId,reporterId,orgShared,requestTypeId,parentId,labels,components,dueDate,estimate,descriptionHtml
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"project": "…", "projectId": "…", "summary": "…", "uploads": "…", "typeId": "…", "type": "…", "statusId": "…", "status": "…"}'
Liefert
JSON.
POST /api/issues/bulk
Mehrere auf einmal ändern – Vorgang
Details aus dem Code (englisch)
Change many tickets at once - giving away the tickets of somebody who has left, moving a batch to another status. Built for thousands. The batch is read in one query; a permission is asked once per project, and per ticket only where the project does not grant it outright (being the assignee or the reporter can); the changes and their history are written in one transaction. Before, every ticket was read in full, checked from scratch and committed twice on its own - some eight thousand commits for four thousand tickets.- Wer darf: Jede angemeldete Person
- JSON-Body:
keys,changes
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/bulk' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"keys": "…", "changes": "…"}'
Liefert
updated, refused
GET /api/issues/{key}
Vorgang lesen
- Wer darf: Berechtigung:
browse - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
id |
integer | 1 |
key |
string | "ITS-1" |
seq |
integer | 1 |
summary |
string | "VPN drops every few minutes" |
description |
string | "Since this morning the VPN connection drops every five to t |
descriptionHtml |
null | null |
project |
object | |
project.id |
integer | 1 |
project.key |
string | "ITS" |
project.name |
string | "IT Service Desk" |
project.color |
string | "#0052CC" |
type |
object | |
type.id |
integer | 1 |
type.name |
string | "Incident" |
type.icon |
string | "incident" |
type.color |
string | "#E5493A" |
type.subtask |
boolean | false |
status |
object | |
status.id |
integer | 2 |
status.name |
string | "In Progress" |
status.category |
string | "inprogress" |
priority |
object | |
priority.id |
integer | 1 |
priority.name |
string | "Highest" |
priority.icon |
string | "up" |
priority.color |
string | "#CD1317" |
assignee |
object | |
assignee.id |
integer | 2 |
assignee.username |
string | "tbauer" |
assignee.displayName |
string | "Tom Bauer" |
assignee.avatarColor |
string | "#00875A" |
assignee.active |
boolean | true |
reporter |
null | null |
customer |
object | |
customer.id |
integer | 1 |
customer.email |
string | "anna.berg@example.invalid" |
customer.displayName |
string | "Anna Berg" |
customer.organisation |
string | "Northwind Trading" |
customer.organisationId |
integer | 3 |
customer.organisationShares |
boolean | true |
Beispielantwort
{
"id": 1,
"key": "ITS-1",
"seq": 1,
"summary": "VPN drops every few minutes",
"description": "Since this morning the VPN connection drops every five to ten minutes. Collea…",
"descriptionHtml": null,
"project": {
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"color": "#0052CC"
},
"type": {
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false
},
"status": {
"id": 2,
"name": "In Progress",
"category": "inprogress"
},
"priority": {
"id": 1,
"name": "Highest",
"icon": "up",
"color": "#CD1317"
},
"assignee": {
"id": 2,
"username": "tbauer",
"displayName": "Tom Bauer",
"avatarColor": "#00875A",
"active": true
},
"reporter": null,
"customer": {
"id": 1,
"email": "anna.berg@example.invalid",
"displayName": "Anna Berg",
"organisation": "Northwind Trading",
"organisationId": 3,
"organisationShares": true,
"active": true,
"phone": "",
"hasPassword": false,
"source": "agent",
"created": "2026-09-22T21:28:57Z",
"lastLogin": null,
"requests": 3,
"invitedAt": null,
"deletable": false,
"notDeletableBecause": "3 requests belong to this customer. Deactivate the customer instead - the req…"
},
"organisation": {
"id": 3,
"name": "Northwind Trading"
},
"orgShared": true,
"raisedBy": {
"type": "customer",
"id": 1,
"displayName": "Anna Berg",
"email": "anna.berg@example.invalid"
},
"requestType": null,
"channel": "portal",
"firstResponse": "2026-11-21T18:40:57Z",
"parent": null,
"labels": [],
"components": [],
"rank": 2000.0,
"dueDate": null,
"participants": []
}
PUT /api/issues/{key}
Vorgang ändern
- Wer darf: Berechtigung:
edit,transition,assign - Pfadparameter:
key(string) - JSON-Body:
assigneeId,description,channel,statusId
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/issues/{key}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"assigneeId": "…", "description": "…", "channel": "…", "statusId": "…"}'
Liefert
status, statusId, questions
DELETE /api/issues/{key}
Vorgang löschen
- Wer darf: Berechtigung:
delete - Pfadparameter:
key(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/issues/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/issues/{key}/attachments
Anhänge auflisten (Vorgang)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/attachments' \
-H 'Authorization: Bearer $TOKEN'
Liefert
[]
POST /api/issues/{key}/attachments
Anhang anlegen (Vorgang)
- Wer darf: Berechtigung:
attach - Pfadparameter:
key(string) - JSON-Body:
(multipart form: file)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/attachments' \
-H 'Authorization: Bearer $TOKEN' \
-F 'file=@/path/to/file'
Liefert
Wie GET /api/issues/{key}/attachments.
POST /api/issues/{key}/comments
Kommentar anlegen (Vorgang)
Details aus dem Code (englisch)
A reply to the customer, or an internal note between agents. Internal is the default: a comment reaches a customer only when somebody chose "Reply to customer" - sending by accident cannot be taken back.- Wer darf: Berechtigung:
comment - Pfadparameter:
key(string) - JSON-Body:
bodyHtml,body,internal,public
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/comments' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"bodyHtml": "…", "body": "…", "internal": "…", "public": "…"}'
Liefert
JSON.
GET /api/issues/{key}/creation-questions
Fragen beim Anlegen auflisten (Vorgang)
Details aus dem Code (englisch)
Rules that want to ask something about an issue just created. A question needs somebody at a screen, so it cannot be answered while the issue is being written. The issue exists first, then it is asked, then the answer runs the rule - which is why a "no" simply leaves the issue as it is.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/creation-questions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
questions |
array |
Beispielantwort
{
"questions": []
}
POST /api/issues/{key}/creation-questions
Frage beim Anlegen anlegen (Vorgang)
- Wer darf: Berechtigung:
edit - Pfadparameter:
key(string) - JSON-Body:
answers
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/creation-questions' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"answers": "…"}'
Liefert
ran
GET /api/issues/{key}/delete-questions
Fragen beim Löschen auflisten (Vorgang)
Details aus dem Code (englisch)
What a rule wants to know before this issue goes. Asked beforehand, unlike everything else: once the issue is deleted there is nothing left to ask about, and an answer of "no" has to leave the children standing.- Wer darf: Berechtigung:
delete - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/delete-questions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
questions |
array | |
children |
array |
Beispielantwort
{
"questions": [],
"children": []
}
GET /api/issues/{key}/fields
Felder auflisten (Vorgang)
Details aus dem Code (englisch)
The custom fields this issue's form has, with whatever is in them.- Wer darf: Berechtigung:
browse - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/fields' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
scheme |
string | "Default screen" |
fields |
array |
Beispielantwort
{
"scheme": "Default screen",
"fields": []
}
PUT /api/issues/{key}/fields
Felder ändern (Vorgang)
- Wer darf: Berechtigung:
edit - Pfadparameter:
key(string) - JSON-Body:
values
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/issues/{key}/fields' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"values": "…"}'
Liefert
ok
POST /api/issues/{key}/links
Verknüpfung anlegen (Vorgang)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
target,type
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/links' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"target": "…", "type": "…"}'
Liefert
ok
GET /api/issues/{key}/mentionable
Erwähnbare Personen auflisten (Vorgang)
Details aus dem Code (englisch)
Who can be named with @ in a comment on this request. Two circles: the agents who may see the queue, and the customers of the organisation the request belongs to. A request is a conversation with a customer, so somebody on their side has to be callable by name.- Wer darf: Berechtigung:
browse - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/mentionable' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
users |
array | |
users[].id |
integer | 4 |
users[].username |
string | "jnovak" |
users[].displayName |
string | "Jan Novak" |
users[].avatarColor |
string | "#5243AA" |
users[].kind |
string | "agent" |
Beispielantwort
{
"users": [
{
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"avatarColor": "#5243AA",
"kind": "agent"
},
{
"id": 3,
"username": "lfrei",
"displayName": "Lena Frei",
"avatarColor": "#BF2600",
"kind": "agent"
},
"…"
]
}
PUT /api/issues/{key}/participants
Beteiligte ändern (Vorgang)
Details aus dem Code (englisch)
Who is helping on this issue. The whole list is given at once rather than added and removed one by one: the field is edited as a set, and a half-applied change would be worse than none. Anybody who may edit the issue may say who helps. Participants themselves get no more rights than they had - they support the assignee, and the status stays the assignee's to move.- Wer darf: Berechtigung:
edit - Pfadparameter:
key(string) - JSON-Body:
customerIds,userIds
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/issues/{key}/participants' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"customerIds": "…", "userIds": "…"}'
Liefert
participants, customerParticipants
GET /api/issues/{key}/sla
SLAs auflisten (Vorgang)
- Wer darf: Berechtigung:
browse - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/sla' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
sla |
array | |
sla[].metric |
string | "first_response" |
sla[].label |
string | "Time to first response" |
sla[].goalMinutes |
integer | 15 |
sla[].elapsedMinutes |
integer | 12 |
sla[].remainingMinutes |
integer | 3 |
sla[].state |
string | "met" |
sla[].running |
boolean | false |
sla[].due |
null | null |
sla[].resumes |
null | null |
sla[].workingTime |
boolean | false |
Beispielantwort
{
"sla": [
{
"metric": "first_response",
"label": "Time to first response",
"goalMinutes": 15,
"elapsedMinutes": 12,
"remainingMinutes": 3,
"state": "met",
"running": false,
"due": null,
"resumes": null,
"workingTime": false
},
{
"metric": "resolution",
"label": "Time to resolution",
"goalMinutes": 240,
"elapsedMinutes": 180,
"remainingMinutes": 59,
"state": "at_risk",
"running": true,
"due": "2026-11-21T22:28:57Z",
"resumes": null,
"workingTime": false
},
"…"
]
}
POST /api/issues/{key}/transition
Status wechseln – Vorgang
Details aus dem Code (englisch)
Move an issue, asking first when an automation wants an answer. Answering happens in two steps: the first call reports the questions, the second repeats the request with the answers and carries the move out.- Wer darf: Berechtigung:
transition - Pfadparameter:
key(string) - JSON-Body:
statusId,answers
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/transition' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"statusId": "…", "answers": "…"}'
Liefert
status, questions, statusId, issue
GET /api/issues/{key}/transitions
Übergänge auflisten (Vorgang)
- Wer darf: Berechtigung:
transition - Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/issues/{key}/transitions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
current |
object | |
current.id |
integer | 2 |
current.name |
string | "In Progress" |
enforced |
boolean | true |
allowed |
boolean | true |
transitions |
array | |
transitions[].id |
integer | 2 |
transitions[].name |
string | "Ask the customer" |
transitions[].toStatusId |
integer | 3 |
transitions[].toName |
string | "Waiting for customer" |
transitions[].toCategory |
string | "inprogress" |
transitions[].description |
string | "" |
transitions[].rules |
object |
Beispielantwort
{
"current": {
"id": 2,
"name": "In Progress"
},
"enforced": true,
"allowed": true,
"transitions": [
{
"id": 2,
"name": "Ask the customer",
"toStatusId": 3,
"toName": "Waiting for customer",
"toCategory": "inprogress",
"description": "",
"rules": {
"conditions": [],
"validators": [],
"postFunctions": []
}
},
{
"id": 4,
"name": "Escalate",
"toStatusId": 4,
"toName": "Escalated",
"toCategory": "inprogress",
"description": "",
"rules": {
"conditions": [],
"validators": [],
"postFunctions": []
}
},
"…"
]
}
POST /api/issues/{key}/watch
Beobachten oder nicht mehr beobachten – Vorgang
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/watch' \
-H 'Authorization: Bearer $TOKEN'
Liefert
watching
POST /api/issues/{key}/worklog
Zeitbuchung anlegen (Vorgang)
- Wer darf: Berechtigung:
worklog - Pfadparameter:
key(string) - JSON-Body:
seconds,timeSpent,authorId,started,comment
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/issues/{key}/worklog' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"seconds": "…", "timeSpent": "…", "authorId": "…", "started": "…", "comment": "…"}'
Liefert
ok
Bereich: kb
GET /api/kb/search
Suche lesen
Details aus dem Code (englisch)
The knowledge base the portal searches, for an agent sharing an article in a reply.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
q(string, Standard "")
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/kb/search?q=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
enabled |
boolean | false |
results |
array |
Beispielantwort
{
"enabled": false,
"results": []
}
Bereich: links
Verknüpfungen zwischen Vorgängen (blockiert, hängt zusammen mit …) bzw. die Schnelllinks der Navigation.
GET /api/links
Verknüpfungen auflisten
Details aus dem Code (englisch)
Readable by everybody who is signed in; only the label is what they see.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/links' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
links |
array |
Beispielantwort
{
"links": []
}
POST /api/links
Verknüpfung anlegen
- Wer darf: Administratoren
- JSON-Body:
label,url
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/links' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"label": "…", "url": "…"}'
Liefert
id, label, url
DELETE /api/links/{lid}
Verknüpfung löschen
- Wer darf: Administratoren
- Pfadparameter:
lid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/links/{lid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
DELETE /api/links/{lid}
Verknüpfung löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
lid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/links/{lid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: mql
MQL, die Abfragesprache: welche Felder es gibt, und eine Abfrage prüfen.
GET /api/mql/check
Prüfen – MQL-Abfrage
Details aus dem Code (englisch)
Validate a query and report how many issues it matches.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
mql(string),jql(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/mql/check?mql=…&jql=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
ok |
boolean | true |
total |
integer | 12 |
Beispielantwort
{
"ok": true,
"total": 12
}
GET /api/mql/meta
Feldliste lesen
Details aus dem Code (englisch)
Field names, operators and the values each field can take.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/mql/meta' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
fields |
object | |
fields.project |
string | "a project key" |
fields.type |
string | "an issue type" |
fields.status |
string | "a status" |
fields.statusCategory |
string | "todo, inprogress or done" |
fields.priority |
string | "a priority" |
fields.assignee |
string | "a user name" |
fields.reporter |
string | "a user name" |
fields.customer |
string | "a customer's e-mail address" |
fields.channel |
string | "portal, email, chat or agent" |
fields.organisation |
string | "an organisation name" |
fields.labels |
string | "a label" |
fields.summary |
string | "free text" |
fields.description |
string | "free text" |
fields.text |
string | "free text" |
fields.created |
string | "a date" |
fields.updated |
string | "a date" |
fields.resolved |
string | "a date" |
fields.duedate |
string | "a date" |
fields.resolution |
string | "Done or empty" |
fields.key |
string | "an issue key" |
fields.parent |
string | "an issue key" |
operators |
array | |
keywords |
array | |
values |
object | |
values.project |
array | |
values.type |
array | |
values.issuetype |
array | |
values.status |
array | |
values.statuscategory |
array | |
values.priority |
array | |
values.assignee |
array | |
values.reporter |
array | |
values.channel |
array | |
values.organisation |
array | |
values.resolution |
array | |
values.labels |
array |
Beispielantwort
{
"fields": {
"project": "a project key",
"type": "an issue type",
"status": "a status",
"statusCategory": "todo, inprogress or done",
"priority": "a priority",
"assignee": "a user name",
"reporter": "a user name",
"customer": "a customer's e-mail address",
"channel": "portal, email, chat or agent",
"organisation": "an organisation name",
"labels": "a label",
"summary": "free text",
"description": "free text",
"text": "free text",
"created": "a date",
"updated": "a date",
"resolved": "a date",
"duedate": "a date",
"resolution": "Done or empty",
"key": "an issue key",
"parent": "an issue key"
},
"operators": [
"=",
"!=",
"…"
],
"keywords": [
"AND",
"OR",
"…"
],
"values": {
"project": [
"ITS",
"SUP"
],
"type": [
"Incident",
"Help Request",
"…"
],
"issuetype": [
"Incident",
"Help Request",
"…"
],
"status": [
"Waiting for support",
"In Progress",
"…"
],
"statuscategory": [
"todo",
"inprogress",
"…"
],
"priority": [
"Highest",
"High",
"…"
],
"assignee": [
"admin",
"jnovak",
"…"
],
"reporter": [
"admin",
"jnovak",
"…"
],
"channel": [
"portal",
"email",
"…"
],
"organisation": [
"Bluefield Logistics",
"Greenleaf Studio",
"…"
],
"resolution": [
"Done",
"EMPTY"
],
"labels": []
}
}
Bereich: notification-schemes
Benachrichtigungsschemata: wer per Mail erfährt, wenn etwas mit einem Vorgang geschieht.
GET /api/notification-schemes
Benachrichtigungsschemata auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/notification-schemes' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
schemes |
array | |
schemes[].id |
integer | 1 |
schemes[].name |
string | "Default notification scheme" |
schemes[].description |
string | "The reporter, the assignee and the watchers of an issue." |
schemes[].isDefault |
boolean | true |
schemes[].rules |
array | |
schemes[].projects |
array | |
events |
object | |
events.issue.created |
string | "An issue is created" |
events.issue.assigned |
string | "An issue is assigned to somebody" |
events.issue.transitioned |
string | "An issue changes status" |
events.issue.participants |
string | "Somebody is added as a participant" |
events.comment.added |
string | "Somebody comments" |
events.customer.commented |
string | "The customer replies" |
events.issue.mentioned |
string | "Somebody is mentioned in a comment" |
events.issue.escalated |
string | "A customer escalates a request" |
recipients |
object | |
recipients.reporter |
string | "The reporter" |
recipients.assignee |
string | "The assignee" |
recipients.watchers |
string | "The watchers" |
recipients.participants |
string | "The participants - agents always, customers only what custo |
recipients.lead |
string | "The project lead" |
recipients.actor |
string | "Whoever did it" |
recipients.group |
string | "A group" |
recipients.user |
string | "One person" |
groups |
array | |
groups[].id |
integer | 1 |
groups[].name |
string | "helpdesk-agent" |
users |
array | |
users[].id |
integer | 6 |
users[].displayName |
string | "Administrator" |
projects |
array | |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
projects[].schemeId |
integer | 1 |
Beispielantwort
{
"schemes": [
{
"id": 1,
"name": "Default notification scheme",
"description": "The reporter, the assignee and the watchers of an issue.",
"isDefault": true,
"rules": [
{
"event": "issue.created",
"recipient": "reporter",
"subjectId": null
},
{
"event": "issue.created",
"recipient": "assignee",
"subjectId": null
},
"…"
],
"projects": [
"ITS",
"SUP"
]
}
],
"events": {
"issue.created": "An issue is created",
"issue.assigned": "An issue is assigned to somebody",
"issue.transitioned": "An issue changes status",
"issue.participants": "Somebody is added as a participant",
"comment.added": "Somebody comments",
"customer.commented": "The customer replies",
"issue.mentioned": "Somebody is mentioned in a comment",
"issue.escalated": "A customer escalates a request"
},
"recipients": {
"reporter": "The reporter",
"assignee": "The assignee",
"watchers": "The watchers",
"participants": "The participants - agents always, customers only what customers may see",
"lead": "The project lead",
"actor": "Whoever did it",
"group": "A group",
"user": "One person"
},
"groups": [
{
"id": 1,
"name": "helpdesk-agent"
},
{
"id": 3,
"name": "routine-admin"
},
"…"
],
"users": [
{
"id": 6,
"displayName": "Administrator"
},
{
"id": 4,
"displayName": "Jan Novak"
},
"…"
],
"projects": [
{
"key": "ITS",
"name": "IT Service Desk",
"schemeId": 1
},
{
"key": "SUP",
"name": "Customer Support",
"schemeId": 1
}
]
}
POST /api/notification-schemes
Benachrichtigungsschema anlegen
- Wer darf: Administratoren
- JSON-Body:
name,description
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/notification-schemes' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…"}'
Liefert
id, name
PUT /api/notification-schemes/{sid}
Benachrichtigungsschema ändern
- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
name,description,rules
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/notification-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "rules": "…"}'
Liefert
id
DELETE /api/notification-schemes/{sid}
Benachrichtigungsschema löschen
- Wer darf: Administratoren
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/notification-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/notification-schemes/{sid}/apply
Anwenden – Benachrichtigungsschema
- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
projects
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/notification-schemes/{sid}/apply' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"projects": "…"}'
Liefert
scheme, projects
Bereich: notifications
Hinweise im Browser für die angemeldete Person.
GET /api/notifications/pending
Offene Einträge auflisten
Details aus dem Code (englisch)
What the browser has not shown yet, handed over once. Marked as delivered as it is read: a message shown twice is worse than one missed, and a second tab would otherwise repeat everything.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/notifications/pending' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
notices |
array |
Beispielantwort
{
"notices": []
}
POST /api/notifications/seen
Gelesen-Markierung anlegen
Details aus dem Code (englisch)
Draw a line under everything waiting. Switching the notices on means "from now on". Without this, a day's worth of events would arrive at once the moment somebody turns them on.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/notifications/seen' \
-H 'Authorization: Bearer $TOKEN'
Liefert
cleared
POST /api/notifications/test
Testen – Benachrichtigung
Details aus dem Code (englisch)
Put one notice in this person's own queue. The whole chain is otherwise hard to check: whoever creates an issue is left out of its notices on purpose, so the obvious test - make a ticket and watch - shows nothing and looks broken.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/notifications/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
queued
Bereich: organisations
Organisationen von Kunden und welche Helpdesks sie nutzen dürfen.
GET /api/organisations
Organisationen auflisten
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
q(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/organisations?q=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
organisations |
array | |
organisations[].id |
integer | 1 |
organisations[].name |
string | "Bluefield Logistics" |
organisations[].domains |
array | |
organisations[].sharing |
boolean | true |
organisations[].isDefault |
boolean | false |
organisations[].notes |
string | "" |
organisations[].created |
string | "2026-08-23T21:28:57Z" |
organisations[].members |
integer | 2 |
organisations[].requests |
integer | 4 |
organisations[].projectIds |
array | |
organisations[].deletable |
boolean | false |
organisations[].notDeletableBecause |
string | "2 customers still belong to it. Move them to another organi |
mayManage |
boolean | true |
Beispielantwort
{
"organisations": [
{
"id": 1,
"name": "Bluefield Logistics",
"domains": [],
"sharing": true,
"isDefault": false,
"notes": "",
"created": "2026-08-23T21:28:57Z",
"members": 2,
"requests": 4,
"projectIds": [
1,
2
],
"deletable": false,
"notDeletableBecause": "2 customers still belong to it. Move them to another organisation first - eve…"
},
{
"id": 2,
"name": "Greenleaf Studio",
"domains": [],
"sharing": true,
"isDefault": false,
"notes": "",
"created": "2026-08-23T21:28:57Z",
"members": 1,
"requests": 2,
"projectIds": [
1,
2
],
"deletable": false,
"notDeletableBecause": "1 customer still belongs to it. Move them to another organisation first - eve…"
},
"…"
],
"mayManage": true
}
POST /api/organisations
Organisation anlegen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/organisations' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/organisations.
GET /api/organisations/{oid}
Organisation lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/organisations/{oid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
organisation |
object | |
organisation.id |
integer | 1 |
organisation.name |
string | "Bluefield Logistics" |
organisation.domains |
array | |
organisation.sharing |
boolean | true |
organisation.isDefault |
boolean | false |
organisation.notes |
string | "" |
organisation.created |
string | "2026-08-23T21:28:57Z" |
organisation.members |
integer | 2 |
organisation.requests |
integer | 4 |
organisation.projectIds |
array | |
organisation.deletable |
boolean | false |
organisation.notDeletableBecause |
string | "2 customers still belong to it. Move them to another organi |
customers |
array | |
customers[].id |
integer | 3 |
customers[].email |
string | "claire.dubois@example.invalid" |
customers[].displayName |
string | "Claire Dubois" |
customers[].organisation |
string | "Bluefield Logistics" |
customers[].organisationId |
integer | 1 |
customers[].organisationShares |
boolean | true |
customers[].active |
boolean | true |
customers[].phone |
string | "" |
customers[].hasPassword |
boolean | false |
customers[].source |
string | "agent" |
customers[].created |
string | "2026-09-22T21:28:57Z" |
customers[].lastLogin |
null | null |
customers[].requests |
integer | 2 |
customers[].invitedAt |
null | null |
customers[].deletable |
boolean | false |
customers[].notDeletableBecause |
string | "2 requests belong to this customer. Deactivate the customer |
issues |
array | |
issues[].id |
integer | 10 |
issues[].key |
string | "SUP-3" |
issues[].seq |
integer | 3 |
issues[].summary |
string | "Login page returns an error 502" |
issues[].description |
string | "Since a few minutes the login page shows 'Bad gateway'." |
issues[].descriptionHtml |
null | null |
issues[].project |
object | |
issues[].type |
object | |
issues[].status |
object |
Beispielantwort
{
"organisation": {
"id": 1,
"name": "Bluefield Logistics",
"domains": [],
"sharing": true,
"isDefault": false,
"notes": "",
"created": "2026-08-23T21:28:57Z",
"members": 2,
"requests": 4,
"projectIds": [
1,
2
],
"deletable": false,
"notDeletableBecause": "2 customers still belong to it. Move them to another organisation first - eve…"
},
"customers": [
{
"id": 3,
"email": "claire.dubois@example.invalid",
"displayName": "Claire Dubois",
"organisation": "Bluefield Logistics",
"organisationId": 1,
"organisationShares": true,
"active": true,
"phone": "",
"hasPassword": false,
"source": "agent",
"created": "2026-09-22T21:28:57Z",
"lastLogin": null,
"requests": 2,
"invitedAt": null,
"deletable": false,
"notDeletableBecause": "2 requests belong to this customer. Deactivate the customer instead - the req…"
},
{
"id": 4,
"email": "omar.haddad@example.invalid",
"displayName": "Omar Haddad",
"organisation": "Bluefield Logistics",
"organisationId": 1,
"organisationShares": true,
"active": true,
"phone": "",
"hasPassword": false,
"source": "agent",
"created": "2026-09-22T21:28:57Z",
"lastLogin": null,
"requests": 2,
"invitedAt": null,
"deletable": false,
"notDeletableBecause": "2 requests belong to this customer. Deactivate the customer instead - the req…"
}
],
"issues": [
{
"id": 10,
"key": "SUP-3",
"seq": 3,
"summary": "Login page returns an error 502",
"description": "Since a few minutes the login page shows 'Bad gateway'.",
"descriptionHtml": null,
"project
…
PUT /api/organisations/{oid}
Organisation ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/organisations/{oid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/organisations/{oid}.
DELETE /api/organisations/{oid}
Organisation löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/organisations/{oid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/organisations/{oid}/collect
Einsammeln – Organisation
Details aus dem Code (englisch)
Every customer with an address in one of the organisation's domains, into it. Without a domain nothing happens. With ``dry`` it only says who would come - the page shows that before anything moves. Customers already in the organisation are left out; the others come from Individual customers or from another organisation, and the answer says how many from where.- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer) - JSON-Body:
dry
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/organisations/{oid}/collect' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"dry": "…"}'
Liefert
requests
POST /api/organisations/{oid}/members
Mitglied anlegen (Organisation)
Details aus dem Code (englisch)
Existing customers into this organisation.- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer) - JSON-Body:
customerIds
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/organisations/{oid}/members' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"customerIds": "…"}'
Liefert
added, requests
DELETE /api/organisations/{oid}/members/{cid}
Mitglied löschen (Organisation)
Details aus dem Code (englisch)
Take a customer out: into Individual customers, since everyone needs one.- Wer darf: Jede angemeldete Person
- Pfadparameter:
oid(integer),cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/organisations/{oid}/members/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
removed, requests
Bereich: permission-schemes
Berechtigungsschemata: wer was in den Projekten darf, die sie nutzen.
GET /api/permission-schemes
Berechtigungsschemata auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/permission-schemes' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
schemes |
array | |
schemes[].id |
integer | 1 |
schemes[].name |
string | "Default permission scheme" |
schemes[].description |
string | "Open to everyone who is signed in - managing the project an |
schemes[].isDefault |
boolean | true |
schemes[].projects |
array | |
schemes[].grants |
array | |
permissions |
array | |
permissions[].key |
string | "browse" |
permissions[].label |
string | "Browse the project and its issues" |
projects |
array | |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
unassigned |
array | |
unassigned[].key |
string | "ITS" |
unassigned[].name |
string | "IT Service Desk" |
Beispielantwort
{
"schemes": [
{
"id": 1,
"name": "Default permission scheme",
"description": "Open to everyone who is signed in - managing the project and deleting are the…",
"isDefault": true,
"projects": [],
"grants": [
{
"permission": "browse",
"subjectType": "role",
"subjectId": null,
"subjectRole": "anyone"
},
{
"permission": "create",
"subjectType": "role",
"subjectId": null,
"subjectRole": "anyone"
},
"…"
]
}
],
"permissions": [
{
"key": "browse",
"label": "Browse the project and its issues"
},
{
"key": "create",
"label": "Create issues"
},
"…"
],
"projects": [
{
"key": "ITS",
"name": "IT Service Desk"
},
{
"key": "SUP",
"name": "Customer Support"
}
],
"unassigned": [
{
"key": "ITS",
"name": "IT Service Desk"
},
{
"key": "SUP",
"name": "Customer Support"
}
]
}
POST /api/permission-schemes
Berechtigungsschema anlegen
- Wer darf: Administratoren
- JSON-Body:
name,description,copyOf
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/permission-schemes' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "copyOf": "…"}'
Liefert
id, name
PUT /api/permission-schemes/{sid}
Berechtigungsschema ändern
- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
name,description,grants
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/permission-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "grants": "…"}'
Liefert
id, name
DELETE /api/permission-schemes/{sid}
Berechtigungsschema löschen
- Wer darf: Administratoren
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/permission-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/permission-schemes/{sid}/apply
Anwenden – Berechtigungsschema
Details aus dem Code (englisch)
Attach one scheme to a number of projects at once.- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
projects
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/permission-schemes/{sid}/apply' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"projects": "…"}'
Liefert
scheme, projects
Bereich: portal
Das Kundenportal: registrieren und anmelden, Anfragen stellen, antworten, Anhänge - was ein Kunde tut.
GET /api/portal/attachments/{aid}
Anhang lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
aid(integer) - Abfrageparameter:
download(string),inline(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/attachments/{aid}?download=…&inline=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
GET /api/portal/attachments/{aid}/preview
Vorschau – Anhang
Details aus dem Code (englisch)
An office document as PDF for the viewer in the portal - the same conversion the team's viewer uses, behind the portal's own check.- Wer darf: Jede angemeldete Person
- Pfadparameter:
aid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/attachments/{aid}/preview' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/portal/attachments/{aid}/seen
Gelesen-Markierung anlegen (Anhang)
Details aus dem Code (englisch)
The customer opened what the team attached - its NEW goes. Asked with the same question as the file itself (portal_attachment_row): nobody can mark what they may not see.- Wer darf: Jede angemeldete Person
- Pfadparameter:
aid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/attachments/{aid}/seen' \
-H 'Authorization: Bearer $TOKEN'
Liefert
seen
GET /api/portal/chat
Chats auflisten
Details aus dem Code (englisch)
The customer's open chat, with everything after the last message seen.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
id(string),after(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/chat?id=…&after=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
chat
POST /api/portal/chat
Chat anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
project,intake,message
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/chat' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"project": "…", "intake": "…", "message": "…"}'
Liefert
chat
GET /api/portal/chat/availability
Verfügbarkeit lesen
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
project(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/chat/availability?project=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
enabled, online, questions
POST /api/portal/chat/{sid}/close
Schließen – Chat
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/chat/{sid}/close' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/portal/chat/{sid}/files/{fid}
Datei lesen (Chat)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer),fid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/chat/{sid}/files/{fid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/portal/chat/{sid}/messages
Nachricht anlegen (Chat)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
sid(integer) - JSON-Body:
body
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/chat/{sid}/messages' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"body": "…"}'
Liefert
ok
POST /api/portal/forgot
Neues Passwort anfordern – Kundenportal
Details aus dem Code (englisch)
Always answers the same, so the form cannot be used to test addresses. With sign-up closed, a link only goes to an account the team set up or one that has a password already. Somebody whose first contact was a mail has an entry but no portal access until the team invites them - otherwise this form would be sign-up through the back door.- Wer darf: Ohne Anmeldung
- JSON-Body:
email
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/forgot' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email": "…"}'
Liefert
status, mail
GET /api/portal/kb/search
Suche lesen
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
q(string, Standard "")
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/kb/search?q=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
enabled, results
POST /api/portal/login
Anmelden – Kundenportal
- Wer darf: Ohne Anmeldung
- JSON-Body:
email,password
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/login' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email": "…", "password": "…"}'
Liefert
customer
POST /api/portal/logout
Abmelden – Kundenportal
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/logout' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
PUT /api/portal/me
Eigenes Konto ändern
- Wer darf: Jede angemeldete Person
- JSON-Body:
name,newPassword,currentPassword
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/portal/me' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "newPassword": "…", "currentPassword": "…"}'
Liefert
customer
POST /api/portal/password
Passwort senden
- Wer darf: Jede angemeldete Person
- JSON-Body:
token,password
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/password' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"token": "…", "password": "…"}'
Liefert
customer
GET /api/portal/projects/{key}
Projekt lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/projects/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/portal/projects/{key}/requests
Anfrage anlegen (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
requestTypeId,fields,descriptionHtml,uploads,summary,description,attachmentCount,priority,shared
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/projects/{key}/requests' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"requestTypeId": "…", "fields": "…", "descriptionHtml": "…", "uploads": "…", "summary": "…", "description": "…", "attachmentCount": "…", "priority": "…"}'
Liefert
JSON.
GET /api/portal/requests
Anfragen auflisten
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
status(string, Standard "open"),scope(string, Standard "all")
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/requests?status=…&scope=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
requests, organisation, orgSharing
GET /api/portal/requests/{key}
Anfrage lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/requests/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/portal/requests/{key}/attachments
Anhang anlegen (Anfrage)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
(multipart form: file)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/requests/{key}/attachments' \
-H 'Authorization: Bearer $TOKEN' \
-F 'file=@/path/to/file'
Liefert
JSON.
POST /api/portal/requests/{key}/comments
Kommentar anlegen (Anfrage)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/requests/{key}/comments' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/portal/requests/{key}/escalate
Eskalieren – Anfrage
Details aus dem Code (englisch)
The customer escalates a request: it goes to "Escalated" and the team hears about it at once - the assignee and the project lead by default, set under the notification scheme's "A customer escalates a request". What the customer writes with it lands on the request as their comment, so the team sees why without asking.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
reason
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/requests/{key}/escalate' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"reason": "…"}'
Liefert
JSON.
PUT /api/portal/requests/{key}/sharing
Freigabe ändern (Anfrage)
Details aus dem Code (englisch)
The one who raised a request decides whether colleagues see it.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
shared
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/portal/requests/{key}/sharing' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"shared": "…"}'
Liefert
JSON.
POST /api/portal/signup
Registrieren – Kundenportal
Details aus dem Code (englisch)
Create an account - always confirmed through a link to the address. Without the confirmation anybody could sign up as somebody@their-company and, through the organisation that address belongs to, read that company's shared requests. So the password is chosen through a link sent to the address itself, and the answer is the same whether the address was known or not.- Wer darf: Ohne Anmeldung
- JSON-Body:
email,name
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/signup' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email": "…", "name": "…"}'
Liefert
status
GET /api/portal/state
Zustand lesen – Kundenportal
- Wer darf: Ohne Anmeldung
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/state' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
customer |
null | null |
portals |
array | |
signup |
boolean | true |
title |
string | "Help Center" |
loginLink |
boolean | true |
signupAvailable |
boolean | false |
mail |
boolean | false |
version |
string | "5.1.2" |
knowledgeBase |
boolean | false |
Beispielantwort
{
"customer": null,
"portals": [],
"signup": true,
"title": "Help Center",
"loginLink": true,
"signupAvailable": false,
"mail": false,
"version": "5.1.2",
"knowledgeBase": false
}
POST /api/portal/uploads
Upload anlegen
Details aus dem Code (englisch)
A customer's big file in pieces: begin.- Wer darf: Jede angemeldete Person
- JSON-Body:
filename,size
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/portal/uploads' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"filename": "…", "size": "…"}'
Liefert
JSON.
GET /api/portal/uploads/{uid}
Upload lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal/uploads/{uid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
DELETE /api/portal/uploads/{uid}
Upload löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/portal/uploads/{uid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/portal/uploads/{uid}.
PUT /api/portal/uploads/{uid}/{index}
Upload ändern
Details aus dem Code (englisch)
A customer's big file in pieces: one piece, in order.- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string),index(integer)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/portal/uploads/{uid}/{index}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
Bereich: portal-helpdesks
Welche Helpdesks das Portal anbietet.
GET /api/portal-helpdesks
Helpdesks im Portal auflisten
Details aus dem Code (englisch)
The projects an organisation can be given: those with the portal on, the Default Helpdesk marked.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/portal-helpdesks' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
helpdesks |
array | |
helpdesks[].id |
integer | 2 |
helpdesks[].key |
string | "SUP" |
helpdesks[].name |
string | "Customer Support" |
helpdesks[].isDefault |
boolean | false |
defaultId |
integer | 1 |
Beispielantwort
{
"helpdesks": [
{
"id": 2,
"key": "SUP",
"name": "Customer Support",
"isDefault": false
},
{
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"isDefault": true
}
],
"defaultId": 1
}
Bereich: projects
Projekte: ihre Einstellungen, Komponenten, Versionen, Personen, Berechtigungs- und Benachrichtigungsschemata sowie die SLA-Einstellungen von Service-Projekten.
GET /api/projects
Projekte auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
[].workflow |
object | |
[].workflow.id |
integer | 1 |
[].workflow.name |
string | "Service desk workflow" |
[].id |
integer | 1 |
[].key |
string | "ITS" |
[].name |
string | "IT Service Desk" |
[].description |
string | "Internal IT: accounts, devices, access and outages." |
[].type |
string | "service" |
[].avatarColor |
string | "#0052CC" |
[].lead |
object | |
[].lead.id |
integer | 1 |
[].lead.username |
string | "mkoch" |
[].lead.displayName |
string | "Marie Koch" |
[].lead.email |
string | "marie.koch@example.invalid" |
[].lead.avatarColor |
string | "#0052CC" |
[].lead.isAdmin |
boolean | true |
[].lead.active |
boolean | true |
[].lead.clockPrompt |
boolean | false |
[].lead.avatarUrl |
null | null |
[].issueCount |
integer | 7 |
[].doneCount |
integer | 1 |
[].created |
string | "2026-08-23T21:28:57Z" |
[].iconUrl |
null | null |
[].may |
object | |
[].may.create |
boolean | true |
[].may.edit |
boolean | true |
[].may.manage |
boolean | true |
[].may.transition |
boolean | true |
[].may.assign |
boolean | true |
Beispielantwort
[
{
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueCount": 7,
"doneCount": 1,
"created": "2026-08-23T21:28:57Z",
"iconUrl": null,
"may": {
"create": true,
"edit": true,
"manage": true,
"transition": true,
"assign": true
}
},
{
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 2,
"key": "SUP",
"name": "Customer Support",
"description": "Questions and problems from the customers of our products.",
"type": "service",
"avatarColor": "#00875A",
"lead": {
"id": 3,
"username": "lfrei",
"displayName": "Lena Frei",
"email": "lena.frei@example.invalid",
"avatarColor": "#BF2600",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueCount": 5,
"doneCount": 2,
"created": "2026-08-23T21:28:57Z",
"iconUrl": null,
"may": {
"create": true,
"edit": true,
"manage": true,
"transition": true,
"assign": true
}
}
]
POST /api/projects
Projekt anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
key,name,description,leadId,avatarColor,workflowId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"key": "…", "name": "…", "description": "…", "leadId": "…", "avatarColor": "…", "workflowId": "…"}'
Liefert
Wie GET /api/projects.
GET /api/projects/{key}
Projekt lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
workflow |
object | |
workflow.id |
integer | 1 |
workflow.name |
string | "Service desk workflow" |
id |
integer | 1 |
key |
string | "ITS" |
name |
string | "IT Service Desk" |
description |
string | "Internal IT: accounts, devices, access and outages." |
type |
string | "service" |
avatarColor |
string | "#0052CC" |
lead |
object | |
lead.id |
integer | 1 |
lead.username |
string | "mkoch" |
lead.displayName |
string | "Marie Koch" |
lead.email |
string | "marie.koch@example.invalid" |
lead.avatarColor |
string | "#0052CC" |
lead.isAdmin |
boolean | true |
lead.active |
boolean | true |
lead.clockPrompt |
boolean | false |
lead.avatarUrl |
null | null |
issueCount |
integer | 7 |
doneCount |
integer | 1 |
created |
string | "2026-08-23T21:28:57Z" |
iconUrl |
null | null |
may |
object | |
may.create |
boolean | true |
may.edit |
boolean | true |
may.manage |
boolean | true |
may.transition |
boolean | true |
may.assign |
boolean | true |
Beispielantwort
{
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueCount": 7,
"doneCount": 1,
"created": "2026-08-23T21:28:57Z",
"iconUrl": null,
"may": {
"create": true,
"edit": true,
"manage": true,
"transition": true,
"assign": true
}
}
PUT /api/projects/{key}
Projekt ändern
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
name,description,leadId,avatarColor,workflowId
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "leadId": "…", "avatarColor": "…", "workflowId": "…"}'
Liefert
Wie GET /api/projects/{key}.
DELETE /api/projects/{key}
Projekt löschen
- Wer darf: Administratoren
- Pfadparameter:
key(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/projects/{key}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/projects/{key}/assignable
Zuweisbare Personen auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/assignable' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
restricted |
boolean | true |
users |
array | |
users[].id |
integer | 4 |
users[].displayName |
string | "Jan Novak" |
users[].username |
string | "jnovak" |
users[].isAdmin |
boolean | false |
users[].avatarColor |
string | "#5243AA" |
users[].avatarUrl |
null | null |
Beispielantwort
{
"restricted": true,
"users": [
{
"id": 4,
"displayName": "Jan Novak",
"username": "jnovak",
"isAdmin": false,
"avatarColor": "#5243AA",
"avatarUrl": null
},
{
"id": 3,
"displayName": "Lena Frei",
"username": "lfrei",
"isAdmin": false,
"avatarColor": "#BF2600",
"avatarUrl": null
},
"…"
]
}
GET /api/projects/{key}/create-screen
Formular zum Anlegen lesen – Projekt
- Wer darf: Berechtigung:
browse - Pfadparameter:
key(string) - Abfrageparameter:
typeId(string),type(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/create-screen?typeId=…&type=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
scheme |
string | "Default screen" |
standard |
object | |
standard.summary |
boolean | true |
standard.description |
boolean | false |
standard.issuetype |
boolean | true |
standard.status |
boolean | false |
standard.priority |
boolean | false |
standard.assignee |
boolean | false |
standard.reporter |
boolean | false |
standard.customer |
boolean | false |
standard.labels |
boolean | false |
standard.components |
boolean | false |
standard.estimate |
boolean | false |
standard.dueDate |
boolean | false |
standard.attachments |
boolean | false |
custom |
array |
Beispielantwort
{
"scheme": "Default screen",
"standard": {
"summary": true,
"description": false,
"issuetype": true,
"status": false,
"priority": false,
"assignee": false,
"reporter": false,
"customer": false,
"labels": false,
"components": false,
"estimate": false,
"dueDate": false,
"attachments": false
},
"custom": []
}
POST /api/projects/{key}/icon
Symbol senden (Projekt)
Details aus dem Code (englisch)
A picture for the project, shown wherever its key appears. Re-encoded rather than stored as sent: that drops any metadata or payload that came with the file, and it keeps the size sane.- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
(multipart form: file)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects/{key}/icon' \
-H 'Authorization: Bearer $TOKEN' \
-F 'file=@/path/to/file'
Liefert
JSON.
DELETE /api/projects/{key}/icon
Symbol löschen (Projekt)
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/projects/{key}/icon' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
GET /api/projects/{key}/issue-types
Vorgangstypen auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/issue-types' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
types |
array | |
types[].id |
integer | 1 |
types[].name |
string | "Incident" |
types[].icon |
string | "incident" |
types[].color |
string | "#E5493A" |
types[].subtask |
boolean | false |
types[].enabled |
boolean | true |
types[].fixed |
boolean | false |
types[].used |
integer | 3 |
configured |
boolean | true |
Beispielantwort
{
"types": [
{
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false,
"enabled": true,
"fixed": false,
"used": 3
},
{
"id": 2,
"name": "Help Request",
"icon": "help",
"color": "#4BADE8",
"subtask": false,
"enabled": true,
"fixed": false,
"used": 2
},
"…"
],
"configured": true
}
PUT /api/projects/{key}/issue-types
Vorgangstypen ändern (Projekt)
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
typeIds
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/issue-types' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"typeIds": "…"}'
Liefert
typeIds
POST /api/projects/{key}/issue-types/move
Verschieben – Vorgangstyp (Projekt)
Details aus dem Code (englisch)
Change every issue of one type in a project over to another type. This is what frees a type so it can be taken away from the project. Two conversions are refused rather than guessed at: between sub-task and ordinary types, because a sub-task needs a parent and the others must not have one.- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
fromTypeId,toTypeId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects/{key}/issue-types/move' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"fromTypeId": "…", "toTypeId": "…"}'
Liefert
moved, from, to
GET /api/projects/{key}/permissions
Berechtigungen auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/permissions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
project |
object | |
project.workflow |
object | |
project.workflow.id |
integer | 1 |
project.workflow.name |
string | "Service desk workflow" |
project.id |
integer | 1 |
project.key |
string | "ITS" |
project.name |
string | "IT Service Desk" |
project.description |
string | "Internal IT: accounts, devices, access and outages." |
project.type |
string | "service" |
project.avatarColor |
string | "#0052CC" |
project.lead |
object | |
project.lead.id |
integer | 1 |
project.lead.username |
string | "mkoch" |
project.lead.displayName |
string | "Marie Koch" |
project.lead.email |
string | "marie.koch@example.invalid" |
project.lead.avatarColor |
string | "#0052CC" |
project.lead.isAdmin |
boolean | true |
project.lead.active |
boolean | true |
project.lead.clockPrompt |
boolean | false |
project.lead.avatarUrl |
null | null |
project.issueCount |
integer | 7 |
project.doneCount |
integer | 1 |
project.created |
string | "2026-08-23T21:28:57Z" |
project.iconUrl |
null | null |
project.may |
object | |
project.may.create |
boolean | true |
project.may.edit |
boolean | true |
project.may.manage |
boolean | true |
project.may.transition |
boolean | true |
project.may.assign |
boolean | true |
catalogue |
object | |
catalogue.browse |
string | "Browse the project and its issues" |
catalogue.create |
string | "Create issues" |
catalogue.edit |
string | "Edit issues" |
catalogue.transition |
string | "Move issues through the workflow" |
catalogue.assign |
string | "Assign issues" |
catalogue.assignable |
string | "Be assigned issues in this project" |
catalogue.delete |
string | "Delete issues" |
catalogue.comment |
string | "Comment on issues (internal notes)" |
catalogue.reply |
string | "Reply to customers" |
Beispielantwort
{
"project": {
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueCount": 7,
"doneCount": 1,
"created": "2026-08-23T21:28:57Z",
"iconUrl": null,
"may": {
"create": true,
"edit": true,
"manage": true,
"transition": true,
"assign": true
}
},
"catalogue": {
"browse": "Browse the project and its issues",
"create": "Create issues",
"edit": "Edit issues",
"transition": "Move issues through the workflow",
"assign": "Assign issues",
"assignable": "Be assigned issues in this project",
"delete": "Delete issues",
"comment": "Comment on issues (internal notes)",
"reply": "Reply to customers",
"worklog": "Log work",
"attach": "Add and remove attachments",
"manage": "Change project settings and permissions"
},
"roles": {
"anyone": "Anyone signed in",
"lead": "The project lead",
"assignee": "The assignee of the issue",
"reporter": "The reporter of the issue",
"participant": "A participant on the issue",
"admin": "Administrators"
},
"entries": [
{
"id": 1,
"permission": "browse",
"subjectType": "role",
"subjectId": null,
"subjectRole": "anyone",
"label": "Anyone signed in"
},
{
"id": 2,
"permission": "cre
…
PUT /api/projects/{key}/permissions
Berechtigungen ändern (Projekt)
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
entries
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/permissions' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"entries": "…"}'
Liefert
Wie GET /api/projects/{key}/permissions.
GET /api/projects/{key}/portal
Kundenportal lesen (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/portal' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
enabled |
boolean | true |
title |
string | "IT Service Desk" |
intro |
string | "Welcome! Tell us what you need and we will take care of it. |
chat |
boolean | true |
inviteByMail |
boolean | true |
chatQuestions |
array | |
chatQuestions[].id |
string | "product" |
chatQuestions[].label |
string | "Which of our products is it about?" |
chatQuestions[].kind |
string | "text" |
chatQuestions[].options |
array | |
chatQuestionsDefault |
array | |
chatQuestionsDefault[].id |
string | "product" |
chatQuestionsDefault[].label |
string | "Which of our products is it about?" |
chatQuestionsDefault[].kind |
string | "text" |
chatQuestionsDefault[].options |
array | |
chatRouting |
string | "take" |
defaultHelpdesk |
boolean | true |
defaultHelpdeskName |
string | "IT Service Desk" |
requestTypes |
array | |
requestTypes[].id |
integer | 1 |
requestTypes[].typeId |
integer | 1 |
requestTypes[].name |
string | "Report a system problem" |
requestTypes[].description |
string | "Something is broken or not available." |
requestTypes[].visible |
boolean | true |
requestTypes[].notice |
null | null |
portalUrl |
string | "http://localhost/portal#/p/ITS" |
general |
object | |
general.signup |
boolean | true |
general.title |
string | "Help Center" |
general.loginLink |
boolean | true |
mail |
boolean | false |
mayManage |
boolean | true |
Beispielantwort
{
"enabled": true,
"title": "IT Service Desk",
"intro": "Welcome! Tell us what you need and we will take care of it.",
"chat": true,
"inviteByMail": true,
"chatQuestions": [
{
"id": "product",
"label": "Which of our products is it about?",
"kind": "text",
"options": []
},
{
"id": "version",
"label": "Which version of it do you use?",
"kind": "text",
"options": []
},
"…"
],
"chatQuestionsDefault": [
{
"id": "product",
"label": "Which of our products is it about?",
"kind": "text",
"options": []
},
{
"id": "version",
"label": "Which version of it do you use?",
"kind": "text",
"options": []
},
"…"
],
"chatRouting": "take",
"defaultHelpdesk": true,
"defaultHelpdeskName": "IT Service Desk",
"requestTypes": [
{
"id": 1,
"typeId": 1,
"name": "Report a system problem",
"description": "Something is broken or not available.",
"visible": true,
"notice": null
},
{
"id": 2,
"typeId": 2,
"name": "Get help",
"description": "Ask a question or request assistance.",
"visible": true,
"notice": null
},
"…"
],
"portalUrl": "http://localhost/portal#/p/ITS",
"general": {
"signup": true,
"title": "Help Center",
"loginLink": true
},
"mail": false,
"mayManage": true
}
PUT /api/projects/{key}/portal
Kundenportal ändern (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
enabled,defaultHelpdesk,title,intro,chat,inviteByMail,chatQuestions,chatRouting,requestTypes
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/portal' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"enabled": "…", "defaultHelpdesk": "…", "title": "…", "intro": "…", "chat": "…", "inviteByMail": "…", "chatQuestions": "…", "chatRouting": "…"}'
Liefert
Wie GET /api/projects/{key}/portal.
GET /api/projects/{key}/queues
Queues auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/queues' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
queues |
array | |
queues[].id |
integer | 1 |
queues[].name |
string | "All open" |
queues[].mql |
string | "statusCategory != done ORDER BY priority DESC, created ASC" |
queues[].position |
integer | 0 |
queues[].count |
integer | 6 |
queues[].error |
null | null |
mayManage |
boolean | true |
Beispielantwort
{
"queues": [
{
"id": 1,
"name": "All open",
"mql": "statusCategory != done ORDER BY priority DESC, created ASC",
"position": 0,
"count": 6,
"error": null
},
{
"id": 2,
"name": "Assigned to me",
"mql": "assignee = currentUser() AND statusCategory != done ORDER BY priority DESC, c…",
"position": 1,
"count": 0,
"error": null
},
"…"
],
"mayManage": true
}
POST /api/projects/{key}/queues
Queue anlegen (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
name,mql
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects/{key}/queues' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "mql": "…"}'
Liefert
id
POST /api/projects/{key}/queues/order
Reihenfolge senden (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
ids
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects/{key}/queues/order' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"ids": "…"}'
Liefert
ok
GET /api/projects/{key}/scheme
Schema lesen (Projekt)
Details aus dem Code (englisch)
Which permission scheme this project follows, and what it grants.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/scheme' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
scheme |
object | |
scheme.id |
integer | 1 |
scheme.name |
string | "Default permission scheme" |
scheme.description |
string | "Open to everyone who is signed in - managing the project an |
scheme.isDefault |
boolean | true |
scheme.inherited |
boolean | true |
grants |
array | |
grants[].permission |
string | "browse" |
grants[].subjectType |
string | "role" |
grants[].subjectId |
null | null |
grants[].subjectRole |
string | "anyone" |
permissions |
array | |
permissions[].key |
string | "browse" |
permissions[].label |
string | "Browse the project and its issues" |
schemes |
array | |
schemes[].id |
integer | 1 |
schemes[].name |
string | "Default permission scheme" |
Beispielantwort
{
"scheme": {
"id": 1,
"name": "Default permission scheme",
"description": "Open to everyone who is signed in - managing the project and deleting are the…",
"isDefault": true,
"inherited": true
},
"grants": [
{
"permission": "browse",
"subjectType": "role",
"subjectId": null,
"subjectRole": "anyone"
},
{
"permission": "create",
"subjectType": "role",
"subjectId": null,
"subjectRole": "anyone"
},
"…"
],
"permissions": [
{
"key": "browse",
"label": "Browse the project and its issues"
},
{
"key": "create",
"label": "Create issues"
},
"…"
],
"schemes": [
{
"id": 1,
"name": "Default permission scheme"
}
]
}
PUT /api/projects/{key}/scheme
Schema ändern (Projekt)
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
schemeId
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/scheme' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"schemeId": "…"}'
Liefert
schemeId
GET /api/projects/{key}/sla
SLAs auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/sla' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
metrics |
object | |
metrics.first_response |
string | "Time to first response" |
metrics.resolution |
string | "Time to resolution" |
metrics.overall |
string | "Overall time" |
goals |
array | |
goals[].id |
integer | 1 |
goals[].metric |
string | "first_response" |
goals[].typeId |
integer | 1 |
goals[].priorityId |
integer | 1 |
goals[].minutes |
integer | 15 |
pauseStatusIds |
array | |
calendar |
null | null |
mayManage |
boolean | true |
Beispielantwort
{
"metrics": {
"first_response": "Time to first response",
"resolution": "Time to resolution",
"overall": "Overall time"
},
"goals": [
{
"id": 1,
"metric": "first_response",
"typeId": 1,
"priorityId": 1,
"minutes": 15
},
{
"id": 2,
"metric": "first_response",
"typeId": 1,
"priorityId": null,
"minutes": 60
},
"…"
],
"pauseStatusIds": [
3
],
"calendar": null,
"mayManage": true
}
PUT /api/projects/{key}/sla
SLAs ändern (Projekt)
Details aus dem Code (englisch)
Replace the goals and pause statuses in one go - the page saves as a whole.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string) - JSON-Body:
goals,calendar,pauseStatusIds
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/sla' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"goals": "…", "calendar": "…", "pauseStatusIds": "…"}'
Liefert
Wie GET /api/projects/{key}/sla.
POST /api/projects/{key}/sla/recalculate
Neu berechnen – SLA (Projekt)
Details aus dem Code (englisch)
Measure every request of the project now - open and closed - with the goals, pause statuses and working time as they stand. The queues and the ticket compute their clocks when shown; this brings what MQL and the lists read (sla_states) up to date at once instead of within the worker's next rounds.- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/projects/{key}/sla/recalculate' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
GET /api/projects/{key}/stats
Statistik lesen (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/stats' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
project |
object | |
project.workflow |
object | |
project.workflow.id |
integer | 1 |
project.workflow.name |
string | "Service desk workflow" |
project.id |
integer | 1 |
project.key |
string | "ITS" |
project.name |
string | "IT Service Desk" |
project.description |
string | "Internal IT: accounts, devices, access and outages." |
project.type |
string | "service" |
project.avatarColor |
string | "#0052CC" |
project.lead |
object | |
project.lead.id |
integer | 1 |
project.lead.username |
string | "mkoch" |
project.lead.displayName |
string | "Marie Koch" |
project.lead.email |
string | "marie.koch@example.invalid" |
project.lead.avatarColor |
string | "#0052CC" |
project.lead.isAdmin |
boolean | true |
project.lead.active |
boolean | true |
project.lead.clockPrompt |
boolean | false |
project.lead.avatarUrl |
null | null |
project.issueCount |
integer | 7 |
project.doneCount |
integer | 1 |
project.created |
string | "2026-08-23T21:28:57Z" |
project.iconUrl |
null | null |
project.may |
object | |
project.may.create |
boolean | true |
project.may.edit |
boolean | true |
project.may.manage |
boolean | true |
project.may.transition |
boolean | true |
project.may.assign |
boolean | true |
byStatus |
array | |
byStatus[].label |
string | "Waiting for support" |
byStatus[].value |
integer | 3 |
byStatus[].color |
string | "#8993A4" |
byType |
array | |
byType[].label |
string | "Incident" |
byType[].value |
integer | 3 |
byType[].color |
string | "#E5493A" |
byPriority |
array | |
byPriority[].label |
string | "Highest" |
Beispielantwort
{
"project": {
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null
},
"issueCount": 7,
"doneCount": 1,
"created": "2026-08-23T21:28:57Z",
"iconUrl": null,
"may": {
"create": true,
"edit": true,
"manage": true,
"transition": true,
"assign": true
}
},
"byStatus": [
{
"label": "Waiting for support",
"value": 3,
"color": "#8993A4"
},
{
"label": "In Progress",
"value": 1,
"color": "#0052CC"
},
"…"
],
"byType": [
{
"label": "Incident",
"value": 3,
"color": "#E5493A"
},
{
"label": "Help Request",
"value": 2,
"color": "#4BADE8"
},
"…"
],
"byPriority": [
{
"label": "Highest",
"value": 1,
"color": "#CD1317"
},
{
"label": "High",
"value": 2,
"color": "#E9494A"
},
"…"
],
"byAssignee": [
{
"label": "Unassigned",
"value": 3,
"color": "#8993A4"
},
{
"label": "Marie Koch",
"value": 1,
"color": "#0052CC"
},
"…"
],
"byProject": [
{
"label": "ITS",
"value": 7,
"color": "#0052CC"
}
],
"createdPerDay": [
{
"date": "2026-11-16",
"count": 1
},
{
"date": "2026-11-18
…
GET /api/projects/{key}/workflows
Workflows auflisten (Projekt)
- Wer darf: Jede angemeldete Person
- Pfadparameter:
key(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/projects/{key}/workflows' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
default |
integer | 1 |
types |
array | |
types[].id |
integer | 1 |
types[].name |
string | "Incident" |
types[].icon |
string | "incident" |
types[].color |
string | "#E5493A" |
types[].subtask |
boolean | false |
types[].workflowId |
null | null |
workflows |
array | |
workflows[].id |
integer | 1 |
workflows[].name |
string | "Service desk workflow" |
Beispielantwort
{
"default": 1,
"types": [
{
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false,
"workflowId": null
},
{
"id": 2,
"name": "Help Request",
"icon": "help",
"color": "#4BADE8",
"subtask": false,
"workflowId": null
},
"…"
],
"workflows": [
{
"id": 1,
"name": "Service desk workflow"
}
]
}
PUT /api/projects/{key}/workflows
Workflows ändern (Projekt)
- Wer darf: Berechtigung:
manage - Pfadparameter:
key(string) - JSON-Body:
types
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/projects/{key}/workflows' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"types": "…"}'
Liefert
Wie GET /api/projects/{key}/workflows.
Bereich: queues
Queues eines Service-Projekts: eine MQL-Abfrage mit Namen, in einer Reihenfolge je Person.
PUT /api/queues/{qid}
Queue ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
qid(integer) - JSON-Body:
name,mql
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/queues/{qid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "mql": "…"}'
Liefert
id
DELETE /api/queues/{qid}
Queue löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
qid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/queues/{qid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/queues/{qid}/issues
Vorgänge auflisten (Queue)
- Wer darf: Berechtigung:
browse - Pfadparameter:
qid(integer) - Abfrageparameter:
limit(int, Standard 200)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/queues/{qid}/issues?limit=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
queue |
object | |
queue.id |
integer | 1 |
queue.name |
string | "All open" |
queue.mql |
string | "statusCategory != done ORDER BY priority DESC, created ASC" |
issues |
array | |
issues[].id |
integer | 1 |
issues[].key |
string | "ITS-1" |
issues[].seq |
integer | 1 |
issues[].summary |
string | "VPN drops every few minutes" |
issues[].description |
string | "Since this morning the VPN connection drops every five to t |
issues[].descriptionHtml |
null | null |
issues[].project |
object | |
issues[].type |
object | |
issues[].status |
object | |
issues[].priority |
object | |
issues[].assignee |
object | |
issues[].reporter |
null | null |
issues[].customer |
object | |
issues[].organisation |
object | |
issues[].orgShared |
boolean | true |
issues[].raisedBy |
object | |
issues[].requestType |
null | null |
issues[].channel |
string | "portal" |
issues[].firstResponse |
string | "2026-11-21T18:40:57Z" |
issues[].parent |
null | null |
issues[].labels |
array | |
issues[].components |
array | |
issues[].rank |
number | 2000.0 |
issues[].dueDate |
null | null |
issues[].participants |
array | |
issues[].startDate |
null | null |
issues[].endDate |
null | null |
issues[].estimate |
null | null |
issues[].timeLeft |
null | null |
issues[].progress |
null | null |
issues[].created |
string | "2026-11-21T18:28:57Z" |
issues[].updated |
string | "2026-11-21T18:28:57Z" |
issues[].resolved |
null | null |
issues[].commentCount |
integer | 3 |
issues[].subtaskCount |
integer | 0 |
Beispielantwort
{
"queue": {
"id": 1,
"name": "All open",
"mql": "statusCategory != done ORDER BY priority DESC, created ASC"
},
"issues": [
{
"id": 1,
"key": "ITS-1",
"seq": 1,
"summary": "VPN drops every few minutes",
"description": "Since this morning the VPN connection drops every five to ten minutes. Collea…",
"descriptionHtml": null,
"project": {
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"color": "#0052CC"
},
"type": {
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false
},
"status": {
"id": 2,
"name": "In Progress",
"category": "inprogress"
},
"priority": {
"id": 1,
"name": "Highest",
"icon": "up",
"color": "#CD1317"
},
"assignee": {
"id": 2,
"username": "tbauer",
"displayName": "Tom Bauer",
"avatarColor": "#00875A",
"active": true
},
"reporter": null,
"customer": {
"id": 1,
"email": "anna.berg@example.invalid",
"displayName": "Anna Berg"
},
"organisation": {
"id": 3,
"name": "Northwind Trading"
},
"orgShared": true,
"raisedBy": {
"type": "customer",
"id": 1,
"displayName": "Anna Berg",
"email": "anna.berg@example.invalid"
},
"requestType": null,
"channel": "portal",
"firstResponse": "2026-11-21T18:40:57Z",
"parent": null,
"labels": [],
"components": [],
"rank": 2000.0,
"dueDate": null,
"participants": []
},
{
"id": 5,
"key": "ITS-5",
"seq": 5,
"summary":
…
PUT /api/queues/{qid}/view
Ansicht ändern (Queue)
Details aus dem Code (englisch)
One person's columns and sort for one queue - nobody else's changes.- Wer darf: Berechtigung:
browse - Pfadparameter:
qid(integer) - JSON-Body:
reset,columns,sort,dir
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/queues/{qid}/view' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"reset": "…", "columns": "…", "sort": "…", "dir": "…"}'
Liefert
JSON.
Bereich: reports
Berichte: Zeit, Sprints, SLAs, Kunden - als JSON und, wo angegeben, als CSV, PDF oder Excel.
GET /api/reports/customers
Kunden auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/customers' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
customers |
array | |
customers[].id |
integer | 1 |
customers[].name |
string | "Anna Berg" |
customers[].email |
string | "anna.berg@example.invalid" |
customers[].organisation |
string | "Northwind Trading" |
customers[].total |
integer | 3 |
customers[].resolved |
integer | 0 |
customers[].open |
integer | 3 |
customers[].first |
string | "2026-11-16T21:28:57Z" |
customers[].last |
string | "2026-11-21T18:28:57Z" |
organisations |
array | |
organisations[].organisation |
string | "Northwind Trading" |
organisations[].total |
integer | 6 |
organisations[].customers |
integer | 2 |
total |
integer | 12 |
withoutCustomer |
integer | 0 |
filters |
object | |
filters.from |
string | "" |
filters.to |
string | "" |
filters.projects |
array |
Beispielantwort
{
"customers": [
{
"id": 1,
"name": "Anna Berg",
"email": "anna.berg@example.invalid",
"organisation": "Northwind Trading",
"total": 3,
"resolved": 0,
"open": 3,
"first": "2026-11-16T21:28:57Z",
"last": "2026-11-21T18:28:57Z"
},
{
"id": 2,
"name": "Paul Weber",
"email": "paul.weber@example.invalid",
"organisation": "Northwind Trading",
"total": 3,
"resolved": 1,
"open": 2,
"first": "2026-11-05T05:28:57Z",
"last": "2026-11-21T01:28:57Z"
},
"…"
],
"organisations": [
{
"organisation": "Northwind Trading",
"total": 6,
"customers": 2
},
{
"organisation": "Bluefield Logistics",
"total": 4,
"customers": 2
},
"…"
],
"total": 12,
"withoutCustomer": 0,
"filters": {
"from": "",
"to": "",
"projects": []
}
}
GET /api/reports/customers.csv
Kunden als CSV exportieren
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/customers.csv' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (text/csv).
GET /api/reports/sla
SLAs auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/sla' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
metrics |
array | |
metrics[].metric |
string | "first_response" |
metrics[].label |
string | "Time to first response" |
metrics[].met |
integer | 5 |
metrics[].breached |
integer | 7 |
metrics[].running |
integer | 0 |
metrics[].atRisk |
integer | 0 |
metrics[].paused |
integer | 0 |
metrics[].compliance |
number | 41.7 |
byProject |
array | |
byProject[].project |
string | "ITS" |
byProject[].metric |
string | "first_response" |
byProject[].label |
string | "Time to first response" |
byProject[].met |
integer | 3 |
byProject[].breached |
integer | 4 |
byProject[].compliance |
number | 42.9 |
breaches |
array | |
breaches[].key |
string | "SUP-3" |
breaches[].summary |
string | "Login page returns an error 502" |
breaches[].project |
string | "SUP" |
breaches[].metric |
string | "Time to first response" |
breaches[].goalMinutes |
integer | 15 |
breaches[].elapsedMinutes |
integer | 42 |
ticketCount |
integer | 12 |
capped |
boolean | false |
filters |
object | |
filters.from |
string | "" |
filters.to |
string | "" |
filters.projects |
array |
Beispielantwort
{
"metrics": [
{
"metric": "first_response",
"label": "Time to first response",
"met": 5,
"breached": 7,
"running": 0,
"atRisk": 0,
"paused": 0,
"compliance": 41.7
},
{
"metric": "resolution",
"label": "Time to resolution",
"met": 2,
"breached": 1,
"running": 4,
"atRisk": 2,
"paused": 1,
"compliance": 66.7
},
"…"
],
"byProject": [
{
"project": "ITS",
"metric": "first_response",
"label": "Time to first response",
"met": 3,
"breached": 4,
"compliance": 42.9
},
{
"project": "ITS",
"metric": "overall",
"label": "Overall time",
"met": 1,
"breached": 0,
"compliance": 100.0
},
"…"
],
"breaches": [
{
"key": "SUP-3",
"summary": "Login page returns an error 502",
"project": "SUP",
"metric": "Time to first response",
"goalMinutes": 15,
"elapsedMinutes": 42
},
{
"key": "ITS-6",
"summary": "Password reset for the CRM",
"project": "ITS",
"metric": "Time to first response",
"goalMinutes": 240,
"elapsedMinutes": 360
},
"…"
],
"ticketCount": 12,
"capped": false,
"filters": {
"from": "",
"to": "",
"projects": []
}
}
GET /api/reports/sla.csv
SLAs als CSV exportieren
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/sla.csv' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (text/csv).
GET /api/reports/time-in-status
Zeit im Status lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/time-in-status' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
statuses |
array | |
statuses[].status |
string | "Waiting for support" |
statuses[].tickets |
integer | 12 |
statuses[].category |
string | "todo" |
statuses[].averageHours |
number | 17.28 |
statuses[].totalHours |
number | 207.41 |
tickets |
array | |
tickets[].key |
string | "SUP-3" |
tickets[].summary |
string | "Login page returns an error 502" |
tickets[].project |
string | "SUP" |
tickets[].status |
string | "Waiting for support" |
tickets[].created |
string | "2026-11-21T20:46:57Z" |
tickets[].hours |
object | |
ticketCount |
integer | 12 |
capped |
boolean | false |
filters |
object | |
filters.from |
string | "" |
filters.to |
string | "" |
filters.projects |
array |
Beispielantwort
{
"statuses": [
{
"status": "Waiting for support",
"tickets": 12,
"category": "todo",
"averageHours": 17.28,
"totalHours": 207.41
},
{
"status": "In Progress",
"tickets": 7,
"category": "inprogress",
"averageHours": 10.9,
"totalHours": 76.3
},
"…"
],
"tickets": [
{
"key": "SUP-3",
"summary": "Login page returns an error 502",
"project": "SUP",
"status": "Waiting for support",
"created": "2026-11-21T20:46:57Z",
"hours": {
"Waiting for support": 0.7
}
},
{
"key": "ITS-1",
"summary": "VPN drops every few minutes",
"project": "ITS",
"status": "In Progress",
"created": "2026-11-21T18:28:57Z",
"hours": {
"Waiting for support": 0.2,
"In Progress": 2.8
}
},
"…"
],
"ticketCount": 12,
"capped": false,
"filters": {
"from": "",
"to": "",
"projects": []
}
}
GET /api/reports/time-in-status.csv
Zeit im Status als CSV exportieren
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/time-in-status.csv' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (text/csv).
GET /api/reports/worklog
Zeitbuchungen auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/worklog' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
issues |
array | |
issues[].key |
string | "ITS-1" |
issues[].summary |
string | "VPN drops every few minutes" |
issues[].type |
string | "Incident" |
issues[].status |
string | "In Progress" |
issues[].project |
string | "ITS" |
issues[].projectName |
string | "IT Service Desk" |
issues[].estimate |
null | null |
issues[].seconds |
integer | 3600 |
issues[].entries |
array | |
total |
integer | 9000 |
entryCount |
integer | 3 |
byUser |
array | |
byUser[].author |
string | "Tom Bauer" |
byUser[].seconds |
integer | 9000 |
filters |
object | |
filters.from |
string | "" |
filters.to |
string | "" |
filters.users |
array | |
filters.projects |
array |
Beispielantwort
{
"issues": [
{
"key": "ITS-1",
"summary": "VPN drops every few minutes",
"type": "Incident",
"status": "In Progress",
"project": "ITS",
"projectName": "IT Service Desk",
"estimate": null,
"seconds": 3600,
"entries": [
{
"id": 1,
"seconds": 3600,
"comment": "Analysis",
"started": "2026-11-21T19:28:57Z",
"author": "Tom Bauer"
}
]
},
{
"key": "ITS-4",
"summary": "Printer on the second floor shows paper jam",
"type": "Incident",
"status": "Resolved",
"project": "ITS",
"projectName": "IT Service Desk",
"estimate": null,
"seconds": 1800,
"entries": [
{
"id": 2,
"seconds": 1800,
"comment": "Analysis",
"started": "2026-11-21T19:28:57Z",
"author": "Tom Bauer"
}
]
},
"…"
],
"total": 9000,
"entryCount": 3,
"byUser": [
{
"author": "Tom Bauer",
"seconds": 9000
}
],
"filters": {
"from": "",
"to": "",
"users": [],
"projects": []
}
}
GET /api/reports/worklog.csv
Zeitbuchungen als CSV exportieren
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/worklog.csv' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (text/csv).
GET /api/reports/worklog.pdf
Zeitbuchungen als PDF exportieren
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/reports/worklog.pdf' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (application/pdf).
Bereich: request-types
Anfragetypen des Portals.
GET /api/request-types/{rtid}/form
Formular lesen (Anfragetyp)
- Wer darf: Berechtigung:
browse - Pfadparameter:
rtid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/request-types/{rtid}/form' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
requestType |
object | |
requestType.id |
integer | 1 |
requestType.name |
string | "Report a system problem" |
fields |
array | |
fields[].key |
string | "summary" |
fields[].builtin |
boolean | true |
fields[].name |
string | "Summary" |
fields[].kind |
string | "text" |
fields[].label |
string | "Summary" |
fields[].help |
string | "In a few words" |
fields[].required |
boolean | true |
available |
array | |
available[].key |
string | "description" |
available[].name |
string | "Description" |
available[].builtin |
boolean | true |
available[].kind |
string | "textarea" |
kinds |
object | |
kinds.text |
string | "One line of text" |
kinds.textarea |
string | "Several lines of text" |
kinds.number |
string | "A number" |
kinds.date |
string | "A date" |
kinds.select |
string | "One of a list" |
kinds.multiselect |
string | "Several from a list" |
kinds.checkbox |
string | "Yes or no" |
kinds.url |
string | "A link" |
mayManage |
boolean | true |
mayCreateFields |
boolean | true |
Beispielantwort
{
"requestType": {
"id": 1,
"name": "Report a system problem"
},
"fields": [
{
"key": "summary",
"builtin": true,
"name": "Summary",
"kind": "text",
"label": "Summary",
"help": "In a few words",
"required": true
},
{
"key": "description",
"builtin": true,
"name": "Description",
"kind": "textarea",
"label": "Description",
"help": "What happened, since when, and what you tried",
"required": false
},
"…"
],
"available": [
{
"key": "description",
"name": "Description",
"builtin": true,
"kind": "textarea"
},
{
"key": "attachments",
"name": "Attachments",
"builtin": true,
"kind": "files"
},
"…"
],
"kinds": {
"text": "One line of text",
"textarea": "Several lines of text",
"number": "A number",
"date": "A date",
"select": "One of a list",
"multiselect": "Several from a list",
"checkbox": "Yes or no",
"url": "A link"
},
"mayManage": true,
"mayCreateFields": true
}
PUT /api/request-types/{rtid}/form
Formular ändern (Anfragetyp)
- Wer darf: Berechtigung:
manage - Pfadparameter:
rtid(integer) - JSON-Body:
fields
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/request-types/{rtid}/form' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"fields": "…"}'
Liefert
Wie GET /api/request-types/{rtid}/form.
PUT /api/request-types/{rtid}/notice
Notice ändern (Anfragetyp)
Details aus dem Code (englisch)
The notice over this request type's form in the portal: formatted text, the box it stands in.- Wer darf: Berechtigung:
manage - Pfadparameter:
rtid(integer) - JSON-Body:
html,style
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/request-types/{rtid}/notice' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"html": "…", "style": "…"}'
Liefert
notice
Bereich: routines
Routinen: Vorgänge, die nach Zeitplan angelegt werden.
GET /api/routines
Routinen auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/routines' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
routines |
array | |
mayWrite |
boolean | true |
types |
array | |
types[].id |
integer | 1 |
types[].name |
string | "Incident" |
types[].subtask |
boolean | false |
projects |
array | |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
Beispielantwort
{
"routines": [],
"mayWrite": true,
"types": [
{
"id": 1,
"name": "Incident",
"subtask": false
},
{
"id": 2,
"name": "Help Request",
"subtask": false
},
"…"
],
"projects": [
{
"key": "ITS",
"name": "IT Service Desk"
},
{
"key": "SUP",
"name": "Customer Support"
}
]
}
POST /api/routines
Routine anlegen
- Wer darf: Jede angemeldete Person
- JSON-Body:
name,description,projectKey
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/routines' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "projectKey": "…"}'
Liefert
Wie GET /api/routines.
PUT /api/routines/{rid}
Routine ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
rid(integer) - JSON-Body:
name,description,projectKey,steps
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/routines/{rid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "projectKey": "…", "steps": "…"}'
Liefert
JSON.
DELETE /api/routines/{rid}
Routine löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
rid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/routines/{rid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
GET /api/routines/{rid}/questions
Fragen auflisten (Routine)
Details aus dem Code (englisch)
What has to be answered before this routine can run.- Wer darf: Jede angemeldete Person
- Pfadparameter:
rid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/routines/{rid}/questions' \
-H 'Authorization: Bearer $TOKEN'
Liefert
routine, questions
POST /api/routines/{rid}/run
Ausführen – Routine
Details aus dem Code (englisch)
Create what the routine describes, in one go. Every ticket marked "link to the first" is linked to the first ticket of the run - the usual shape: one request and the pieces of work it needs, such as a new starter with laptop, accounts and access as tickets of their own.- Wer darf: Berechtigung:
create - Pfadparameter:
rid(integer) - JSON-Body:
answers
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/routines/{rid}/run' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"answers": "…"}'
Liefert
created, project
Bereich: screen-schemes
Maskenschemata: welche Felder ein Formular zeigt, je Vorgangstyp und Vorgang.
GET /api/screen-schemes
Maskenschemata auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/screen-schemes' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
schemes |
array | |
schemes[].id |
integer | 1 |
schemes[].name |
string | "Default screen" |
schemes[].description |
string | "The standard form. Cannot be changed, and is what a project |
schemes[].isDefault |
boolean | true |
schemes[].created |
string | "2026-11-21T21:28:57Z" |
schemes[].fields |
array | |
standard |
array | |
standard[].key |
string | "summary" |
standard[].name |
string | "Summary" |
custom |
array | |
unremovable |
array | |
assignments |
array | |
projects |
array | |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
types |
array | |
types[].id |
integer | 1 |
types[].name |
string | "Incident" |
Beispielantwort
{
"schemes": [
{
"id": 1,
"name": "Default screen",
"description": "The standard form. Cannot be changed, and is what a project uses unless somet…",
"isDefault": true,
"created": "2026-11-21T21:28:57Z",
"fields": [
{
"key": "summary",
"position": 0,
"required": true
},
{
"key": "description",
"position": 1,
"required": false
},
"…"
]
}
],
"standard": [
{
"key": "summary",
"name": "Summary"
},
{
"key": "description",
"name": "Description"
},
"…"
],
"custom": [],
"unremovable": [
"issuetype",
"summary"
],
"assignments": [],
"projects": [
{
"key": "ITS",
"name": "IT Service Desk"
},
{
"key": "SUP",
"name": "Customer Support"
}
],
"types": [
{
"id": 1,
"name": "Incident"
},
{
"id": 2,
"name": "Help Request"
},
"…"
]
}
POST /api/screen-schemes
Maskenschema anlegen
- Wer darf: Administratoren
- JSON-Body:
name,description,copyFrom
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/screen-schemes' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "copyFrom": "…"}'
Liefert
Wie GET /api/screen-schemes.
PUT /api/screen-schemes/{sid}
Maskenschema ändern
- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
name,description,fields
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/screen-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "fields": "…"}'
Liefert
JSON.
DELETE /api/screen-schemes/{sid}
Maskenschema löschen
- Wer darf: Administratoren
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/screen-schemes/{sid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/screen-schemes/{sid}/assign
Zuweisen – Maskenschema
Details aus dem Code (englisch)
Hang a scheme on a project, for one issue type or for all of them.- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
project,typeId,remove
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/screen-schemes/{sid}/assign' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"project": "…", "typeId": "…", "remove": "…"}'
Liefert
project, typeId, scheme
Bereich: search
Vorgänge mit MQL suchen und das Ergebnis exportieren.
GET /api/search
Suche lesen
- Wer darf: Jede angemeldete Person
- Abfrageparameter:
mql(string),jql(string),limit(int, Standard 200),offset(int, Standard 0)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/search?mql=…&jql=…&limit=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
total |
integer | 12 |
issues |
array | |
issues[].id |
integer | 1 |
issues[].key |
string | "ITS-1" |
issues[].seq |
integer | 1 |
issues[].summary |
string | "VPN drops every few minutes" |
issues[].description |
string | "Since this morning the VPN connection drops every five to t |
issues[].descriptionHtml |
null | null |
issues[].project |
object | |
issues[].type |
object | |
issues[].status |
object | |
issues[].priority |
object | |
issues[].assignee |
object | |
issues[].reporter |
null | null |
issues[].customer |
object | |
issues[].organisation |
object | |
issues[].orgShared |
boolean | true |
issues[].raisedBy |
object | |
issues[].requestType |
null | null |
issues[].channel |
string | "portal" |
issues[].firstResponse |
string | "2026-11-21T18:40:57Z" |
issues[].parent |
null | null |
issues[].labels |
array | |
issues[].components |
array | |
issues[].rank |
number | 2000.0 |
issues[].dueDate |
null | null |
issues[].participants |
array | |
issues[].startDate |
null | null |
issues[].endDate |
null | null |
issues[].estimate |
null | null |
issues[].timeLeft |
null | null |
issues[].progress |
null | null |
issues[].created |
string | "2026-11-21T18:28:57Z" |
issues[].updated |
string | "2026-11-21T18:28:57Z" |
issues[].resolved |
null | null |
issues[].commentCount |
integer | 3 |
issues[].subtaskCount |
integer | 0 |
issues[].timeSpent |
integer | 3600 |
mql |
string | "" |
Beispielantwort
{
"total": 12,
"issues": [
{
"id": 1,
"key": "ITS-1",
"seq": 1,
"summary": "VPN drops every few minutes",
"description": "Since this morning the VPN connection drops every five to ten minutes. Collea…",
"descriptionHtml": null,
"project": {
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"color": "#0052CC"
},
"type": {
"id": 1,
"name": "Incident",
"icon": "incident",
"color": "#E5493A",
"subtask": false
},
"status": {
"id": 2,
"name": "In Progress",
"category": "inprogress"
},
"priority": {
"id": 1,
"name": "Highest",
"icon": "up",
"color": "#CD1317"
},
"assignee": {
"id": 2,
"username": "tbauer",
"displayName": "Tom Bauer",
"avatarColor": "#00875A",
"active": true
},
"reporter": null,
"customer": {
"id": 1,
"email": "anna.berg@example.invalid",
"displayName": "Anna Berg"
},
"organisation": {
"id": 3,
"name": "Northwind Trading"
},
"orgShared": true,
"raisedBy": {
"type": "customer",
"id": 1,
"displayName": "Anna Berg",
"email": "anna.berg@example.invalid"
},
"requestType": null,
"channel": "portal",
"firstResponse": "2026-11-21T18:40:57Z",
"parent": null,
"labels": [],
"components": [],
"rank": 2000.0,
"dueDate": null,
"participants": []
},
{
"id": 2,
"key": "ITS-2",
"seq": 2,
"summary": "New starter needs a laptop and accounts",
"description": "Our new colleague Mia starts on Monday and need
…
GET /api/search/export.{fmt}
Export. als Datei exportieren
Details aus dem Code (englisch)
A query's tickets as a file - PDF, Excel or CSV - run with the rights of the person asking, as the list in the box is: only what they may see.- Wer darf: Jede angemeldete Person
- Pfadparameter:
fmt(string) - Abfrageparameter:
mql(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/search/export.{fmt}?mql=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
Bereich: sla
SLA-Arbeitszeitkalender: die wählbaren Länder und Regionen und ihre Feiertage.
GET /api/sla/calendars
Kalender auflisten
Details aus dem Code (englisch)
What a working-time calendar can be made of: countries with their regions and weekend, and the time zones.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/sla/calendars' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
countries |
array | |
countries[].code |
string | "AF" |
countries[].name |
string | "Afghanistan" |
countries[].regions |
array | |
countries[].weekend |
array | |
timezones |
array |
Beispielantwort
{
"countries": [
{
"code": "AF",
"name": "Afghanistan",
"regions": [],
"weekend": [
4,
5
]
},
{
"code": "AX",
"name": "Aland Islands",
"regions": [],
"weekend": [
5,
6
]
},
"…"
],
"timezones": [
"Africa/Abidjan",
"Africa/Accra",
"…"
]
}
GET /api/sla/holidays
Feiertage auflisten
Details aus dem Code (englisch)
One year's public holidays of a country (and region) - what the clocks will skip.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
country(string),region(string),year(int)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/sla/holidays?country=…®ion=…&year=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
holidays
Bereich: statuses
Status und ihre Kategorien (offen, in Arbeit, erledigt).
POST /api/statuses
Status anlegen
- Wer darf: Administratoren
- JSON-Body:
name,category
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/statuses' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "category": "…"}'
Liefert
JSON.
PUT /api/statuses/{sid}
Status ändern
Details aus dem Code (englisch)
Rename a status or move it to another category. The category is what queues, SLAs and the dashboards read, so a wrong one is worth correcting rather than working around. Changing it changes the meaning of every issue in that status at once - the answer says how many that is.- Wer darf: Administratoren
- Pfadparameter:
sid(integer) - JSON-Body:
name,category
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/statuses/{sid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "category": "…"}'
Liefert
affected, categoryChanged
DELETE /api/statuses/{sid}
Status löschen
Details aus dem Code (englisch)
Remove a status nothing points at any more.- Wer darf: Administratoren
- Pfadparameter:
sid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/statuses/{sid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: system/accent
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/accent
Akzentfarbe lesen
- Wer darf: Ohne Anmeldung
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/accent' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
color |
string | "#50226B" |
auto |
boolean | true |
isDefault |
boolean | true |
palette |
object | |
palette.accent |
string | "#50226B" |
palette.hover |
string | "#68407F" |
palette.deep |
string | "#39184D" |
palette.soft |
string | "#EDE8F0" |
palette.darkAccent |
string | "#9E85AD" |
palette.darkHover |
string | "#B9A6C3" |
palette.darkSoft |
string | "#240F30" |
Beispielantwort
{
"color": "#50226B",
"auto": true,
"isDefault": true,
"palette": {
"accent": "#50226B",
"hover": "#68407F",
"deep": "#39184D",
"soft": "#EDE8F0",
"darkAccent": "#9E85AD",
"darkHover": "#B9A6C3",
"darkSoft": "#240F30"
}
}
PUT /api/system/accent
Akzentfarbe ändern
- Wer darf: Administratoren
- JSON-Body:
auto,color
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/accent' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"auto": "…", "color": "…"}'
Liefert
palette
Bereich: system/ai
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/ai
KI-Assistent lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/ai' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
kind |
string | "ollama" |
baseUrl |
string | "" |
defaultUrl |
string | "http://127.0.0.1:11434" |
chatModel |
string | "" |
embedModel |
string | "" |
toolModel |
string | "" |
mode |
string | "guided" |
basicUser |
string | "" |
context |
integer | 16384 |
hasKey |
boolean | false |
hasBasicPassword |
boolean | false |
enabled |
boolean | false |
ready |
boolean | false |
leaves |
boolean | true |
destination |
string | "" |
consent |
null | null |
index |
object | |
index.documents |
integer | 0 |
index.withVectors |
integer | 0 |
index.waiting |
integer | 12 |
index.lastRound |
null | null |
index.lastError |
null | null |
Beispielantwort
{
"kind": "ollama",
"baseUrl": "",
"defaultUrl": "http://127.0.0.1:11434",
"chatModel": "",
"embedModel": "",
"toolModel": "",
"mode": "guided",
"basicUser": "",
"context": 16384,
"hasKey": false,
"hasBasicPassword": false,
"enabled": false,
"ready": false,
"leaves": true,
"destination": "",
"consent": null,
"index": {
"documents": 0,
"withVectors": 0,
"waiting": 12,
"lastRound": null,
"lastError": null
}
}
PUT /api/system/ai
KI-Assistent ändern
Details aus dem Code (englisch)
Saved as given. Switching on with an address that leaves this server needs the administrator's confirmation of exactly that address.- Wer darf: Administratoren
- JSON-Body:
kind,baseUrl,chatModel,embedModel,toolModel,mode,basicUser,context,apiKey,clearApiKey,basicPassword,confirmLeaves,confirmHost,enabled
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/ai' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"kind": "…", "baseUrl": "…", "chatModel": "…", "embedModel": "…", "toolModel": "…", "mode": "…", "basicUser": "…", "context": "…"}'
Liefert
Wie GET /api/system/ai.
GET /api/system/ai/cases
Prüffälle auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/ai/cases' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
cases |
array |
Beispielantwort
{
"cases": []
}
POST /api/system/ai/cases
Prüffall anlegen
Details aus dem Code (englisch)
A question and what a right answer holds: the tickets of an MQL query (all of them, the first, or their number), or tickets that must be among the sources.- Wer darf: Administratoren
- JSON-Body:
question,expect,expected,example,note
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/cases' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"question": "…", "expect": "…", "expected": "…", "example": "…", "note": "…"}'
Liefert
Wie GET /api/system/ai/cases.
POST /api/system/ai/cases/standard
Standardfrage anlegen
Details aus dem Code (englisch)
The standard questions - the ones that went wrong once - into the catalogue: the measure every change to the assistant is held against. A question already there is left as it is.- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/cases/standard' \
-H 'Authorization: Bearer $TOKEN'
Liefert
added
DELETE /api/system/ai/cases/{cid}
Prüffall löschen
- Wer darf: Administratoren
- Pfadparameter:
cid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/ai/cases/{cid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/system/ai/glossary
Glossar auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/ai/glossary' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
terms |
array | |
terms[].id |
integer | 2 |
terms[].term |
string | "SLA gerissen" |
terms[].meaning |
string | "the same as an SLA breached: sla = breached" |
Beispielantwort
{
"terms": [
{
"id": 2,
"term": "SLA gerissen",
"meaning": "the same as an SLA breached: sla = breached"
},
{
"id": 1,
"term": "überfällig",
"meaning": "past its due date: duedate < now() AND statusCategory != done. Tickets here r…"
}
]
}
POST /api/system/ai/glossary
Glossar-Begriff anlegen
Details aus dem Code (englisch)
A word of this team and what it means here - "überfällig", "Greenleaf", "der Orbit-Sprint".- Wer darf: Administratoren
- JSON-Body:
term,meaning
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/glossary' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"term": "…", "meaning": "…"}'
Liefert
ok
DELETE /api/system/ai/glossary/{gid}
Glossar-Begriff löschen
- Wer darf: Administratoren
- Pfadparameter:
gid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/ai/glossary/{gid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
GET /api/system/ai/log
Protokoll auflisten
Details aus dem Code (englisch)
The last questions, for the administrator: way, steps, query, outcome, time, thumbs.- Wer darf: Administratoren
- Abfrageparameter:
limit(int, Standard 50)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/ai/log?limit=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
entries |
array | |
days |
integer | 30 |
Beispielantwort
{
"entries": [],
"days": 30
}
POST /api/system/ai/reindex
Index neu aufbauen – KI-Assistent
Details aus dem Code (englisch)
Everything again - after a change of model, or to be sure.- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/reindex' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
GET /api/system/ai/runs
Läufe auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/ai/runs' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
runs |
array |
Beispielantwort
{
"runs": []
}
POST /api/system/ai/runs
Lauf anlegen
Details aus dem Code (englisch)
The whole catalogue against the model in use - in the background; the page asks for progress. mode: the way to test, guided or agent, so the two can be compared.- Wer darf: Administratoren
- JSON-Body:
mode
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/runs' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"mode": "…"}'
Liefert
id
POST /api/system/ai/test
Testen – KI-Assistent
Details aus dem Code (englisch)
Reaches the server, lists its models, and has the chosen one say a word.- Wer darf: Administratoren
- JSON-Body:
kind,baseUrl,chatModel,embedModel,basicUser,apiKey,basicPassword
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/ai/test' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"kind": "…", "baseUrl": "…", "chatModel": "…", "embedModel": "…", "basicUser": "…", "apiKey": "…", "basicPassword": "…"}'
Liefert
JSON.
Bereich: system/announcement
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/announcement
Ankündigung lesen
Details aus dem Code (englisch)
Readable by anybody signed in - everybody is meant to see it.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/announcement' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
message |
string | "" |
active |
boolean | false |
updatedBy |
null | null |
updated |
string | "2026-11-21T21:29:04Z" |
Beispielantwort
{
"message": "",
"active": false,
"updatedBy": null,
"updated": "2026-11-21T21:29:04Z"
}
PUT /api/system/announcement
Ankündigung ändern
- Wer darf: Administratoren
- JSON-Body:
message,active
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/announcement' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"message": "…", "active": "…"}'
Liefert
Wie GET /api/system/announcement.
Bereich: system/applinks
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/applinks
Applinks lesen
Details aus dem Code (englisch)
The application links of this installation. Administrators.- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/applinks' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
links |
array | |
product |
string | "mgservice" |
Beispielantwort
{
"links": [],
"product": "mgservice"
}
POST /api/system/applinks
Applinks senden
Details aus dem Code (englisch)
Set up a link: the other application's address, an administrator's login there (password or API token - used once, not kept) and this installation's address as the other one reaches it.- Wer darf: Administratoren
- JSON-Body:
base_url,username,secret,own_url,own_name
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/applinks' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"base_url": "…", "username": "…", "secret": "…", "own_url": "…", "own_name": "…"}'
Liefert
link
POST /api/system/applinks/browser
Browser senden
Details aus dem Code (englisch)
Set up a link in the browser - no password, no token: the address to open, where you approve the link signed in over there as you are (any identity provider it has, or a password); that application checks you are one of its administrators. Back here, /api/system/applinks/complete keeps it.- Wer darf: Administratoren
- JSON-Body:
base_url,own_url,own_name
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/applinks/browser' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"base_url": "…", "own_url": "…", "own_name": "…"}'
Liefert
JSON.
POST /api/system/applinks/complete
Abschließen – applinks
Details aus dem Code (englisch)
The browser is back from approving the link over there, with that side's key: kept here too - only for the administrator who started it.- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/applinks/complete' \
-H 'Authorization: Bearer $TOKEN'
Liefert
link
DELETE /api/system/applinks/{link_id}
Applinks löschen
Details aus dem Code (englisch)
Remove a link - here and in the other application.- Wer darf: Administratoren
- Pfadparameter:
link_id(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/applinks/{link_id}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
error, ok, other_side
POST /api/system/applinks/{link_id}/test
Testen – applinks
Details aus dem Code (englisch)
Ask the other application as whom it sees you over the link.- Wer darf: Administratoren
- Pfadparameter:
link_id(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/applinks/{link_id}/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
error
Bereich: system/audit
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/audit
Prüfprotokoll auflisten
Details aus dem Code (englisch)
The audit log, newest first, filtered by person, text and dates.- Wer darf: Administratoren
- Abfrageparameter:
limit(int, Standard 100)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/audit?limit=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
entries |
array | |
entries[].id |
integer | 1 |
entries[].at |
string | "2026-11-21T21:28:58Z" |
entries[].actor_id |
integer | 6 |
entries[].actor |
string | "admin" |
entries[].ip |
string | "127.0.0.1" |
entries[].action |
string | "sign-in" |
entries[].target |
string | "admin" |
entries[].details |
null | null |
entries[].status |
integer | 200 |
more |
boolean | false |
Beispielantwort
{
"entries": [
{
"id": 1,
"at": "2026-11-21T21:28:58Z",
"actor_id": 6,
"actor": "admin",
"ip": "127.0.0.1",
"action": "sign-in",
"target": "admin",
"details": null,
"status": 200
}
],
"more": false
}
Bereich: system/audit.csv
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/audit.csv
Prüfprotokoll als CSV exportieren
Details aus dem Code (englisch)
The same, as a CSV file - for an auditor, or a SIEM import.- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/audit.csv' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Eine Datei (text/csv).
Bereich: system/branding
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/branding
Logo und Farben lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/branding' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
light |
null | null |
dark |
null | null |
favicon |
null | null |
folder |
string | "/tmp/apidocs-jals_l9y/branding" |
accept |
array |
Beispielantwort
{
"light": null,
"dark": null,
"favicon": null,
"folder": "/tmp/apidocs-jals_l9y/branding",
"accept": [
"image/jpeg",
"image/png",
"…"
]
}
POST /api/system/branding
Logo und Farben senden
Details aus dem Code (englisch)
Take a new logo. One file per slot, and every other spelling of that slot is removed: a leftover logo.svg beats a fresh logo.png in the reading order, which is exactly the trap somebody would fall into here.- Wer darf: Administratoren
- Abfrageparameter:
slot(string) - JSON-Body:
(multipart form: file)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/branding?slot=…' \
-H 'Authorization: Bearer $TOKEN' \
-F 'file=@/path/to/file'
Liefert
accent
DELETE /api/system/branding
Logo und Farben löschen
Details aus dem Code (englisch)
Back to the logo that ships with MGService.- Wer darf: Administratoren
- Abfrageparameter:
slot(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/branding?slot=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
removed
Bereich: system/database
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/database
Datenbank lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/database' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
backend |
string | "postgres" |
postgres |
object | |
postgres.host |
string | "127.0.0.1" |
postgres.port |
integer | 5432 |
postgres.user |
string | "mg" |
postgres.dbname |
string | "mgservice_apidocs_3006123_1795296536" |
hasPassword |
boolean | true |
driverInstalled |
boolean | true |
counts |
object | |
counts.users |
integer | 6 |
counts.projects |
integer | 2 |
counts.issues |
integer | 12 |
counts.comments |
integer | 7 |
counts.history |
integer | 25 |
configPath |
string | "/tmp/apidocs-jals_l9y/database.json" |
live |
object | |
live.backend |
string | "postgres" |
live.database |
string | "mgservice_apidocs_3006123_1795296536" |
live.user |
string | "mg" |
live.schema |
string | "public" |
live.host |
string | "127.0.0.1" |
live.port |
integer | 5432 |
mismatch |
boolean | false |
Beispielantwort
{
"backend": "postgres",
"postgres": {
"host": "127.0.0.1",
"port": 5432,
"user": "mg",
"dbname": "mgservice_apidocs_3006123_1795296536"
},
"hasPassword": true,
"driverInstalled": true,
"counts": {
"users": 6,
"projects": 2,
"issues": 12,
"comments": 7,
"history": 25
},
"configPath": "/tmp/apidocs-jals_l9y/database.json",
"live": {
"backend": "postgres",
"database": "mgservice_apidocs_3006123_1795296536",
"user": "mg",
"schema": "public",
"host": "127.0.0.1",
"port": 5432
},
"mismatch": false
}
GET /api/system/database/check
Prüfen – Datenbank
Details aus dem Code (englisch)
Where the service writes, and whether every table of the schema is there.- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/database/check' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
writes |
object | |
writes.backend |
string | "postgres" |
writes.database |
string | "mgservice_apidocs_3006123_1795296536" |
writes.user |
string | "mg" |
writes.schema |
string | "public" |
writes.host |
string | "127.0.0.1" |
writes.port |
integer | 5432 |
configPath |
string | "/tmp/apidocs-jals_l9y/database.json" |
tables |
array | |
tables[].table |
string | "users" |
tables[].present |
boolean | true |
tables[].rows |
integer | 6 |
missing |
array |
Beispielantwort
{
"writes": {
"backend": "postgres",
"database": "mgservice_apidocs_3006123_1795296536",
"user": "mg",
"schema": "public",
"host": "127.0.0.1",
"port": 5432
},
"configPath": "/tmp/apidocs-jals_l9y/database.json",
"tables": [
{
"table": "users",
"present": true,
"rows": 6
},
{
"table": "user_identities",
"present": true,
"rows": 0
},
"…"
],
"missing": []
}
POST /api/system/database/test
Testen – Datenbank
- Wer darf: Administratoren
- JSON-Body:
password
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/database/test' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"password": "…"}'
Liefert
ok, error
Bereich: system/db
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
POST /api/system/db/query
Abfrage senden
Details aus dem Code (englisch)
Run one statement. SELECT shows rows; anything else says how many it hit. One statement at a time: a semicolon in the middle is refused, because a second statement after a checked first one is exactly how this kind of page gets abused.- Wer darf: Administratoren
- JSON-Body:
sql,preview
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/db/query' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"sql": "…", "preview": "…"}'
Liefert
kind, columns, rows, total, shown, table, message
GET /api/system/db/table/{name}
Tabelle lesen
Details aus dem Code (englisch)
One page of a table, with a filter per column.- Wer darf: Administratoren
- Pfadparameter:
name(string) - Abfrageparameter:
f_(string),page(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/db/table/{name}?f_=…&page=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
table |
string | "users" |
columns |
array | |
columns[].name |
string | "id" |
columns[].type |
string | "integer" |
key |
string | "id" |
sealed |
array | |
total |
integer | 6 |
page |
integer | 0 |
pages |
integer | 1 |
rows |
array | |
rows[].id |
integer | 1 |
rows[].username |
string | "mkoch" |
rows[].display_name |
string | "Marie Koch" |
rows[].email |
string | "marie.koch@example.invalid" |
rows[].avatar_color |
string | "#0052CC" |
rows[].is_admin |
integer | 1 |
rows[].active |
integer | 1 |
rows[].created |
string | "2026-08-23T21:28:57Z" |
rows[].password_hash |
null | null |
rows[].must_change_password |
string | "<hidden>" |
rows[].password_changed |
null | null |
rows[].last_login |
null | null |
rows[].failed_logins |
integer | 0 |
rows[].locked_until |
null | null |
rows[].clock_prompt |
integer | 0 |
rows[].entra_oid |
null | null |
rows[].avatar_file |
null | null |
rows[].preferences |
null | null |
rows[].last_dashboard_id |
integer | 1 |
Beispielantwort
{
"table": "users",
"columns": [
{
"name": "id",
"type": "integer"
},
{
"name": "username",
"type": "text"
},
"…"
],
"key": "id",
"sealed": [
"client_secret",
"credential_id",
"…"
],
"total": 6,
"page": 0,
"pages": 1,
"rows": [
{
"id": 1,
"username": "mkoch",
"display_name": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatar_color": "#0052CC",
"is_admin": 1,
"active": 1,
"created": "2026-08-23T21:28:57Z",
"password_hash": null,
"must_change_password": "<hidden>",
"password_changed": null,
"last_login": null,
"failed_logins": 0,
"locked_until": null,
"clock_prompt": 0,
"entra_oid": null,
"avatar_file": null,
"preferences": null,
"last_dashboard_id": 1
},
{
"id": 2,
"username": "tbauer",
"display_name": "Tom Bauer",
"email": "tom.bauer@example.invalid",
"avatar_color": "#00875A",
"is_admin": 0,
"active": 1,
"created": "2026-08-23T21:28:57Z",
"password_hash": null,
"must_change_password": "<hidden>",
"password_changed": null,
"last_login": null,
"failed_logins": 0,
"locked_until": null,
"clock_prompt": 0,
"entra_oid": null,
"avatar_file": null,
"preferences": null,
"last_dashboard_id": null
},
"…"
]
}
PUT /api/system/db/table/{name}
Tabelle ändern
Details aus dem Code (englisch)
Change one value in one row, named by its key. Nothing else.- Wer darf: Administratoren
- Pfadparameter:
name(string) - JSON-Body:
column,keyColumn,keyValue,value
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/db/table/{name}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"column": "…", "keyColumn": "…", "keyValue": "…", "value": "…"}'
Liefert
table, column, was, now
GET /api/system/db/tables
Datenbanktabellen auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/db/tables' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
tables |
array | |
tables[].name |
string | "agent_presence" |
tables[].rows |
integer | 0 |
backend |
string | "postgres" |
database |
string | "127.0.0.1/mgservice_apidocs_3006123_1795296536" |
Beispielantwort
{
"tables": [
{
"name": "agent_presence",
"rows": 0
},
{
"name": "ai_cases",
"rows": 0
},
"…"
],
"backend": "postgres",
"database": "127.0.0.1/mgservice_apidocs_3006123_1795296536"
}
Bereich: system/deactivated-tickets
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/deactivated-tickets
Vorgänge deaktivierter Personen auflisten
Details aus dem Code (englisch)
Tickets assigned to somebody who is deactivated - by hand or by the directory sync. Without this they lie with a person who has left, and nobody's list shows them. Open ones by default; ?done=1 adds the finished.- Wer darf: Administratoren
- Abfrageparameter:
done(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/deactivated-tickets?done=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
tickets |
array | |
people |
array |
Beispielantwort
{
"tickets": [],
"people": []
}
Bereich: system/entra
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/entra
Microsoft-Entra-Einstellungen auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/entra' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
enabled |
boolean | false |
tenantId |
string | "" |
clientId |
string | "" |
hasSecret |
boolean | false |
autoCreate |
boolean | true |
domainAllowList |
string | "" |
entraOnly |
boolean | false |
syncEnabled |
boolean | false |
syncHours |
integer | 12 |
deactivateMissing |
boolean | false |
lastSync |
null | null |
lastSyncResult |
string | "" |
redirectUri |
string | "http://localhost/auth/entra/callback" |
Beispielantwort
{
"enabled": false,
"tenantId": "",
"clientId": "",
"hasSecret": false,
"autoCreate": true,
"domainAllowList": "",
"entraOnly": false,
"syncEnabled": false,
"syncHours": 12,
"deactivateMissing": false,
"lastSync": null,
"lastSyncResult": "",
"redirectUri": "http://localhost/auth/entra/callback"
}
PUT /api/system/entra
Microsoft-Entra-Einstellungen ändern
- Wer darf: Administratoren
- JSON-Body:
clientSecret,clearSecret,autoCreate,entraOnly,syncEnabled,syncHours,deactivateMissing,enabled,tenantId,clientId,domainAllowList
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/entra' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"clientSecret": "…", "clearSecret": "…", "autoCreate": "…", "entraOnly": "…", "syncEnabled": "…", "syncHours": "…", "deactivateMissing": "…", "enabled": "…"}'
Liefert
Wie GET /api/system/entra.
POST /api/system/entra/sync
Abgleich ausführen – Microsoft-Entra-Einstellung
- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/entra/sync' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/system/entra/test
Testen – Microsoft-Entra-Einstellung
Details aus dem Code (englisch)
Read the tenant's discovery document - proves the tenant exists and that this server can reach Microsoft.- Wer darf: Administratoren
- JSON-Body:
tenantId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/entra/test' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"tenantId": "…"}'
Liefert
ok, error, issuer, authorization, redirectUri
Bereich: system/identity
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/identity
Identitätsanbieter auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/identity' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
settings |
object | |
settings.order |
array | |
settings.onlyThroughIdp |
boolean | false |
providers |
object | |
providers.entra |
object | |
providers.entra.label |
string | "Microsoft Entra" |
providers.entra.enabled |
boolean | false |
providers.entra.people |
integer | 0 |
providers.google |
object | |
providers.google.label |
string | "Google Workspace" |
providers.google.enabled |
boolean | false |
providers.google.autoCreate |
boolean | true |
providers.google.domainAllowList |
string | "" |
providers.google.syncEnabled |
boolean | false |
providers.google.syncHours |
integer | 12 |
providers.google.deactivateMissing |
boolean | false |
providers.google.lastSync |
null | null |
providers.google.lastSyncResult |
string | "" |
providers.google.defaultGroups |
string | "" |
providers.google.clientId |
string | "" |
providers.google.hostedDomain |
string | "" |
providers.google.adminEmail |
string | "" |
providers.google.hasClientSecret |
boolean | false |
providers.google.hasServiceAccountJson |
boolean | false |
providers.google.people |
integer | 0 |
providers.google.redirectUri |
string | "http://localhost/auth/google/callback" |
providers.okta |
object | |
providers.okta.label |
string | "Okta" |
providers.okta.enabled |
boolean | false |
providers.okta.autoCreate |
boolean | true |
providers.okta.domainAllowList |
string | "" |
providers.okta.syncEnabled |
boolean | false |
providers.okta.syncHours |
integer | 12 |
providers.okta.deactivateMissing |
boolean | false |
providers.okta.lastSync |
null | null |
providers.okta.lastSyncResult |
string | "" |
providers.okta.defaultGroups |
string | "" |
providers.okta.domain |
string | "" |
providers.okta.clientId |
string | "" |
providers.okta.hasClientSecret |
boolean | false |
Beispielantwort
{
"settings": {
"order": [
"entra",
"ldap",
"…"
],
"onlyThroughIdp": false
},
"providers": {
"entra": {
"label": "Microsoft Entra",
"enabled": false,
"people": 0
},
"google": {
"label": "Google Workspace",
"enabled": false,
"autoCreate": true,
"domainAllowList": "",
"syncEnabled": false,
"syncHours": 12,
"deactivateMissing": false,
"lastSync": null,
"lastSyncResult": "",
"defaultGroups": "",
"clientId": "",
"hostedDomain": "",
"adminEmail": "",
"hasClientSecret": false,
"hasServiceAccountJson": false,
"people": 0,
"redirectUri": "http://localhost/auth/google/callback"
},
"okta": {
"label": "Okta",
"enabled": false,
"autoCreate": true,
"domainAllowList": "",
"syncEnabled": false,
"syncHours": 12,
"deactivateMissing": false,
"lastSync": null,
"lastSyncResult": "",
"defaultGroups": "",
"domain": "",
"clientId": "",
"hasClientSecret": false,
"hasApiToken": false,
"people": 0,
"redirectUri": "http://localhost/auth/okta/callback"
},
"ldap": {
"label": "Active Directory",
"enabled": false,
"autoCreate": true,
"domainAllowList": "",
"syncEnabled": false,
"syncHours": 12,
"deactivateMissing": false,
"lastSync": null,
"lastSyncResult": "",
"defaultGroups": "",
"server": "",
"startTls": false,
"verifyCertificate": true,
"baseDn": "",
"bindDn": "",
"loginAttribute": "sAMAccountName",
"userFilter": "(&(objectCategory=person)(objectClass=user))",
"groupDn": "",
"hasBindPassword": false,
"peo
…
PUT /api/system/identity
Identitätsanbieter ändern
Details aus dem Code (englisch)
The order (whose name and address count when several know a person) and "only through an identity provider" - for all of them.- Wer darf: Administratoren
- JSON-Body:
order,onlyThroughIdp
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/identity' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"order": "…", "onlyThroughIdp": "…"}'
Liefert
Wie GET /api/system/identity.
PUT /api/system/identity/{provider}
Identitätsanbieter ändern
- Wer darf: Administratoren
- Pfadparameter:
provider(string)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/identity/{provider}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/system/identity/{provider}/sync
Abgleich ausführen – Identitätsanbieter
- Wer darf: Administratoren
- Pfadparameter:
provider(string)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/identity/{provider}/sync' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
POST /api/system/identity/{provider}/test
Testen – Identitätsanbieter
- Wer darf: Administratoren
- Pfadparameter:
provider(string)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/identity/{provider}/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok, lines
Bereich: system/instance
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/instance
Instanz-Einstellungen auflisten
Details aus dem Code (englisch)
Where this installation keeps its things - the questions asked in support.- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/instance' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
database |
string | "PostgreSQL · 127.0.0.1:5432/?" |
backend |
string | "postgres" |
databaseUser |
string | "mg" |
reachable |
boolean | true |
databaseDetail |
string | "12 issues" |
dataDir |
string | "/tmp/apidocs-jals_l9y" |
attachments |
string | "/tmp/apidocs-jals_l9y/attachments" |
changelog |
array |
Beispielantwort
{
"database": "PostgreSQL · 127.0.0.1:5432/?",
"backend": "postgres",
"databaseUser": "mg",
"reachable": true,
"databaseDetail": "12 issues",
"dataDir": "/tmp/apidocs-jals_l9y",
"attachments": "/tmp/apidocs-jals_l9y/attachments",
"changelog": [
[
"5.1.2",
[
"Approving an application link in the browser works with every way this instal…",
"The Google and Okta sign-ins (/auth/<provider>/start) take next= like the Mic…"
]
],
[
"5.1.1",
[
"Application links set up in the browser - no password, no token: \"Link with m…",
"The Microsoft sign-in (/auth/entra/start) takes next= and comes back there af…"
]
],
"…"
]
}
PUT /api/system/instance/name
Name ändern
Details aus dem Code (englisch)
Name this installation, so three open tabs can be told apart.- Wer darf: Administratoren
- JSON-Body:
name
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/instance/name' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…"}'
Liefert
name
Bereich: system/intake
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/intake
Postfach-Abruf lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/intake' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
enabled |
boolean | false |
useMailConnection |
boolean | true |
tenantId |
string | "" |
clientId |
string | "" |
mailbox |
string | "" |
folder |
string | "Inbox" |
processedFolder |
string | "MGService processed" |
projectKey |
string | "" |
typeId |
null | null |
intervalMinutes |
integer | 5 |
since |
string | "" |
lastRun |
string | "" |
lastResult |
string | "" |
hasSecret |
boolean | false |
hasImapPassword |
boolean | false |
transport |
string | "graph" |
mailConnection |
boolean | false |
Beispielantwort
{
"enabled": false,
"useMailConnection": true,
"tenantId": "",
"clientId": "",
"mailbox": "",
"folder": "Inbox",
"processedFolder": "MGService processed",
"projectKey": "",
"typeId": null,
"intervalMinutes": 5,
"since": "",
"lastRun": "",
"lastResult": "",
"hasSecret": false,
"hasImapPassword": false,
"transport": "graph",
"mailConnection": false
}
PUT /api/system/intake
Postfach-Abruf ändern
- Wer darf: Administratoren
- JSON-Body:
enabled,backfillDays,projectKey
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/intake' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"enabled": "…", "backfillDays": "…", "projectKey": "…"}'
Liefert
Wie GET /api/system/intake.
GET /api/system/intake/log
Protokoll auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/intake/log' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
entries |
array |
Beispielantwort
{
"entries": []
}
DELETE /api/system/intake/log/{eid}
Protokolleintrag löschen
Details aus dem Code (englisch)
Release a failed claim, so the next run tries the message again.- Wer darf: Administratoren
- Pfadparameter:
eid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/intake/log/{eid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
released
POST /api/system/intake/run
Ausführen – Postfach-Abruf
- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/intake/run' \
-H 'Authorization: Bearer $TOKEN'
Liefert
status, error
POST /api/system/intake/test
Testen – Postfach-Abruf
- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/intake/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok, error
Bereich: system/jsm-import
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/jsm-import
Import aus Jira Service Management lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/jsm-import' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
url |
string | "" |
email |
string | "" |
hasToken |
boolean | false |
running |
boolean | false |
Beispielantwort
{
"url": "",
"email": "",
"hasToken": false,
"running": false
}
PUT /api/system/jsm-import
Import aus Jira Service Management ändern
- Wer darf: Administratoren
- JSON-Body:
token
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/jsm-import' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"token": "…"}'
Liefert
Wie GET /api/system/jsm-import.
POST /api/system/jsm-import/customer-check
Kunden prüfen – Import aus Jira Service Management
Details aus dem Code (englisch)
Which customer every chosen ticket lands with, and why.- Wer darf: Administratoren
- JSON-Body:
keys
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/customer-check' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"keys": "…"}'
Liefert
tickets
POST /api/system/jsm-import/customers/import
Importieren – Kunde
Details aus dem Code (englisch)
Create or link the organisations, then the customers in them.- Wer darf: Administratoren
- JSON-Body:
organisations,customers
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/customers/import' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"organisations": "…", "customers": "…"}'
Liefert
JSON.
POST /api/system/jsm-import/customers/preview
Vorschau – Kunde
Details aus dem Code (englisch)
Organisations and customers of a desk, each with a proposed counterpart.- Wer darf: Administratoren
- JSON-Body:
deskId
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/customers/preview' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"deskId": "…"}'
Liefert
organisations, customers, localOrganisations, id, name
POST /api/system/jsm-import/mapping
Zuordnung senden
Details aus dem Code (englisch)
Everything to map for the chosen tickets, with suggestions.- Wer darf: Administratoren
- JSON-Body:
keys,project
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/mapping' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"keys": "…", "project": "…"}'
Liefert
assignees, agents, id, displayName, email, statuses, localStatuses, name, category, types, localTypes, priorities, localPriorities
GET /api/system/jsm-import/progress
Fortschritt lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/jsm-import/progress' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
state |
string | "idle" |
Beispielantwort
{
"state": "idle"
}
POST /api/system/jsm-import/run
Ausführen – Import aus Jira Service Management
- Wer darf: Administratoren
- JSON-Body:
keys,project,assignees,statuses,types,priorities,customers,comments,attachments,update,fixReporter
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/run' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"keys": "…", "project": "…", "assignees": "…", "statuses": "…", "types": "…", "priorities": "…", "customers": "…", "comments": "…"}'
Liefert
JSON.
POST /api/system/jsm-import/test
Testen – Import aus Jira Service Management
- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
me, desks
POST /api/system/jsm-import/tickets
Vorgang anlegen
- Wer darf: Administratoren
- JSON-Body:
deskKey,mql,limit
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/jsm-import/tickets' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"deskKey": "…", "mql": "…", "limit": "…"}'
Liefert
tickets
Bereich: system/kb
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/kb
Wissensdatenbank lesen
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/kb' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
url |
string | "" |
enabled |
boolean | false |
lastRun |
null | null |
lastOk |
null | null |
pages |
integer | 0 |
error |
null | null |
running |
boolean | false |
progress |
integer | 0 |
everyHours |
integer | 6 |
Beispielantwort
{
"url": "",
"enabled": false,
"lastRun": null,
"lastOk": null,
"pages": 0,
"error": null,
"running": false,
"progress": 0,
"everyHours": 6
}
PUT /api/system/kb
Wissensdatenbank ändern
- Wer darf: Administratoren
- JSON-Body:
url,enabled
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/kb' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"url": "…", "enabled": "…"}'
Liefert
Wie GET /api/system/kb.
POST /api/system/kb/reindex
Index neu aufbauen – Wissensdatenbank
Details aus dem Code (englisch)
Read the knowledge base now - in the background; the page asks for progress.- Wer darf: Administratoren
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/kb/reindex' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
GET /api/system/kb/search
Suche lesen
- Wer darf: Administratoren
- Abfrageparameter:
q(string, Standard "")
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/kb/search?q=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
results |
array |
Beispielantwort
{
"results": []
}
Bereich: system/license
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/license
Lizenz lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/license' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
licensed |
boolean | true |
reason |
string | "ok" |
message |
string | "No licence has been entered." |
valid |
boolean | true |
seats |
object | |
seats.users |
integer | 6 |
seats.allowed |
null | null |
seats.grace |
integer | 2 |
seats.over |
integer | 0 |
seats.blocked |
boolean | false |
Beispielantwort
{
"licensed": true,
"reason": "ok",
"message": "No licence has been entered.",
"valid": true,
"seats": {
"users": 6,
"allowed": null,
"grace": 2,
"over": 0,
"blocked": false
}
}
PUT /api/system/license
Lizenz ändern
- Wer darf: Administratoren
- JSON-Body:
key
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/license' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"key": "…"}'
Liefert
Wie GET /api/system/license.
DELETE /api/system/license
Lizenz löschen
Details aus dem Code (englisch)
Take the licence out. The instance drops to read only at once. Kept as its own endpoint rather than as an empty save: removing a licence is a decision of its own, and it should read like one in the log.- Wer darf: Administratoren
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/system/license' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/system/license.
Bereich: system/mail
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/mail
Mail-Einstellungen auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/mail' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
enabled |
boolean | false |
tenantId |
string | "" |
clientId |
string | "" |
sender |
string | "" |
fromName |
string | "MGService" |
hasSecret |
boolean | false |
replyTo |
string | "" |
footer |
string | "" |
transport |
string | "graph" |
smtpHost |
string | "" |
smtpPort |
string | "" |
smtpSecurity |
string | "starttls" |
smtpUser |
string | "" |
hasSmtpPassword |
boolean | false |
Beispielantwort
{
"enabled": false,
"tenantId": "",
"clientId": "",
"sender": "",
"fromName": "MGService",
"hasSecret": false,
"replyTo": "",
"footer": "",
"transport": "graph",
"smtpHost": "",
"smtpPort": "",
"smtpSecurity": "starttls",
"smtpUser": "",
"hasSmtpPassword": false
}
PUT /api/system/mail
Mail-Einstellungen ändern
- Wer darf: Administratoren
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/mail' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/system/mail.
POST /api/system/mail/test
Testen – Mail-Einstellung
Details aus dem Code (englisch)
Send one message to the person asking, so the setup can be checked.- Wer darf: Administratoren
- JSON-Body:
to
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/system/mail/test' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"to": "…"}'
Liefert
sent, enabled
Bereich: system/mail-queue
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
GET /api/system/mail-queue
Mail-Warteschlange auflisten
Details aus dem Code (englisch)
What is waiting, what went and what failed - newest first.- Wer darf: Administratoren
- Abfrageparameter:
status(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/system/mail-queue?status=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
queue |
array | |
enabled |
boolean | false |
sender |
string | "" |
Beispielantwort
{
"queue": [],
"enabled": false,
"sender": ""
}
Bereich: system/portal
Systemeinstellungen, für Administratoren: Lizenz, Mail, Datenbank, Logo, Ankündigungen, die KI, Identitätsanbieter und mehr.
PUT /api/system/portal
Kundenportal ändern
- Wer darf: Administratoren
- JSON-Body:
signup,title,loginLink
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/system/portal' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"signup": "…", "title": "…", "loginLink": "…"}'
Liefert
JSON.
Bereich: third-party
GET /api/third-party
Third party lesen
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/third-party' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
product |
string | "mgservice5" |
version |
string | "5.1.2" |
made |
string | "" |
components |
array | |
components[].name |
string | "Barlow (font)" |
components[].version |
string | "" |
components[].kind |
string | "Font" |
components[].url |
string | "" |
components[].licences |
array | |
components[].description |
string | "" |
components[].texts |
array | |
components[].files |
array | |
source |
string | "installation" |
Beispielantwort
{
"product": "mgservice5",
"version": "5.1.2",
"made": "",
"components": [
{
"name": "Barlow (font)",
"version": "",
"kind": "Font",
"url": "",
"licences": [
"OFL-1.1"
],
"description": "",
"texts": [
{
"file": "LICENSE-barlow-condensed.txt",
"text": "Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Bar…"
}
],
"files": [
"barlow-condensed-600.woff2",
"barlow-condensed-700.woff2"
]
},
{
"name": "blinker",
"version": "1.9.0",
"kind": "Python package",
"url": "https://pypi.org/project/blinker/",
"licences": [
"MIT License"
],
"description": "",
"texts": [
{
"file": "LICENSE.txt",
"text": "Copyright 2010 Jason Kirtland\n\nPermission is hereby granted, free of charge, …"
}
]
},
"…"
],
"source": "installation"
}
Bereich: timeclock
Arbeitszeiten: Kommen, Pause und Gehen; Korrekturen durch Administratoren; der Export.
GET /api/timeclock
Arbeitszeiten auflisten
Details aus dem Code (englisch)
The state of the people asked about. Everybody may look; only their own state can they change.- Wer darf: Jede angemeldete Person
- Abfrageparameter:
users(string),day(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/timeclock?users=…&day=…' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
people |
array | |
people[].user |
object | |
people[].state |
string | "out" |
people[].since |
null | null |
people[].worked |
integer | 0 |
people[].paused |
integer | 0 |
people[].isMe |
boolean | true |
day |
string | "2026-11-21" |
Beispielantwort
{
"people": [
{
"user": {
"id": 6,
"displayName": "Administrator",
"avatarColor": "#007FA0"
},
"state": "out",
"since": null,
"worked": 0,
"paused": 0,
"isMe": true
}
],
"day": "2026-11-21"
}
POST /api/timeclock
Stempelung anlegen
Details aus dem Code (englisch)
Clock in, take a break, clock out - for oneself and nobody else.- Wer darf: Jede angemeldete Person
- JSON-Body:
kind,note
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/timeclock' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"kind": "…", "note": "…"}'
Liefert
Wie GET /api/timeclock.
POST /api/timeclock/ask
Fragen – Stempelung
Details aus dem Code (englisch)
Should this person be asked to clock in - once per sign-in. The flag is set when a session begins and taken away the first time it is read, so a reload does not ask again. Kept on the server rather than in the browser: a second tab is the same sign-in and should not ask twice either.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/timeclock/ask' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ask, kind, since, sinceDay, state
POST /api/timeclock/close-day
Tag abschließen – Stempelung
Details aus dem Code (englisch)
Close a day somebody left open, at the time they name. Their own entry only, and only a moment that lies between where the day started and now: a stamp before the start would make a negative day, one in the future a day that has not happened.- Wer darf: Jede angemeldete Person
- JSON-Body:
at
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/timeclock/close-day' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"at": "…"}'
Liefert
ok, nothing, at
POST /api/timeclock/manual
Von Hand nachtragen – Stempelung
Details aus dem Code (englisch)
An entry that was never punched - somebody forgot, or the day was fixed up afterwards.- Wer darf: Administratoren
- JSON-Body:
userId,kind,at,note
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/timeclock/manual' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"userId": "…", "kind": "…", "at": "…", "note": "…"}'
Liefert
id
GET /api/timeclock/states
Zustände auflisten
Details aus dem Code (englisch)
Everybody's state in one answer, for the dots on the avatars. One query for the whole screen: the last event of the day per person, read with a window function where the database has one and by hand where it does not - a request per avatar would be absurd.- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/timeclock/states' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
states |
object | |
states.2 |
string | "out" |
states.3 |
string | "out" |
states.4 |
string | "out" |
states.5 |
string | "out" |
states.1 |
string | "out" |
states.6 |
string | "out" |
day |
string | "2026-11-21" |
Beispielantwort
{
"states": {
"2": "out",
"3": "out",
"4": "out",
"5": "out",
"1": "out",
"6": "out"
},
"day": "2026-11-21"
}
PUT /api/timeclock/{eid}
Stempelung ändern
Details aus dem Code (englisch)
Put an entry right. Who corrected it and when is kept with it.- Wer darf: Administratoren
- Pfadparameter:
eid(integer) - JSON-Body:
kind,at,note
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/timeclock/{eid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"kind": "…", "at": "…", "note": "…"}'
Liefert
id, kind, at
DELETE /api/timeclock/{eid}
Stempelung löschen
- Wer darf: Administratoren
- Pfadparameter:
eid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/timeclock/{eid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
Bereich: uploads
Große Dateien in Teilen: beginnen, Teil für Teil senden, Stand abfragen, abbrechen.
POST /api/uploads
Upload anlegen
Details aus dem Code (englisch)
Begin a big file in pieces: its name and size, checked against the limit first.- Wer darf: Jede angemeldete Person
- JSON-Body:
filename,size
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/uploads' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"filename": "…", "size": "…"}'
Liefert
JSON.
GET /api/uploads/{uid}
Upload lesen
Details aus dem Code (englisch)
How far a big file has got - asked before a piece is sent again.- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/uploads/{uid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
DELETE /api/uploads/{uid}
Upload löschen
Details aus dem Code (englisch)
A big file given up: its pieces go at once.- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/uploads/{uid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
Wie GET /api/uploads/{uid}.
PUT /api/uploads/{uid}/{index}
Upload ändern
Details aus dem Code (englisch)
One piece of a big file, in order.- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(string),index(integer)
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/uploads/{uid}/{index}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
JSON.
Bereich: users
Personen: auflisten, anlegen, ändern, deaktivieren - und die Personen zur Auswahl in einem Feld.
GET /api/users
Personen auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/users' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
[].id |
integer | 6 |
[].username |
string | "admin" |
[].displayName |
string | "Administrator" |
[].email |
string | "" |
[].avatarColor |
string | "#007FA0" |
[].isAdmin |
boolean | true |
[].active |
boolean | true |
[].clockPrompt |
boolean | false |
[].avatarUrl |
null | null |
[].hasPassword |
boolean | true |
[].mustChangePassword |
boolean | false |
[].lastLogin |
string | "2026-11-21T21:28:57Z" |
[].passkeys |
integer | 0 |
[].locked |
boolean | false |
Beispielantwort
[
{
"id": 6,
"username": "admin",
"displayName": "Administrator",
"email": "",
"avatarColor": "#007FA0",
"isAdmin": true,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": true,
"mustChangePassword": false,
"lastLogin": "2026-11-21T21:28:57Z",
"passkeys": 0,
"locked": false
},
{
"id": 4,
"username": "jnovak",
"displayName": "Jan Novak",
"email": "jan.novak@example.invalid",
"avatarColor": "#5243AA",
"isAdmin": false,
"active": true,
"clockPrompt": false,
"avatarUrl": null,
"hasPassword": false,
"mustChangePassword": false,
"lastLogin": null,
"passkeys": 0,
"locked": false
},
"…"
]
POST /api/users
Person anlegen
- Wer darf: Administratoren
- JSON-Body:
username,displayName,withPassword,password,email,avatarColor,isAdmin
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/users' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"username": "…", "displayName": "…", "withPassword": "…", "password": "…", "email": "…", "avatarColor": "…", "isAdmin": "…"}'
Liefert
user, password
PUT /api/users/{uid}
Person ändern
- Wer darf: Jede angemeldete Person
- Pfadparameter:
uid(integer) - JSON-Body:
clockPrompt,isAdmin,active,username,displayName,email,avatarColor
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/users/{uid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"clockPrompt": "…", "isAdmin": "…", "active": "…", "username": "…", "displayName": "…", "email": "…", "avatarColor": "…"}'
Liefert
JSON.
DELETE /api/users/{uid}
Person löschen
- Wer darf: Administratoren
- Pfadparameter:
uid(integer) - JSON-Body:
confirm
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/users/{uid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"confirm": "…"}'
Liefert
confirm, username, wrote, deleted
POST /api/users/{uid}/password
Passwort senden (Person)
- Wer darf: Administratoren
- Pfadparameter:
uid(integer) - JSON-Body:
password,mustChange
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/users/{uid}/password' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"password": "…", "mustChange": "…"}'
Liefert
password, user
DELETE /api/users/{uid}/password
Passwort löschen (Person)
- Wer darf: Administratoren
- Pfadparameter:
uid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/users/{uid}/password' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
POST /api/users/{uid}/unlock
Entsperren – Person
- Wer darf: Administratoren
- Pfadparameter:
uid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/users/{uid}/unlock' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok
Bereich: webhooks
Webhooks: Adressen, die von Ereignissen erfahren, und was ihnen geschickt wurde.
GET /api/webhooks
Webhooks auflisten
- Wer darf: Administratoren
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/webhooks' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
webhooks |
array | |
events |
object | |
events.issue.created |
string | "Issue created" |
events.issue.transitioned |
string | "Status changed" |
events.issue.assigned |
string | "Assignee changed" |
events.issue.updated |
string | "Any field changed" |
events.issue.deleted |
string | "Issue deleted" |
events.issue.deleting |
string | "Issue is about to be deleted" |
events.comment.added |
string | "Comment added by an agent" |
events.customer.commented |
string | "Customer replied" |
events.issue.escalated |
string | "Customer escalated" |
events.worklog.added |
string | "Work logged" |
events.attachment.added |
string | "Attachment added" |
events.customer.attached |
string | "Customer uploaded an attachment" |
events.issue.inactive |
string | "No activity for a while" |
Beispielantwort
{
"webhooks": [],
"events": {
"issue.created": "Issue created",
"issue.transitioned": "Status changed",
"issue.assigned": "Assignee changed",
"issue.updated": "Any field changed",
"issue.deleted": "Issue deleted",
"issue.deleting": "Issue is about to be deleted",
"comment.added": "Comment added by an agent",
"customer.commented": "Customer replied",
"issue.escalated": "Customer escalated",
"worklog.added": "Work logged",
"attachment.added": "Attachment added",
"customer.attached": "Customer uploaded an attachment",
"issue.inactive": "No activity for a while"
}
}
POST /api/webhooks
Webhook anlegen
- Wer darf: Administratoren
- JSON-Body:
url,name,enabled,format,projectId,events
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/webhooks' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"url": "…", "name": "…", "enabled": "…", "format": "…", "projectId": "…", "events": "…"}'
Liefert
id
PUT /api/webhooks/{wid}
Webhook ändern
- Wer darf: Administratoren
- Pfadparameter:
wid(integer) - JSON-Body:
name,url,enabled,format,projectId,events
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/webhooks/{wid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "url": "…", "enabled": "…", "format": "…", "projectId": "…", "events": "…"}'
Liefert
ok
DELETE /api/webhooks/{wid}
Webhook löschen
- Wer darf: Administratoren
- Pfadparameter:
wid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/webhooks/{wid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/webhooks/{wid}/test
Testen – Webhook
- Wer darf: Administratoren
- Pfadparameter:
wid(integer)
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/webhooks/{wid}/test' \
-H 'Authorization: Bearer $TOKEN'
Liefert
ok, detail
Bereich: workflows
Workflows: Status und die Übergänge dazwischen, mit ihren Bedingungen.
GET /api/workflows
Workflows auflisten
- Wer darf: Jede angemeldete Person
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/workflows' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
[].id |
integer | 1 |
[].name |
string | "Service desk workflow" |
[].description |
string | "Waiting for support, in progress, waiting for customer, res |
[].isDefault |
boolean | true |
[].created |
string | "2026-11-21T21:28:57Z" |
[].projectCount |
integer | 2 |
[].statusCount |
integer | 7 |
[].transitionCount |
integer | 9 |
Beispielantwort
[
{
"id": 1,
"name": "Service desk workflow",
"description": "Waiting for support, in progress, waiting for customer, resolved.",
"isDefault": true,
"created": "2026-11-21T21:28:57Z",
"projectCount": 2,
"statusCount": 7,
"transitionCount": 9
}
]
POST /api/workflows
Workflow anlegen
- Wer darf: Administratoren
- JSON-Body:
name,description,copyFrom
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/workflows' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "copyFrom": "…"}'
Liefert
Wie GET /api/workflows.
GET /api/workflows/{wid}
Workflow lesen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
wid(integer)
Aufruf
curl -s -X GET 'http://127.0.0.1:6644/api/workflows/{wid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
| Feld | Typ | Beispiel |
|---|---|---|
id |
integer | 1 |
name |
string | "Service desk workflow" |
description |
string | "Waiting for support, in progress, waiting for customer, res |
isDefault |
boolean | true |
created |
string | "2026-11-21T21:28:57Z" |
projectCount |
integer | 2 |
statuses |
array | |
statuses[].id |
integer | 1 |
statuses[].name |
string | "Waiting for support" |
statuses[].category |
string | "todo" |
statuses[].position |
integer | 0 |
statuses[].initial |
boolean | true |
statuses[].x |
null | null |
statuses[].y |
null | null |
transitions |
array | |
transitions[].id |
integer | 1 |
transitions[].name |
string | "Start work" |
transitions[].description |
string | "" |
transitions[].fromStatusId |
integer | 1 |
transitions[].toStatusId |
integer | 2 |
transitions[].fromName |
string | "Waiting for support" |
transitions[].toName |
string | "In Progress" |
transitions[].rules |
object | |
projects |
array | |
projects[].workflow |
object | |
projects[].id |
integer | 1 |
projects[].key |
string | "ITS" |
projects[].name |
string | "IT Service Desk" |
projects[].description |
string | "Internal IT: accounts, devices, access and outages." |
projects[].type |
string | "service" |
projects[].avatarColor |
string | "#0052CC" |
projects[].lead |
object | |
projects[].issueCount |
integer | 7 |
projects[].doneCount |
integer | 1 |
projects[].created |
string | "2026-08-23T21:28:57Z" |
projects[].iconUrl |
null | null |
projects[].may |
object | |
ruleCatalogue |
object | |
ruleCatalogue.conditionRoles |
object | |
ruleCatalogue.conditionRoles.assignee |
string | "The assignee of the issue" |
Beispielantwort
{
"id": 1,
"name": "Service desk workflow",
"description": "Waiting for support, in progress, waiting for customer, resolved.",
"isDefault": true,
"created": "2026-11-21T21:28:57Z",
"projectCount": 2,
"statuses": [
{
"id": 1,
"name": "Waiting for support",
"category": "todo",
"position": 0,
"initial": true,
"x": null,
"y": null
},
{
"id": 2,
"name": "In Progress",
"category": "inprogress",
"position": 1,
"initial": false,
"x": null,
"y": null
},
"…"
],
"transitions": [
{
"id": 1,
"name": "Start work",
"description": "",
"fromStatusId": 1,
"toStatusId": 2,
"fromName": "Waiting for support",
"toName": "In Progress",
"rules": {
"conditions": [],
"validators": [],
"postFunctions": []
}
},
{
"id": 2,
"name": "Ask the customer",
"description": "",
"fromStatusId": 2,
"toStatusId": 3,
"fromName": "In Progress",
"toName": "Waiting for customer",
"rules": {
"conditions": [],
"validators": [],
"postFunctions": []
}
},
"…"
],
"projects": [
{
"workflow": {
"id": 1,
"name": "Service desk workflow"
},
"id": 1,
"key": "ITS",
"name": "IT Service Desk",
"description": "Internal IT: accounts, devices, access and outages.",
"type": "service",
"avatarColor": "#0052CC",
"lead": {
"id": 1,
"username": "mkoch",
"displayName": "Marie Koch",
"email": "marie.koch@example.invalid",
"avatarColor": "#0052CC",
"isAdmin": true,
"active": true,
"clockPrompt": false,
…
PUT /api/workflows/{wid}
Workflow ändern
- Wer darf: Administratoren
- Pfadparameter:
wid(integer) - JSON-Body:
name,description,initialStatusId,layout,statusIds,transitions
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/workflows/{wid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…", "description": "…", "initialStatusId": "…", "layout": "…", "statusIds": "…", "transitions": "…"}'
Liefert
Wie GET /api/workflows/{wid}.
DELETE /api/workflows/{wid}
Workflow löschen
- Wer darf: Administratoren
- Pfadparameter:
wid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/workflows/{wid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted
POST /api/workflows/{wid}/duplicate
Duplizieren – Workflow
Details aus dem Code (englisch)
A copy with the same statuses and transitions, attached to no project.- Wer darf: Administratoren
- Pfadparameter:
wid(integer) - JSON-Body:
name
Aufruf
curl -s -X POST 'http://127.0.0.1:6644/api/workflows/{wid}/duplicate' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "…"}'
Liefert
JSON.
Bereich: worklogs
Zeitbuchungen: ändern und löschen. Neue werden am Vorgang gebucht.
PUT /api/worklogs/{wid}
Zeitbuchung ändern
Details aus dem Code (englisch)
Put a booking right - the time, the day or the note. One's own always; somebody else's only for an administrator, the same rule the deletion below follows.- Wer darf: Jede angemeldete Person
- Pfadparameter:
wid(integer) - JSON-Body:
seconds,timeSpent,started,comment
Aufruf
curl -s -X PUT 'http://127.0.0.1:6644/api/worklogs/{wid}' \
-H 'Authorization: Bearer $TOKEN' \
-H 'Content-Type: application/json' \
-d '{"seconds": "…", "timeSpent": "…", "started": "…", "comment": "…"}'
Liefert
id, seconds, started
DELETE /api/worklogs/{wid}
Zeitbuchung löschen
- Wer darf: Jede angemeldete Person
- Pfadparameter:
wid(integer)
Aufruf
curl -s -X DELETE 'http://127.0.0.1:6644/api/worklogs/{wid}' \
-H 'Authorization: Bearer $TOKEN'
Liefert
deleted