Create ticket (admin)
Create a ticket from the system-admin flow.
Mirrors the user create endpoint but allows admin-only categories (integracoes) and an internal priority, and always validates assigned_to.
The ticket carries the acting admin's HOME company — never the one they may be impersonating. user["idcompany"] is ambient (see auth.home_company): an admin who switched into a tenant and then opened the system-admin panel would otherwise file this internal ticket INSIDE that tenant, where the tenant read path (db.tickets.list_tickets_by_company, which filters on idcompany alone) makes it readable by their users, and the attachment prefix below drops the files into that tenant's MultiDrive.
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/admin/tickets
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 21 revisions of this API.