Devices

Retrieves a summary of devices.

get

Provides a high-level overview of devices for the current brand, including total devices and aggregated statistics.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Responses
200

The request was successful.

application/json
get
GET /api/v1/analytics/devices/summary HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": {
    "totalDevices": 9999,
    "newDevicesToday": 399,
    "newDevicesThisWeek": 799,
    "newDevicesThisMonth": 899,
    "mobileAppDevices": 0,
    "desktopDevices": 0,
    "androidDevices": 0,
    "iosDevices": 0,
    "windowsDevices": 0,
    "macDevices": 0
  },
  "errors": []
}

Retrieves daily device analytics.

get

Returns the number of active devices within the specified date range. If no dates are provided, defaults to the current period.

Query parameters
startDatestringOptional

The start date (yyyy-MM-dd). Optional.

endDatestringOptional

The end date (yyyy-MM-dd). Optional.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Responses
200

The request was successful.

application/json
get
GET /api/v1/analytics/devices/daily HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": {
    "date": "2025-09-09",
    "newDevices": 100,
    "totalDevices": 9999
  },
  "errors": []
}

Last updated

Was this helpful?