POST
/export/content/dataCreate a content data export
Creates an asynchronous export job for message delivery and engagement data about outbound content. Provide created_at_after and created_at_before as Unix timestamps; the inclusive date range selects messages by when they were sent, not when they were updated. Only one export job can be active per workspace.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Intercom-Versionstringoptional
The API version to use. Defaults to 2.17 when omitted; supported values include 1.0 through 1.4 and 2.0 through 2.6.
The inclusive Unix timestamp range for the content data to export.
created_at_afterintegerrequired
The start date that you request data for. It must be formatted as a unix timestamp.
created_at_beforeintegerrequired
The end date that you request data for. It must be formatted as a unix timestamp.
200Returns the export job identifier and current status, with download expiry time and URL when available.
job_identifierstringoptional
The identifier for your job.
statusstringoptional
The current state of your job.
download_expires_atstringoptional
The time after which you will not be able to access the data.
download_urlstringoptional
The location where you can download your data.
Error handling
created_at_after and created_at_before are both required and must be Unix timestamps. The date range is inclusive, and the export covers messages sent during that range rather than messages only updated during it.