Everything about Reporting Data Export. See this article for details on using the data to generate various metrics.
For the conversation dataset, from API version 2.16 this export returns all conversations, including those that never received a user reply. Earlier versions return only conversations that received at least one user reply. Other datasets are unaffected.
Requires the export_reporting_data OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
List of attribute identifiers to include in the export. Requires qualified_id format (e.g., "people.Brand", "standard.conversation_id"). Use the qualified_id returned from the get_datasets response.
[ "standard.conversation_id", "timestamp.conversation_started_at" ]
Start of the export period, as a Unix timestamp in seconds. Must be within your workspace's reporting data retention period, which is 2 years by default (3 years for workspaces with extended retention).
- The production API serverhttps://api.intercom.io/export/reporting_data/enqueue
- The european API serverhttps://api.eu.intercom.io/export/reporting_data/enqueue
- The australian API serverhttps://api.au.intercom.io/export/reporting_data/enqueue
curl -i -X POST \
https://api.intercom.io/export/reporting_data/enqueue \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.17' \
-d '{
"dataset_id": "conversation",
"attribute_ids": [
"standard.conversation_id",
"timestamp.conversation_started_at"
],
"start_time": 1788220800,
"end_time": 1788307200
}'{ "job_identifier": "job1", "status": "pending", "download_url": "string", "download_expires_at": "string" }