curl --request GET \
--url https://api.tagdeliver.com/v1/report/date-range \
--header 'Authorization: Bearer <token>'{
"results": {
"start": "2025-11-17",
"end": "2025-11-23",
"prevStart": "2025-11-10",
"prevEnd": "2025-11-16"
},
"success": true
}Converts a date range preset into a start and end date. Helpful for clearly showing in the UI what a selected date range will map to when pulling a report
curl --request GET \
--url https://api.tagdeliver.com/v1/report/date-range \
--header 'Authorization: Bearer <token>'{
"results": {
"start": "2025-11-17",
"end": "2025-11-23",
"prevStart": "2025-11-10",
"prevEnd": "2025-11-16"
},
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Date range to get dates for
all_time, seven_days, fourteen_days, thirty_days, three_months, six_months, week_to_date, month_to_date, quarter_to_date, year_to_date, last_week, last_month, last_quarter, last_year, month_on_month, quarter_on_quarter Was this page helpful?