Skip to main content
Retrieve all attributed events for your app within a given time window. Supports multiple output formats for data pipeline and analytics integrations.

Authentication

Every request must include an Authorization header containing your Appstack API key. You can find your API key in the Appstack dashboard under your app settings.
API keys are scoped to a single app. The response will only include events for the app associated with the key.

Endpoint

Request

Query Parameters

timestamp
integer
required
Unix timestamp (seconds) defining the start of the export window. Returns all events from this timestamp up to the current time.Example: 1700000000
format
string
default:"json"
Output format for the response. Accepted values:
limit
integer
default:"10000"
Maximum number of events to return in a single response. Must be between 1 and 10000 (the maximum page size). Use together with offset to page through large result sets.
offset
integer
default:"0"
Number of events to skip before returning results. Page through the full window by incrementing offset in steps of limit.
Results are ordered by event_time (ascending). A response is the last page when it contains fewer than limit events — keep requesting with an increasing offset until then.

Example request

Response

For format=json, the endpoint returns a JSON object. For all other formats, the response is streamed as a file download with the appropriate Content-Disposition header.

JSON response

Response fields

data
array
Array of attributed events.
total_count
integer
Number of events returned in this response (i.e. in the current page).

Errors

Error response shape