Abuse Report Details
client.abuseReports.get(stringreportParam, AbuseReportGetParams { account_id } params, RequestOptionsoptions?): AbuseReportGetResponse { id, cdate, domain, 7 more }
GET/accounts/{account_id}/abuse-reports/{report_param}
Retrieve the details of an abuse report.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Abuse Report Details
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const abuseReport = await client.abuseReports.get('report_param', {
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
});
console.log(abuseReport.id);{
"result": {
"id": "id",
"cdate": "2009-11-10T23:00:00Z",
"domain": "domain",
"mitigation_summary": {
"accepted_url_count": 0,
"active_count": 0,
"external_host_notified": true,
"in_review_count": 0,
"pending_count": 0
},
"status": "accepted",
"type": "PHISH",
"justification": "justification",
"original_work": "original_work",
"submitter": {
"company": "company",
"email": "email",
"name": "name",
"telephone": "telephone"
},
"urls": [
"string"
]
},
"success": true,
"errors": [
{
"message": "message",
"code": "string"
}
],
"messages": [
{
"message": "message"
}
]
}Returns Examples
{
"result": {
"id": "id",
"cdate": "2009-11-10T23:00:00Z",
"domain": "domain",
"mitigation_summary": {
"accepted_url_count": 0,
"active_count": 0,
"external_host_notified": true,
"in_review_count": 0,
"pending_count": 0
},
"status": "accepted",
"type": "PHISH",
"justification": "justification",
"original_work": "original_work",
"submitter": {
"company": "company",
"email": "email",
"name": "name",
"telephone": "telephone"
},
"urls": [
"string"
]
},
"success": true,
"errors": [
{
"message": "message",
"code": "string"
}
],
"messages": [
{
"message": "message"
}
]
}