All abuses in an account can be retrieved with the /abuses method.

Request url Methods Parameters GET fields[]

Properties of an abuse

An abuse contains the following information:

  • ID (int, system field)
  • timestamp (datetime, system field)
  • recognized_as (string, recognized type of message)
  • feedback_type (string, which feedback type was received)
  • arf-version (version of arf)
  • details (details of abuse)
  • emailing (int, id of the emailing)
  • destination (int, id of the destination)
  • profile (int, id of the profile)
  • subprofile (int, id of the subprofile)

GET Request

Request information about the abuses in an account.

The fields[] parameter can be included in the request URL to constrain the number of returned abuses.

Example output

Upon a successful request, you will receive a message similar to the example below.

HTTP/1.1 200 OK
Date: Mon, 10 Feb 2014 12:25:37 GMT
Server: Apache/2.2.22(Ubuntu)
X-Powered-By: PHP/5.3.10 - 1ubuntu3.9
Content-Length: 2059
Content-Type: application/json

            "timestamp":"2014-03-03 13:34:02",
            "details":"feedback-type: abuse\r\nuser-agent: USFamilyReporting\r\nversion: 0.1\r\nreceived-date: Mon, 03 Mar 2014 03:08:54 -0600 (CST)\r\nsource-ip: 145.255.128.***",

Searching for abuses with the GET request

By providing the fields[] GET parameter the results can be filtered. The field on which can be filtered is timestamp. The datetime format we use is YYYY-MM-DD HH:MM:SS and can look like 2014-08-01 10:40:31. With these GET parameters the url of a call could look like this:

/abuses?fields[]=timestamp==2014-01-01 10:40:31&access_token=...

Further reading