Workflows and integrations
Web services, processes, and connections that fit your landscape.
Call the OTOBO API from Python with requests. There is no separate SDK to install or version. The examples below are the whole client: a bearer token and JSON.
Replace YOUR_TOKEN with a token from Admin → API or from an agent’s personal API token. The base URL on this OTOBO system is https://helpdesk.example.com/otobo/otai-api.pl/v1. How tokens expire and how rights follow the user is on the authentication page.
Fields and errors: Tickets.
import requests
payload = { "title": "Printer offline", "queue": "Service Desk", "state": "new", "priority": "3 normal", "customerUser": "max@example.com", "article": { "subject": "Printer offline", "body": "Floor 2, the device shows no paper path.", "mimeType": "text/plain" }}
response = requests.post( "https://helpdesk.example.com/otobo/otai-api.pl/v1/tickets", headers={"Authorization": "Bearer YOUR_TOKEN"},, json=payload timeout=30,)response.raise_for_status()print(response.json())Fields and errors: FAQ.
import requests
response = requests.get( "https://helpdesk.example.com/otobo/otai-api.pl/v1/faqs?query=vpn&limit=20", headers={"Authorization": "Bearer YOUR_TOKEN"}, timeout=30,)response.raise_for_status()print(response.json())Fields and errors: Queues.
import requests
response = requests.get( "https://helpdesk.example.com/otobo/otai-api.pl/v1/queues", headers={"Authorization": "Bearer YOUR_TOKEN"}, timeout=30,)response.raise_for_status()print(response.json())Fields and errors: Agents.
import requests
response = requests.get( "https://helpdesk.example.com/otobo/otai-api.pl/v1/agents", headers={"Authorization": "Bearer YOUR_TOKEN"}, timeout=30,)response.raise_for_status()print(response.json())Fields and errors: Customer users.
import requests
response = requests.get( "https://helpdesk.example.com/otobo/otai-api.pl/v1/customer-users?search=max@example.com", headers={"Authorization": "Bearer YOUR_TOKEN"}, timeout=30,)response.raise_for_status()print(response.json())No. The examples send HTTP with a bearer token. There is no package to publish or upgrade.
Call the OTOBO API from Python with requests. There is no separate SDK to install or version. The examples below are the whole client: a bearer token and JSON.
Sources
In the Authorization: Bearer header. The base URL ends with /otai-api.pl/v1.
Sources
Workflows and integrations
Web services, processes, and connections that fit your landscape.