API Guide







Get Email Informant Campaign

This API returns a list of campaign statistics matching your Email Informant campaign ID. Data is returned in the following formats: XML, JSON, CSV and Serialized.

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

Endpoint URL:

https://api.250ok.com/api/1.0/emailinformant/campaign

Sample Output:

{
    "id": "16",
    "created": "2015-08-01 10:00:58",
    "firsttracked": "2015-08-01 10:00:37",
    "subject": "Email Subject 1",
    "listsize": "0",
    "tags": "<style>...</style>",
    "engagement": {
        "platforms": {},
        "devices": {},
        "clients": {},
        "overview": {}
    },
    "clients": {},
    "engagementdetail": {},
    "location": {},
    "timezone": {},
    "isp": []
}
        

Parameters

Parameter Description Acceptable Values Required
id Retrieve statistics by Email Informant campaign ID. Integer Y

Error Responses

Description Code Cause
No results found. 404 We couldn't find any results matching your criteria.
Email Informant ID must be specified. 404 The unique identifier of the application test is missing or invalid.
Invalid Email Informant ID. 404 The Email Informant ID must be numeric.
NULL 401 Your API key does not have sufficient permission to access this endpoint.