/shortlink/{id}/events

Get shortlink events

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Shortlink id for which the events need to be obtained

Query Params
string
required

Start date for the events (i.e. 2018-01-01)

string
required

End date for the events (i.e. 2018-01-15)

integer

The number of documents that should be included in the results.

integer

The number of documents that should be skip in the query. If not set, results will start from the beginning (based on start_date)

string

If provided, the results are filterd for the specific trigger type (e.g. audio, geofence, media, etc.)

string
enum

Specifies the field for the aggregation. If not specified, results are returned as raw data.

Allowed:
string
enum

Specifies the desired interval for the aggregation. Defaults to '1d' (1 day)

string

Specifies the country code (i.e. 'US' instead of 'United States') to filter the aggregations by. Required when 'aggregated_by' is set to 'state'

string

Specifies the name of the country state (use abbreviated form when country_code = 'US') to filter the aggregations by. Required when 'aggregated_by' is set to 'city'

boolean

Specifies if subaggregations must be included in the response. This is only available when aggregating by 'state'

Responses
200

Response contains events data for a given campaign

204

No content

400

When requesting raw events the results cannot exceed 1000

401

Unauthorized

403

Forbidden

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!