Workflows and integrations
Web services, processes, and connections that fit your landscape.
After installation you get an API entry in the admin area. Switch the API on, generate a token, and call normal HTTP routes. The token is shown once, it expires, and the package creates an agent user for it.
This is not the Generic Interface. You do not build a webservice, a route map, or an operation invoker. The package already exposes the routes below. The steps are on Installation. Tokens and the admin route list are in the REST API guide. An AI client such as Claude or Cursor does not call these routes itself. It talks to the OTOBO MCP Server, which calls OTOBO for it.
Install the REST-API package, switch the API on, and copy the token: Installation.
What the token may do is whatever that user may do: groups, roles, and queue permissions. Change those on the agent, not on a second permission screen. Each agent can also create a personal token under personal preferences. A personal token acts as that agent.
Works on OTOBO 11. Send Authorization: Bearer and Accept: application/json.
| What | Method and path |
|---|---|
| Tickets | GET, POST /tickets, GET, PATCH /tickets/{id} |
| FAQ | GET /faqs, GET /faqs/{id} |
| Queues, states, types, services, dynamic fields | GET /queues and the other catalogue lists |
| Agents | GET /agents |
| Customers | GET /customers, GET /customer-users |
Base URL: https://helpdesk.example.com/otobo/otai-api.pl/v1
Longer examples, one page per language:
import requests
response = requests.get( "https://helpdesk.example.com/otobo/otai-api.pl/v1/tickets?state=new&limit=20", headers={"Authorization": "Bearer YOUR_TOKEN"}, timeout=30,)response.raise_for_status()print(response.json())const response = await fetch( "https://helpdesk.example.com/otobo/otai-api.pl/v1/tickets?state=new&limit=20", { method: "GET", headers: { Authorization: "Bearer YOUR_TOKEN", Accept: "application/json", }, },);if (!response.ok) throw new Error(await response.text());console.log(await response.json());import java.net.URI;import java.net.http.HttpClient;import java.net.http.HttpRequest;import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();HttpRequest.BodyPublisher body = HttpRequest.BodyPublishers.noBody();HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://helpdesk.example.com/otobo/otai-api.pl/v1/tickets?state=new&limit=20")) .header("Authorization", "Bearer YOUR_TOKEN") .header("Accept", "application/json") .method("GET", body) .build();HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());<?php$ch = curl_init("https://helpdesk.example.com/otobo/otai-api.pl/v1/tickets?state=new&limit=20");curl_setopt_array($ch, [ CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_TOKEN", "Accept: application/json", "Content-Type: application/json", ], CURLOPT_RETURNTRANSFER => true,]);$body = curl_exec($ch);$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);curl_close($ch);echo $body;Install the package, then open Admin and the API menu. Switch the API on and generate a token. The token is shown once.
Sources
No. The Generic Interface is a separate webservice builder. This package adds its own HTTP routes and does not use that builder.
This is not the Generic Interface. You do not build a webservice, a route map, or an operation invoker. The package already exposes the routes below.
Sources
Workflows and integrations
Web services, processes, and connections that fit your landscape.