Ticket
Get a ticket (full data)
GET /ticket/{ticketId}
GET /ticket/{ticketId}
Get a single ticket by ticketId with FULL data.
Unlike POST /ticket/search (which returns compact data), this endpoint includes:
- body, bodyPlain, bodyClean (full content)
- attachments (complete list)
- intents (full details)
- template (email template)
- workitem (for system tickets only)
- customer (full object with all properties)
Path parameters
ticketIdintegerpathrequiredThe id of the ticket to retrieve
Query parameters
refreshbooleanqueryTrigger a hard refresh (incl. re-sync of contract from ERP system) before?
erpCacheOnlybooleanqueryIf true, only use locally cached ERP data for contract/customer enrichment (no external ERP calls). Useful for bulk fetches where fresh ERP data is not needed.
includeSessionsbooleanqueryEmbed the ticket's NEO sessions as a sessions array (same shape as GET /sessions?ticketId), so the FE needs no second call. Defaults to true; pass false to skip (e.g. bulk fetches).
Responses
200 — Successful operation
403 — Unauthorized
404 — Ticket not found
500 — Internal error