Compare created, answered, and resolved tickets over time
POST
/openapi/reporting/comparecreatedansweredresolved
const url = 'https://open-api.replyco.com/openapi/reporting/comparecreatedansweredresolved';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "from": "2026-10-01T00:00:00Z", "to": "2026-10-21T00:00:00Z", "accountIds": [ "8a1b1d6c-5f1a-4c8e-9f2b-7d3e5a9c1b40" ], "timezoneOffset": 60, "useWorkingHours": true }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://open-api.replyco.com/openapi/reporting/comparecreatedansweredresolved \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "from": "2026-10-01T00:00:00Z", "to": "2026-10-21T00:00:00Z", "accountIds": [ "8a1b1d6c-5f1a-4c8e-9f2b-7d3e5a9c1b40" ], "timezoneOffset": 60, "useWorkingHours": true }'Provides comparative analysis of ticket lifecycle stages.
Comparison metrics:
- Tickets created vs answered
- Tickets answered vs resolved
- Time lag between stages
- Conversion rates
- Bottleneck identification
Visual data for:
- Multi-line time series charts
- Stage conversion funnels
- Performance gap analysis
- Efficiency trends
Use cases:
- Workflow efficiency analysis
- Team performance evaluation
- Process optimization
- SLA compliance monitoring
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Report filter settings including date range
object
timezoneOffset
integer format: int32
from
string format: date-time
to
string format: date-time
accountIds
Array<string>
marketplaces
Array<integer>
ignoreBlockedCustomers
boolean
ignoreInActiveTickets
boolean
useWorkingHours
boolean
Example
{ "from": "2026-10-01T00:00:00Z", "to": "2026-10-21T00:00:00Z", "accountIds": [ "8a1b1d6c-5f1a-4c8e-9f2b-7d3e5a9c1b40" ], "timezoneOffset": 60, "useWorkingHours": true}object
timezoneOffset
integer format: int32
from
string format: date-time
to
string format: date-time
accountIds
Array<string>
marketplaces
Array<integer>
ignoreBlockedCustomers
boolean
ignoreInActiveTickets
boolean
useWorkingHours
boolean
object
timezoneOffset
integer format: int32
from
string format: date-time
to
string format: date-time
accountIds
Array<string>
marketplaces
Array<integer>
ignoreBlockedCustomers
boolean
ignoreInActiveTickets
boolean
useWorkingHours
boolean
object
timezoneOffset
integer format: int32
from
string format: date-time
to
string format: date-time
accountIds
Array<string>
marketplaces
Array<integer>
ignoreBlockedCustomers
boolean
ignoreInActiveTickets
boolean
useWorkingHours
boolean
Responses
Section titled “Responses”Returns the comparison report
Invalid filter parameters
User is not authenticated or authorized