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>"
}
]
}
]
}
}
Search for reports using a specific identifier type and value
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>"
}
]
}
]
}
}
Search criteria
The body is of type object
.
Reports fetched successfully
The response is of type object
.