List short link metrics
Changed onReturns per-click metrics for short links, including device, location, and campaign attribution, within the requested date range.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/short-links/metrics
- AuthHTTP bearer
Query parameters
Start of the date range to query, in YYYY-MM-DD format. Inclusive.
End of the date range to query, in YYYY-MM-DD format. Inclusive.
Filters metrics by the phone number associated with the click, in E.164 format.
Filters metrics by utm_campaign name.
Page number to retrieve. Default 1.
Number of records to return per page. Default 25.
Response
Returns a paginated list of short link metrics.
Example response
{
"metrics": [
{
"latitude": 59.3247,
"longitude": 18.056,
"operating_system": "Mac OS X 10.15",
"browser": "Firefox",
"language": "English",
"phone": "12762025555",
"utm_campaign": "summer",
"created_at": "2023-07-19 18:23:42",
"link_hash": "hd82Jhs21",
"user_id": 100017
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed from the response body
allOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
the endpoint scheme security
bearerAuthwas added to the API
- info