Create a new analytics report
Changed onCreate a new analytics report for a set of metrics over a specific time span. Different filters (e.g. Inbox v Tag v Teammates) will be joined with AND logic, but the IDs within a filter will be joined with OR logic (e.g. Inbox A or Inbox B, Tag A or Tag B). The report will be executed asynchronously. The response will include a link that can be used to retrieve the report status & result. Refer to the Analytics topic for details about specific metrics.
Required scope: analytics:read
Request
- Base URLhttps://api2.frontapp.com
- URLhttps://api2.frontapp.com/analytics/reports
- AuthHTTP bearer
Request body
Response
An analytics report.
Example response
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/analytics/reports/b45efa66237cc453252d9019449c7a64f5cfdb491b6c2c1d6df33c1050d60e33"
},
"uid": "b45efa66237cc453252d9019449c7a64f5cfdb491b6c2c1d6df33c1050d60e33",
"status": "done",
"progress": 100,
"metrics": [
{
"type": "number"
}
]
}Changes
- breaking
request body became required
- warning
added the new
avg_first_reaction_timeenum value to the//response property for the response status - warning
added the new
avg_reaction_timeenum value to the//response property for the response status - warning
added the new
avg_tag_durationenum value to the//response property for the response status - warning
added the new
num_active_accountsenum value to the//response property for the response status - warning
added the new
num_active_teammatesenum value to the//response property for the response status - warning
added the new
num_assigned_segmentsenum value to the//response property for the response status - warning
added the new
num_new_tasksenum value to the//response property for the response status - warning
added the new
num_non_replies_sentenum value to the//response property for the response status - warning
added the new
num_replies_sentenum value to the//response property for the response status - warning
added the new
num_segments_with_outboundsenum value to the//response property for the response status - warning
added the new
num_segments_with_tag_changesenum value to the//response property for the response status - warning
added the new
num_tags_addedenum value to the//response property for the response status - warning
added the new
num_tags_removedenum value to the//response property for the response status - warning
added the new
num_touched_segmentsenum value to the//response property for the response status - warning
added the new
pct_messages_with_message_templatesenum value to the//response property for the response status - info
added the new
avg_first_reaction_timeenum value to the request property/ - info
added the new
avg_reaction_timeenum value to the request property/ - info
added the new
avg_tag_durationenum value to the request property/ - info
added the new
num_active_accountsenum value to the request property/ - info
added the new
num_active_teammatesenum value to the request property/ - info
added the new
num_assigned_segmentsenum value to the request property/ - info
added the new
num_new_tasksenum value to the request property/ - info
added the new
num_non_replies_sentenum value to the request property/ - info
added the new
num_replies_sentenum value to the request property/ - info
added the new
num_segments_with_outboundsenum value to the request property/ - info
added the new
num_segments_with_tag_changesenum value to the request property/ - info
added the new
num_tags_addedenum value to the request property/ - info
added the new
num_tags_removedenum value to the request property/ - info
added the new
num_touched_segmentsenum value to the request property/ - info
added the new
pct_messages_with_message_templatesenum value to the request property/
- breaking