{"openapi":"3.0.0","paths":{"/notifications":{"get":{"operationId":"NotificationsController_inbox","parameters":[],"responses":{"200":{"description":""}},"tags":["notifications"],"x-permissions":["notification.read"]}},"/notifications/read-all":{"post":{"operationId":"NotificationsController_readAll","parameters":[],"responses":{"201":{"description":""}},"tags":["notifications"],"x-permissions":["notification.read"]}},"/notifications/{id}/read":{"post":{"operationId":"NotificationsController_read","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"tags":["notifications"],"x-permissions":["notification.read"]}},"/tickets":{"post":{"operationId":"TicketsController_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":160},"description":{"type":"string","minLength":1,"maxLength":5000},"category":{"type":"string","enum":["ACCESS","DATA","PAYMENT","CERTIFICATE","CLAIM","INTEGRATION","OTHER"]},"priority":{"type":"string","enum":["CRITICAL","MAJOR","MINOR","AESTHETIC"]}},"required":["title","description","category","priority"],"additionalProperties":false}}}},"responses":{"201":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.create"]},"get":{"operationId":"TicketsController_list","parameters":[],"responses":{"200":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.read"]}},"/tickets/assignees":{"get":{"operationId":"TicketsController_assignees","parameters":[],"responses":{"200":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.handle"]}},"/tickets/{id}":{"get":{"operationId":"TicketsController_detail","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.read"]}},"/tickets/{id}/messages":{"post":{"operationId":"TicketsController_message","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":5000},"internal":{"type":"boolean"}},"required":["body"],"additionalProperties":false}}}},"responses":{"201":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.read"]}},"/tickets/{id}/assign":{"post":{"operationId":"TicketsController_assign","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assigneeUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"level":{"type":"string","enum":["N1","N2","N3"]},"priority":{"type":"string","enum":["CRITICAL","MAJOR","MINOR","AESTHETIC"]}},"additionalProperties":false}}}},"responses":{"201":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.handle"]}},"/tickets/{id}/status":{"post":{"operationId":"TicketsController_status","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["IN_PROGRESS","RESOLVED","CLOSED","REOPENED"]},"note":{"type":"string","maxLength":2000}},"required":["status"],"additionalProperties":false}}}},"responses":{"201":{"description":""}},"tags":["tickets"],"x-permissions":["ticket.read"]}}},"info":{"title":"Communications service","description":"Notifications by email, SMS and in-app inbox, and the helpdesk ticket portal.","version":"1.0.0","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"An integration key, created under Integrations → Integration keys. It looks like `bc_1a2b3c4d_…` and is shown once, when you create it."},"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"An integration key sent as `Authorization: Bearer bc_…`, or the session token of a signed-in user."}},"schemas":{}}}