API Guide







Get Analytics Platforms

This API provides a breakdown of opens by platform.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: GET

Endpoint URL:

https://api.250ok.com/api/1.0/analytics/platforms

Sample Output:

[
    {
        "name": "Apple Mail",
        "count": 23627,
        "versions": [
            {
                "version": 10,
                "name": "Apple Mail 10",
                "count": 11187
            }...
        ]
    },
    {
        "name": "Chrome",
        "count": 21047,
        "versions": [
            {
                "version": 59,
                "name": "Chrome 59",
                "count": 19493
            }...
        ]
    }...
]        
        

Parameters

Parameter Description Acceptable Values Required
startdate Includes activity after the specified date. If unspecified, will default to 30 days prior. yyyy-mm-dd N
enddate Includes activity detected before the specified. If unspecified, will default to the current date. yyyy-mm-dd N

Error Responses

Description Code Cause
No results found. 404 We couldn't find any results matching your criteria.
Invalid start date format. 404 The start date provided was submitted in an invalid format.
Invalid end date format. 404 The end date provided was submitted in an invalid format.