REST API routes¶
The REST API is versioned under api.pl/v1 and uses bearer tokens with
scopes.
Core routes¶
GET /v1/ping– Check availabilityGET /v1/openapi.json– Retrieve the OpenAPI descriptionGET /v1/me– Retrieve information about the token in useGET /v1/tickets– List ticketsPOST /v1/tickets– Create a ticketGET /v1/tickets/{ticket_id}– Read a ticketPATCH /v1/tickets/{ticket_id}– Change ticket propertiesGET /v1/tickets/{ticket_id}/articles– List articlesPOST /v1/tickets/{ticket_id}/articles– Create an articleGET /v1/attachments/{attachment_id}– Download an attachmentGET /v1/master-data/{type}– Read queues, statuses, priorities, services, SLAs, or dynamic fieldsGET /v1/customersandPOST /v1/customers– Read or create customersPATCH /v1/customers/{customer_id}– Change a customerGET /v1/customer-usersandPOST /v1/customer-users– Read or create customer usersPATCH /v1/customer-users/{customer_user_id}– Change a customer user
Permission scopes¶
The source uses scopes including tickets.read, tickets.create,
tickets.articles, tickets.attachments, tickets.status,
tickets.properties, tickets.internal_notes,
master_data.read, customers.read, and customers.write. Add-ons
can register their own scopes and routes in their namespace.