Dismiss a duplicate review
curl --request POST \
--url https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss', 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.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"confidence": "high",
"reason": "<string>",
"status": "pending",
"canonical_person_id": "<string>",
"persons": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"is_minor": true,
"document_type": "cedula",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 1,
"age_label": "<string>",
"gender": {
"handle": "female",
"label": "<string>"
},
"location": "<string>",
"description": "<string>",
"status": {
"handle": "missing",
"label": "<string>"
},
"photo_url": "<string>",
"found_notes": "<string>",
"found_at": "2023-11-07T05:31:56Z",
"finder_name": "<string>",
"finder_phone": "<string>",
"hospital": {
"handle": "miguel_perez_carreno",
"label": "<string>"
},
"hospital_status": {
"handle": "admitted",
"label": "<string>"
},
"verified_at": "2023-11-07T05:31:56Z",
"verified_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sources": [
{
"id": "<string>",
"handle": "form",
"label": "<string>",
"url": "<string>",
"source_id": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"tips": [
{
"id": "<string>",
"person_id": "<string>",
"sender_name": "<string>",
"sender_phone": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"contact_person_first_name": "<string>",
"contact_person_last_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "<string>",
"contact_person_relationship": "<string>"
}
],
"match_score": 123,
"scan_version": 123,
"audited_by": "<string>",
"audited_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}Duplicates
Dismiss a duplicate review
Requires duplicates:write. Only pending reviews can be dismissed; closed reviews return 404. Reviews containing a minor or health-sensitive person also require persons:sensitive:read, checked before private-candidate visibility; private candidates otherwise return 404. No body is required. Persons are unchanged.
POST
/
duplicates
/
{duplicate_id}
/
dismiss
Dismiss a duplicate review
curl --request POST \
--url https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss', 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.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/duplicates/{duplicate_id}/dismiss")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"confidence": "high",
"reason": "<string>",
"status": "pending",
"canonical_person_id": "<string>",
"persons": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"is_minor": true,
"document_type": "cedula",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 1,
"age_label": "<string>",
"gender": {
"handle": "female",
"label": "<string>"
},
"location": "<string>",
"description": "<string>",
"status": {
"handle": "missing",
"label": "<string>"
},
"photo_url": "<string>",
"found_notes": "<string>",
"found_at": "2023-11-07T05:31:56Z",
"finder_name": "<string>",
"finder_phone": "<string>",
"hospital": {
"handle": "miguel_perez_carreno",
"label": "<string>"
},
"hospital_status": {
"handle": "admitted",
"label": "<string>"
},
"verified_at": "2023-11-07T05:31:56Z",
"verified_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sources": [
{
"id": "<string>",
"handle": "form",
"label": "<string>",
"url": "<string>",
"source_id": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"tips": [
{
"id": "<string>",
"person_id": "<string>",
"sender_name": "<string>",
"sender_phone": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"contact_person_first_name": "<string>",
"contact_person_last_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "<string>",
"contact_person_relationship": "<string>"
}
],
"match_score": 123,
"scan_version": 123,
"audited_by": "<string>",
"audited_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}
