ViewsExport View Data as CSV

Export View Data as CSV

Export all data from a specific view as a CSV file

curl -X GET "https://api.nexus.usehardal.com/analytics/views/John Doe/data/csv?timeframe=today&startDate=example_string&endDate=example_string&timezone=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
{}
GET
/analytics/views/{name}/data/csv
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

query
timeframestring

Preset timeframe. Use custom with startDate and endDate, or omit when startDate/endDate are provided.

Options: today, yesterday, last7days, last30days, custom
query
startDatestring

Start date (YYYY-MM-DD)

query
endDatestring

End date (YYYY-MM-DD)

query
timezonestring

Timezone for date filtering (default: Europe/Istanbul)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Query Parameters

timeframestring

Preset timeframe. Use custom with startDate and endDate, or omit when startDate/endDate are provided.

Allowed values:todayyesterdaylast7dayslast30dayscustom
startDatestring

Start date (YYYY-MM-DD)

endDatestring

End date (YYYY-MM-DD)

timezonestring

Timezone for date filtering (default: Europe/Istanbul)

Responses

200 response