Fetch download activity export
POST
/download-activity/export
const url = 'https://api.optizmo.com/download-activity/export';const options = {method: 'POST', headers: {api_key: '<api_key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.optizmo.com/download-activity/export \ --header 'api_key: <api_key>'Generates the download activity export and fetches the url to access the generated export. This is the same export available from the Suppress UI, except with a broader date range. The list is limited to Opt-Out Lists that were last downloaded between (inclusive) 0 and 90 days ago.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Request to prepare and download the export has been accepted
Media type text/html
string
Examples
Example html
A redirect link to the export
Redirecting to "https://.....Headers
Section titled “Headers ” Location
string
Example
https://...Authorization not provided, or failed