GET
/
analytics
/
weekly-distribution
Weekly Click Distribution Heatmap
curl --request GET \
  --url https://connextify.com/api/v1/analytics/weekly-distribution \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "day": "<string>",
      "hour": 123,
      "clicks": 123,
      "scans": 123
    }
  ]
}
Identify engagement patterns across the 168 hours of the week. This endpoint returns click and scan density for each hour of each day of the week, allowing you to build weekly activity heatmaps.

Query Parameters

shortUrlId
string
Optional. Short code or custom alias (e.g. abc123 or promo). If omitted, returns aggregated account-wide stats.
dateRange
string
default:"last_30_days"
Predefined date range: last_hour, last_24_hours, last_7_days, last_30_days, last_year, all_time, custom.
days
integer
Optional. Number of days to look back (e.g., 30).
urlType
string
default:"all"
Filter by URL type: all, standard, branded, subdomain.

Response

success
boolean
Whether the request was successful.
data
array

Request Example

curl -X GET "https://connextify.com/api/v1/analytics/weekly-distribution?dateRange=last_30_days" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

{
  "success": true,
  "data": [
    { "day": "Monday", "hour": 9, "clicks": 25, "scans": 2 },
    { "day": "Monday", "hour": 10, "clicks": 42, "scans": 5 },
    { "day": "Friday", "hour": 18, "clicks": 110, "scans": 14 }
  ]
}