Create a new analytics export
Changed onCreate a new analytics export of messages or events (activities) over a specific time span. The export will be executed asynchronously. The response will include a link that can be used to retrieve the export 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/exports
- AuthHTTP bearer
Request body
Response
An analytics export.
Example response
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/analytics/exports/exp_o9y1a"
},
"id": "exp_o9y1a",
"status": "running",
"progress": 20,
"url": "https://api.frontapp.com/analytics/exports/exp_o9y1a/download",
"filename": "export-messages-yourCompany-2023-07-19-212d-e55df0.csv",
"size": 26639,
"created_at": 1703103649.159
}Changes
- breaking
request body became required
- info
the
request property default value changed fromActivity IDTypeSourceMessage IDSegment IDConversation IDTicket IDsSegmentSegment startSegment endDirectionStatusStatus at activity timeInboxInbox API IDInbox at activity timeInbox API IDs at activity timePrevious inbox IDsMessage dateAutoreplyReaction timeTotal reply timeHandle timeResponse timeTicket resolution timeTicket replies to resolutionAttributed toAssigneeAuthorContact nameContact handleAccount namesFromToCcBccExtractTagsTag API IDsTags at activity timeTag API IDs at activity timeTag application durationActivity API IDMessage API IDComment API IDConversation API IDMessage original IDNew ConversationFirst responseBusiness hoursSubjectAccount nameSurvey ratingSurvey commentSegment closedSegment contains messagesLast segment activityAdded tagAdded tag API IDRemoved tagRemoved tag API IDSegment cumulative teammatestoActivity IDTypeSourceMessage IDSegment IDConversation IDTicket IDsSegmentSegment startSegment endDirectionStatusStatus at activity timeInboxInbox API IDInbox at activity timeInbox API IDs at activity timePrevious inbox IDsMessage dateAutoreplyReaction timeTotal reply timeHandle timeResponse timeTicket resolution timeTicket replies to resolutionAttributed toAssigneeAuthorContact nameContact handleAccount namesFromToCcBccExtractTagsTag API IDsTags at activity timeTag API IDs at activity timeTag application durationActivity API IDMessage API IDComment API IDConversation API IDMessage original IDNew ConversationFirst responseBusiness hoursSubjectAccount nameSurvey ratingSurvey commentSegment closedSegment contains messagesLast segment activityAdded tagAdded tag API IDRemoved tagRemoved tag API IDSegment cumulative teammatesAttributed teammates - info
the
request property default value changed fromMessage IDSegment IDConversation IDTicket IDsSegmentDirectionStatusInboxInbox API IDInbox at activity timeInbox API IDs at activity timeMessage dateAutoreplyReaction timeTotal reply timeHandle timeResponse timeAttributed toAssigneeAuthorContact nameContact handleAccount namesFromToCcBccExtractTagsTag API IDsMessage API IDConversation API IDNew ConversationFirst responseBusiness hoursSubjectSegment startSegment endSegment closedLast segment activitySegment cumulative teammatestoMessage IDSegment IDConversation IDTicket IDsSegmentDirectionStatusInboxInbox API IDInbox at activity timeInbox API IDs at activity timeMessage dateAutoreplyReaction timeTotal reply timeHandle timeResponse timeAttributed toAssigneeAuthorContact nameContact handleAccount namesFromToCcBccExtractTagsTag API IDsMessage API IDConversation API IDNew ConversationFirst responseBusiness hoursSubjectSegment startSegment endSegment closedLast segment activitySegment cumulative teammatesAttributed teammates - info
added the new
Attributed teammatesenum value to the request property////// - info
added the new
Attributed teammatesenum value to the request property/////
- breaking