Gets the recent affiliate web traffic.
GET
/affiliate/web_traffic
curl \
--request GET 'https://my.interserver.net/apiv2/affiliate/web_traffic' \
--header "X-API-KEY: $API_KEY"
Response examples (200)
[
{
"traffic_id": "91839913",
"traffic_ip": "2a06:98c0:3600::",
"traffic_url": "https://www.interserver.net/webhosting/?id=8",
"traffic_referrer": "",
"traffic_affiliate": "8",
"traffic_timestamp": "2023-09-30 06:30:27"
},
{
"traffic_id": "91831932",
"traffic_ip": "2a06:98c0:3600::",
"traffic_url": "https://www.interserver.net/webhosting/?id=8",
"traffic_referrer": "",
"traffic_affiliate": "8",
"traffic_timestamp": "2023-09-30 03:15:13"
}
]
Response examples (401)
{
"code": "string",
"message": "string"
}