Skip to main content
GET
/
export
/
reporting_tickets
Export reporting tickets
curl --request GET \
  --url https://demo.enneo.ai/api/mind/export/reporting_tickets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 4711,
    "channel": "email",
    "direction": "in",
    "status": "closed",
    "priority": "high",
    "contractId": "C-1001",
    "customerId": "CU-42",
    "topic": "Billing",
    "subTopic": "Payment reminder",
    "incomingMessages": 3,
    "outgoingMessages": 2,
    "internalMessages": 1,
    "manualWorkEntries": 1,
    "createdAt": "2024-05-12 09:00:00",
    "closedAt": "2024-05-13 16:15:00",
    "dueBy": "2024-05-20 09:00:00",
    "lastMessageAt": "2024-05-13 16:15:00",
    "lastCustomerMessageAt": "2024-05-13 14:22:00",
    "secondsSinceLastCustomerMessage": 6780,
    "secondsToClose": 116100,
    "secondsClosedAfterSLA": -3600
  }
]

Authorizations

Authorization
string
header
required

JWT-based authentication

Query Parameters

format
enum<string>

Export format. Defaults to the backend defaultDateExportFormat setting when omitted.

Available options:
xlsx,
csv,
json
limit
integer
default:100

The number of items to return

Required range: 1 <= x <= 1000
offset
integer
default:0

The number of items to skip

Required range: x >= 0
orderByField
string

Column used to order the result set. Must be a column from the reporting_tickets table (for example createdAt, status, secondsToClose).

orderByDirection
enum<string>
default:desc

Sort direction applied to orderByField.

Available options:
asc,
desc

Response

Export scheduled or returned successfully.

id
integer | null
channel
string | null
direction
string | null
status
string | null
priority
string | null
contractId
string | null
customerId
string | null
topic
string | null
subTopic
string | null
incomingMessages
integer | null
outgoingMessages
integer | null
internalMessages
integer | null
manualWorkEntries
integer | null
createdAt
string<date-time>
closedAt
string<date-time> | null
dueBy
string<date-time> | null
lastMessageAt
string<date-time> | null
lastCustomerMessageAt
string<date-time> | null
secondsSinceLastCustomerMessage
integer | null
secondsToClose
integer | null
secondsClosedAfterSLA
integer | null