Skip to main content
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

identifier
enum<string>
required

Type of identifier to search

Available options:
account,
bvn,
nin,
drivers_license,
international_passport,
email,
phone,
account_name,
social_handle
value
string
required

Value of the identifier to search for

Response

Reports fetched successfully

success
boolean
required

Indicates if the search was successful

message
string
required

Response message

data
object
required