Tracking & events

Download the gifting report as CSV

The report as CSV, one row per campaign. Same filters as GET /reports.

get/reports/export.csv

Request

  • Base URL: https://gtmswag.com/api/v1
  • URL: https://gtmswag.com/api/v1/reports/export.csv
  • Auth: HTTP bearer

Query parameters

fromstring date

Inclusive gift creation start date, YYYY-MM-DD in UTC.

tostring date

Inclusive gift creation end date, YYYY-MM-DD in UTC.

campaignIdstring

Only this campaign (cmp_).

mode'test' | 'live'

Report test or live gifts separately (default test).

Response

CSV file (UTF-8, CRLF line endings).

Changes

No recorded changes to this operation across all 1 revision of this API.