---
title: Get an abuse report against the account
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Abuse Reports](https://developers.cloudflare.com/api/go/resources/abuse_reports)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Get an abuse report against the account

client.AbuseReports.Get(ctx, reportParam, query) (\*[AbuseReportGetResponse](<https://developers.cloudflare.com/api/go/resources/abuse_reports#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/abuse-reports/{report\_param}

Retrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.

##### Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. [Create a token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

**Example:**`Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY`

##### Accepted Permissions (at least one required)

`Trust and Safety Write``Trust and Safety Read`

##### ParametersExpand Collapse

reportParam string

[Link to this property](<#(resource)%20abuse_reports%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20report_param%20%3E%20(schema)>)

<details>

<summary>

query AbuseReportGetParams

</summary>

AccountID param.Field\[string]

Cloudflare Account ID

maxLength32

<a href="#(resource)%20abuse_reports%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports%20%3E%20(method)%20get%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type AbuseReportGetResponse struct{…}

</summary>

ID string

Public facing ID of abuse report, aka abuse\_rand.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Cdate string

Creation date of report. Time in RFC 3339 format (<a href="https://www.rfc-editor.org/rfc/rfc3339.html">https://www.rfc-editor.org/rfc/rfc3339.html</a>)

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20cdate">Link to this property</a>

Domain string

Domain that relates to the report.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20domain">Link to this property</a>

<details>

<summary>

MitigationSummary AbuseReportGetResponseMitigationSummary

A summary of the mitigations related to this report.

</summary>

AcceptedURLCount int64

How many of the reported URLs were confirmed as abusive.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary%20%3E%20(property)%20accepted_url_count">Link to this property</a>

ActiveCount int64

How many mitigations are active.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary%20%3E%20(property)%20active_count">Link to this property</a>

ExternalHostNotified bool

Whether the report has been forwarded to an external hosting provider.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary%20%3E%20(property)%20external_host_notified">Link to this property</a>

InReviewCount int64

How many mitigations are under review.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary%20%3E%20(property)%20in_review_count">Link to this property</a>

PendingCount int64

How many mitigations are pending their effective date.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary%20%3E%20(property)%20pending_count">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20mitigation_summary">Link to this property</a>

<details>

<summary>

Status AbuseReportGetResponseStatus

An enum value that represents the status of an abuse record

</summary>

One of the following:

const AbuseReportGetResponseStatusAccepted AbuseReportGetResponseStatus = "accepted"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

const AbuseReportGetResponseStatusInReview AbuseReportGetResponseStatus = "in\_review"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

Type AbuseReportGetResponseType

The abuse report type

</summary>

One of the following:

const AbuseReportGetResponseTypePhish AbuseReportGetResponseType = "PHISH"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

const AbuseReportGetResponseTypeGen AbuseReportGetResponseType = "GEN"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

const AbuseReportGetResponseTypeThreat AbuseReportGetResponseType = "THREAT"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

const AbuseReportGetResponseTypeDmca AbuseReportGetResponseType = "DMCA"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

const AbuseReportGetResponseTypeEmer AbuseReportGetResponseType = "EMER"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

const AbuseReportGetResponseTypeTm AbuseReportGetResponseType = "TM"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

const AbuseReportGetResponseTypeRegWho AbuseReportGetResponseType = "REG\_WHO"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%206">Link to this property</a>

const AbuseReportGetResponseTypeNcsei AbuseReportGetResponseType = "NCSEI"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%207">Link to this property</a>

const AbuseReportGetResponseTypeNetwork AbuseReportGetResponseType = "NETWORK"

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

Justification stringOptional

Justification for the report.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20justification">Link to this property</a>

OriginalWork stringOptional

Original work / Targeted brand in the alleged abuse.

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20original_work">Link to this property</a>

<details>

<summary>

Submitter AbuseReportGetResponseSubmitterOptional

Information about the submitter of the report.

</summary>

Company stringOptional

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20submitter%20%3E%20(property)%20company">Link to this property</a>

Email stringOptional

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20submitter%20%3E%20(property)%20email">Link to this property</a>

Name stringOptional

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20submitter%20%3E%20(property)%20name">Link to this property</a>

Telephone stringOptional

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20submitter%20%3E%20(property)%20telephone">Link to this property</a>

</details>

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20submitter">Link to this property</a>

URLs \[]stringOptional

<a href="#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)%20%3E%20(property)%20urls">Link to this property</a>

</details>

[Link to this property](<#(resource)%20abuse_reports%20%3E%20(model)%20AbuseReportGetResponse%20%3E%20(schema)>)

### Get an abuse report against the account

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/abuse_reports"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  abuseReport, err := client.AbuseReports.Get(
    context.TODO(),
    "report_param",
    abuse_reports.AbuseReportGetParams{
      AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", abuseReport.ID)
}
```

200 example

```
{
  "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

200 example

```
{
  "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"
    }
  ]
}
```