Websites

Get the website's available date range

GET/api/websites/{websiteId}/daterange

Returns the earliest and latest recorded event dates for the website.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Path parameters

NameTypeDescription
websiteIdrequiredstringID of the website.

Responses

200The operation completed successfully.
NameTypeDescription
endDaterequiredstringEnd of the date range as an ISO 8601 date or date-time.
startDaterequiredstringStart of the date range as an ISO 8601 date or date-time.
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL