Create content data export

To create your export job, you need to send a POST request to the export endpoint https://api.intercom.io/export/content/data.

The only parameters you need to provide are the range of dates that you want exported.

🚧 Limit of one active job

You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.

❗️ Updated_at not included

It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.

📘 Date ranges are inclusive

Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.

SecurityHTTP: bearerAuth
Request
header Parameters
Intercom-Version
string (intercom_version)
Default: 2.11

Intercom API version.
By default, it's equal to the version set in the app package.

Enum: "1.0" "1.1" "1.2" "1.3" "1.4" "2.0" "2.1" "2.2" "2.3" "2.4" "2.5" "2.6" "2.7" "2.8" "2.9" "2.10" "2.11" "Unstable"
Example: 2.11
Request Body schema: application/json
created_at_after
required
integer

The start date that you request data for. It must be formatted as a unix timestamp.

created_at_before
required
integer

The end date that you request data for. It must be formatted as a unix timestamp.

post
/export/content/data
Request samples
application/json
{ "created_at_after": 1715059983, "created_at_before": 1715077983 }
Responses

200

successful

Response Schema: application/json
job_identfier
string

The identifier for your job.

status
string

The current state of your job.

Enum: "pending" "in_progress" "failed" "completed" "no_data" "canceled"
download_expires_at
string

The time after which you will not be able to access the data.

download_url
string

The location where you can download your data.

Response samples
application/json
{ "job_identifier": "5n65oa9161wkyetb", "status": "pending", "download_url": "", "download_expires_at": "" }