Skip to main content
GET
Resolve a date range preset

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Query Parameters

range
enum<string>
default:yesterday

Date range preset. custom returns start and end as sent, and becomes all_time if either is missing. An empty value is treated as yesterday. Values: custom = Custom (start and end), all_time = All time, yesterday = Yesterday, seven_days = Last 7 days, fourteen_days = Last 14 days, thirty_days = Last 30 days, three_months = Last 3 months, six_months = Last 6 months, week_to_date = Week to date, month_to_date = Month to date, quarter_to_date = Quarter to date, year_to_date = Year to date, last_week = Last week, last_month = Last month, last_quarter = Last quarter, last_year = Last year, month_on_month = Month on month (13 months), quarter_on_quarter = Quarter on quarter (2 years).

Available options:
custom,
all_time,
yesterday,
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
start
string<date>

Start date (YYYY-MM-DD) when range is custom.

end
string<date>

End date (YYYY-MM-DD) when range is custom.

Response

OK: The dates the range covers.

results
object
required
success
enum<boolean>
required

Always true on success.

Available options:
true