Exports
Download exported CSV file
This endpoint lets you generate a URL, using fileId, from which you can download the exported CSV file. The generated URL expires in five mins.
POST
/
api-offers
/
offers-exports
/
actions
/
download-export-file
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
x-site-context
string
requiredThe x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
application/json
The URL of the downloadable file.
fileId
string
requiredThe file ID to download the exported file.
Response
200 - application/json
The URL of the downloadable file.
url
string
requiredThe AWS S3 URL to download the exported file.
fileId
string
requiredFile ID
Was this page helpful?