POST
/
reports
/
search
Search for reports by identifier
curl --request POST \
  --url https://api.reporta.ng/api/v1/external/reports/search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "identifier": "account",
  "value": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "reports": [
      {
        "id": "<string>",
        "companyId": "<string>",
        "userId": "<string>",
        "listingStatus": "<string>",
        "exitedListAt": "<string>",
        "exitListReason": "<string>",
        "fraudType": "<string>",
        "fraudReason": "<string>",
        "showUploaderInfo": true,
        "attachments": [
          "<string>"
        ],
        "status": "published",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "identifiers": [
          {
            "id": "<string>",
            "label": "<string>",
            "value": "<string>"
          }
        ],
        "reportingCompany": {
          "businessName": "<string>",
          "id": "<string>"
        }
      }
    ],
    "publicReports": [
      {
        "id": "<string>",
        "userId": "<string>",
        "fraudReason": "<string>",
        "fraudType": "<string>",
        "attachments": [
          "<string>"
        ],
        "financialInstitution": "<string>",
        "eventDate": "2023-11-07T05:31:56Z",
        "companyId": "<string>",
        "notificationSent": true,
        "status": "published",
        "victim": {},
        "guestInfo": {},
        "reportingEntity": "self",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "identifiers": [
          {
            "id": "<string>",
            "label": "<string>",
            "value": "<string>"
          }
        ]
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Search criteria

The body is of type object.

Response

200
application/json

Reports fetched successfully

The response is of type object.