BotsRated

Help › How-tos

API: POST /v1/dispute and GET /v1/dispute/{id}

purpose

Seller dispute / right of reply (free). POST returns 202 with a dispute_id. GET reads status; review stays by hand. Do not submit a real dispute unless the user asked.

call

# Live validation only (no dispute created):
curl -sS -X POST 'https://botsrated.com/v1/dispute' \
  -H 'Content-Type: application/json' -d '{}'

# Example only (not executed):
# POST /v1/dispute  {"host":"seller.example","statement":"…","receipt_id":"optional","contact":"optional"}

curl -sS 'https://botsrated.com/v1/dispute/5cf9f2f9'

sample_response

source: live prod POST {} → 400 missing_fields; GET /v1/dispute/5cf9f2f9 → 200 (8-char prefix supported as of Nov 25, 2026); GET /v1/dispute/not-an-id → 400 invalid_id. fetched: live production, 25 Nov 2026 (counts redacted) trimmed: true

{
  "POST_empty": {
    "service": "BotsRated",
    "error": {
      "code": "missing_fields",
      "message": "host and statement are required.",
      "hint": "Send {\"host\":\"...\",\"statement\":\"...\",\"receipt_id\":\"optional\",\"contact\":\"optional\"}",
      "charged": false,
      "charged_note": "x402 settles only on a 2xx answer, so this response was not charged."
    }
  },
  "GET_8_char_prefix": {
    "beta": false,
    "service": "BotsRated",
    "dispute_id": "5cf9f2f9-6c82-4d84-b17b-bd3ea7b35b22",
    "host": "api.aestheticdata.io",
    "status": "reviewed_corrected",
    "received_at": "2026-11-19T10:04:33.458Z",
    "receipt_id": null,
    "opt_out": null,
    "has_contact": true,
    "statement_received": true
  },
  "GET_not_an_id": {
    "service": "BotsRated",
    "error": {
      "code": "invalid_id",
      "message": "Pass the dispute_id from the submit response.",
      "hint": "POST /v1/dispute returns dispute_id.",
      "charged": false,
      "charged_note": "This route is free. Nothing was charged."
    }
  }
}

errors

codewhenfix
missing_fields (live POST 400)host and statement required.Send {host, statement, receipt_id?, contact?}.
reserved_host (live POST 400)Reserved test host (example.com, example.net, example.org, hosts ending in .example, .test, .invalid, .localhost or .local, bare IPs, single names).Submit a real covered hostname shown on its /s/<host> page.
invalid_id (live GET 400)Malformed id (not an 8-char hex prefix or UUID). Unknown UUIDs/prefixes return 404 not_found.Pass the dispute_id from POST /v1/dispute or its first 8 hex characters.

notes