OTOBO Python SDK

Async Python client for the OTOBO GenericInterface REST API — install with pip install otobo.

OTOBO Python SDK

The OTOBO Python SDK is a free, open-source async client for the OTOBO GenericInterface REST API.

Who is this for?

RoleTypical use
OTOBO administratorsAutomate webservice setup with otobo-cli setup-system
Integration developersBuild OTOBO connectors without hand-rolling GenericInterface JSON
OTAI Runtime usersTicket access from Python plugins on OTOBO systems

Quick start

pip install otobo
from otobo import OTOBOClient, BasicAuth, ClientConfig, TicketOperation

client = OTOBOClient(
    ClientConfig(
        base_url="https://your-otobo-server",
        webservice_name="MyWebservice",
        operation_url_map={
            TicketOperation.CREATE: "ticket-create",
            TicketOperation.GET: "ticket-get",
            TicketOperation.SEARCH: "ticket-search",
            TicketOperation.UPDATE: "ticket-update",
        },
    )
)
client.login(BasicAuth(user_login="agent", password="secret"))

Documentation map

PageDescription
Getting startedInstall, configure, create a ticket
Webservice setupRequired — configure GenericInterface REST
CLI referenceotobo-cli setup-system
API referencePublic exports and client methods
Working with ticketsSearch, get, update, errors
MigrationFrom otobo_znuny / otobo-znuny
ArchitectureOTOBO package layout
Znuny SDKSister package for Znuny
Open Ticket AI for OTOBOCustom AI on your OTOBO queues

Next steps

  1. Follow Webservice setup on your OTOBO host.
  2. Then Getting started in Python.
  3. Explore Open Ticket AI for OTOBO for trained queue models.