> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://customerhub.com/api/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://customerhub.com/api/_mcp/server.

# Dispute Content Report

POST https://api.customerhub.com/web_api/content_reports/{id}/dispute
Content-Type: application/json

Dispute a content report filed against the current user's own content.

**Authentication:** Required — Bearer token; the caller must be the `reportee` on the report.

**Request body:**
- `content_report.dispute_note` (optional) — The member's explanation, stored on the report

**Behavior:** Only reports that belong to the current app, name the caller as the reportee, and have not already been disputed can be disputed. Anything else is treated as not disputable.

**Response:** `data` — The updated report rendered from the `about_me` perspective, with `disputed` set to `true` and `disputed_at` stamped.

**Side effects:** Marks the report disputed and triggers a persisted `ContentReportDisputed` event carrying `report_id`, `reportable_type`, `reportable_id`, `reason`, and `dispute_note`.

**Errors:**
- `422` — `Report cannot be disputed` (unknown report, not the caller's, or already disputed)

Reference: https://customerhub.com/api/api-reference/content-reports/dispute-content-report

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `id` (string, required) — Content report ID

### Body (application/json)

This endpoint expects an object.

- `content_report` (ContentReportsIdDisputePostRequestBodyContentApplicationJsonSchemaContentReport, optional)

## Response

### 200

OK

## Types

### ContentReportsIdDisputePostRequestBodyContentApplicationJsonSchemaContentReport

- `dispute_note` (string, optional)

## Examples

**Request**

```json
{
  "content_report": {
    "dispute_note": "This was quoted out of context."
  }
}
```

**Response**

```json
{
  "data": {
    "action_taken": "content_hidden",
    "can_dispute": false,
    "created_at": "2026-09-16T15:32:13.807Z",
    "dispute_note": "This was quoted out of context.",
    "disputed": true,
    "disputed_at": "2026-09-16T15:32:16.739Z",
    "id": "a7505edd-6ed9-43ec-a1c1-1f203139586b",
    "note": null,
    "reason": "harassment",
    "reviewed_at": "2026-07-19T11:00:00.000Z",
    "status": "pending",
    "target": {
      "label": "member",
      "snippet": "John Doe",
      "type": "User"
    }
  }
}
```

**SDK Code**

```python Content Reports_disputeContentReport_example
import requests

url = "https://api.customerhub.com/web_api/content_reports/21/dispute"

payload = { "content_report": { "dispute_note": "This was quoted out of context." } }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Content Reports_disputeContentReport_example
const url = 'https://api.customerhub.com/web_api/content_reports/21/dispute';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"content_report":{"dispute_note":"This was quoted out of context."}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Content Reports_disputeContentReport_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.customerhub.com/web_api/content_reports/21/dispute"

	payload := strings.NewReader("{\n  \"content_report\": {\n    \"dispute_note\": \"This was quoted out of context.\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Content Reports_disputeContentReport_example
require 'uri'
require 'net/http'

url = URI("https://api.customerhub.com/web_api/content_reports/21/dispute")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"content_report\": {\n    \"dispute_note\": \"This was quoted out of context.\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Content Reports_disputeContentReport_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.customerhub.com/web_api/content_reports/21/dispute")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"content_report\": {\n    \"dispute_note\": \"This was quoted out of context.\"\n  }\n}")
  .asString();
```

```php Content Reports_disputeContentReport_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.customerhub.com/web_api/content_reports/21/dispute', [
  'body' => '{
  "content_report": {
    "dispute_note": "This was quoted out of context."
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Content Reports_disputeContentReport_example
using RestSharp;

var client = new RestClient("https://api.customerhub.com/web_api/content_reports/21/dispute");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"content_report\": {\n    \"dispute_note\": \"This was quoted out of context.\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Content Reports_disputeContentReport_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["content_report": ["dispute_note": "This was quoted out of context."]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.customerhub.com/web_api/content_reports/21/dispute")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```