Clear Forensics Verdict
curl --request POST \
--url https://api.valuechecker.net/forensics/{client_reference_id}/clear \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"appraisal_id": 97771,
"file_name": "receipt_front.jpg"
}
'import requests
url = "https://api.valuechecker.net/forensics/{client_reference_id}/clear"
payload = {
"appraisal_id": 97771,
"file_name": "receipt_front.jpg"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({appraisal_id: 97771, file_name: 'receipt_front.jpg'})
};
fetch('https://api.valuechecker.net/forensics/{client_reference_id}/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.valuechecker.net/forensics/{client_reference_id}/clear",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'appraisal_id' => 97771,
'file_name' => 'receipt_front.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.valuechecker.net/forensics/{client_reference_id}/clear"
payload := strings.NewReader("{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.valuechecker.net/forensics/{client_reference_id}/clear")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valuechecker.net/forensics/{client_reference_id}/clear")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"cleared": true
}{
"title": "Invalid mark-clean payload.",
"description": "file_name: Field required"
}{
"error": "Invalid Authorization header",
"event_code": "ERIT00",
"event_dict": {
"event_severity": "ERROR",
"title": "Invalid Authorization header",
"description": "Please provide the right authorization token"
}
}{
"error": "Forbidden",
"event_code": "ERIT02",
"event_dict": {
"event_severity": "ERROR",
"title": "Forbidden",
"description": "Access denied"
}
}{
"error": "Not Found",
"description": "No completed forensics verdict found for attachment 'receipt_front.jpg'."
}Endpoint Examples
Clear Forensics Verdict
Manually mark an attachment’s forensics verdict as clean, for when a claim handler has reviewed a flagged image and accepted it. Clears both verdicts and the image’s flagged state. Because verdicts are stored per claimed item, this clears the attachment for every appraisal created from that item.
POST
/
forensics
/
{client_reference_id}
/
clear
Clear Forensics Verdict
curl --request POST \
--url https://api.valuechecker.net/forensics/{client_reference_id}/clear \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"appraisal_id": 97771,
"file_name": "receipt_front.jpg"
}
'import requests
url = "https://api.valuechecker.net/forensics/{client_reference_id}/clear"
payload = {
"appraisal_id": 97771,
"file_name": "receipt_front.jpg"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({appraisal_id: 97771, file_name: 'receipt_front.jpg'})
};
fetch('https://api.valuechecker.net/forensics/{client_reference_id}/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.valuechecker.net/forensics/{client_reference_id}/clear",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'appraisal_id' => 97771,
'file_name' => 'receipt_front.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.valuechecker.net/forensics/{client_reference_id}/clear"
payload := strings.NewReader("{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.valuechecker.net/forensics/{client_reference_id}/clear")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valuechecker.net/forensics/{client_reference_id}/clear")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"appraisal_id\": 97771,\n \"file_name\": \"receipt_front.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"cleared": true
}{
"title": "Invalid mark-clean payload.",
"description": "file_name: Field required"
}{
"error": "Invalid Authorization header",
"event_code": "ERIT00",
"event_dict": {
"event_severity": "ERROR",
"title": "Invalid Authorization header",
"description": "Please provide the right authorization token"
}
}{
"error": "Forbidden",
"event_code": "ERIT02",
"event_dict": {
"event_severity": "ERROR",
"title": "Forbidden",
"description": "Access denied"
}
}{
"error": "Not Found",
"description": "No completed forensics verdict found for attachment 'receipt_front.jpg'."
}Authorizations
Note! Prefix your with apiKey. Note the space after "apiKey ".
Path Parameters
The client reference identifier.
Query Parameters
The client ID for the request. It's required if you have access to multiple clients with your API key. Otherwise, it's optional.
Optional session identifier of the user.
Body
application/json
Response
OK - The verdict was cleared.
⌘I