Export

POST /:account/analytics/:section/:report/export{?startDate,endDate}

Allows users to export analytics reports about a certain account. Possible report types can be retrieved from section endpoint. Each report will be calculated as a CSV and emailed as an attachment to the user.

Examples

Exporting user_engagement analytics reports

Request

POST /my_account/analytics/overview/user_engagement/export?startDate=2020-04-01&endDate=2020-04-08
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X POST /my_account/analytics/overview/user_engagement/export?startDate=2020-04-01&endDate=2020-04-08
    

Response

Status

202

Response Type

No body


© 2024 TextUs