curl --request PUT \
--url https://api.venezuelateayuda.com/v1/persons/source/{source_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"contact_person_first_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "jsmith@example.com",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 60,
"location": "<string>",
"description": "<string>",
"source_id": "<string>",
"source_notes": "<string>",
"contact_person_last_name": "<string>",
"is_guardian_verified": true
}
'import requests
url = "https://api.venezuelateayuda.com/v1/persons/source/{source_id}"
payload = {
"first_name": "<string>",
"last_name": "<string>",
"contact_person_first_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "jsmith@example.com",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 60,
"location": "<string>",
"description": "<string>",
"source_id": "<string>",
"source_notes": "<string>",
"contact_person_last_name": "<string>",
"is_guardian_verified": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
first_name: '<string>',
last_name: '<string>',
contact_person_first_name: '<string>',
contact_person_phone: '<string>',
contact_person_email: 'jsmith@example.com',
document_id: '<string>',
birth_date: '2023-12-25',
age: 60,
location: '<string>',
description: '<string>',
source_id: '<string>',
source_notes: '<string>',
contact_person_last_name: '<string>',
is_guardian_verified: true
})
};
fetch('https://api.venezuelateayuda.com/v1/persons/source/{source_id}', 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/persons/source/{source_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'first_name' => '<string>',
'last_name' => '<string>',
'contact_person_first_name' => '<string>',
'contact_person_phone' => '<string>',
'contact_person_email' => 'jsmith@example.com',
'document_id' => '<string>',
'birth_date' => '2023-12-25',
'age' => 60,
'location' => '<string>',
'description' => '<string>',
'source_id' => '<string>',
'source_notes' => '<string>',
'contact_person_last_name' => '<string>',
'is_guardian_verified' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.venezuelateayuda.com/v1/persons/source/{source_id}"
payload := strings.NewReader("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.venezuelateayuda.com/v1/persons/source/{source_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/persons/source/{source_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"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>"
}
}{
"data": {
"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>"
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"errors": {
"first_name": [
"First name is required."
]
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}Create or update by external source identifier
Requires persons:write. Uses the complete creation schema on both branches, validating it before looking up the source record. A match updates an existing public person; a private match returns 404. Existing sensitive records do not require persons:sensitive:read for this endpoint, but that permission still controls response detail. body.source_id does not select the record; source_notes is stored only when creating. Unlike PATCH, this schema does not accept status, hospital, found fields, or is_public.
curl --request PUT \
--url https://api.venezuelateayuda.com/v1/persons/source/{source_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"contact_person_first_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "jsmith@example.com",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 60,
"location": "<string>",
"description": "<string>",
"source_id": "<string>",
"source_notes": "<string>",
"contact_person_last_name": "<string>",
"is_guardian_verified": true
}
'import requests
url = "https://api.venezuelateayuda.com/v1/persons/source/{source_id}"
payload = {
"first_name": "<string>",
"last_name": "<string>",
"contact_person_first_name": "<string>",
"contact_person_phone": "<string>",
"contact_person_email": "jsmith@example.com",
"document_id": "<string>",
"birth_date": "2023-12-25",
"age": 60,
"location": "<string>",
"description": "<string>",
"source_id": "<string>",
"source_notes": "<string>",
"contact_person_last_name": "<string>",
"is_guardian_verified": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
first_name: '<string>',
last_name: '<string>',
contact_person_first_name: '<string>',
contact_person_phone: '<string>',
contact_person_email: 'jsmith@example.com',
document_id: '<string>',
birth_date: '2023-12-25',
age: 60,
location: '<string>',
description: '<string>',
source_id: '<string>',
source_notes: '<string>',
contact_person_last_name: '<string>',
is_guardian_verified: true
})
};
fetch('https://api.venezuelateayuda.com/v1/persons/source/{source_id}', 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/persons/source/{source_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'first_name' => '<string>',
'last_name' => '<string>',
'contact_person_first_name' => '<string>',
'contact_person_phone' => '<string>',
'contact_person_email' => 'jsmith@example.com',
'document_id' => '<string>',
'birth_date' => '2023-12-25',
'age' => 60,
'location' => '<string>',
'description' => '<string>',
'source_id' => '<string>',
'source_notes' => '<string>',
'contact_person_last_name' => '<string>',
'is_guardian_verified' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.venezuelateayuda.com/v1/persons/source/{source_id}"
payload := strings.NewReader("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.venezuelateayuda.com/v1/persons/source/{source_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/persons/source/{source_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"contact_person_first_name\": \"<string>\",\n \"contact_person_phone\": \"<string>\",\n \"contact_person_email\": \"jsmith@example.com\",\n \"document_id\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"age\": 60,\n \"location\": \"<string>\",\n \"description\": \"<string>\",\n \"source_id\": \"<string>\",\n \"source_notes\": \"<string>\",\n \"contact_person_last_name\": \"<string>\",\n \"is_guardian_verified\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"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>"
}
}{
"data": {
"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>"
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"errors": {
"first_name": [
"First name is required."
]
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}Authorizations
Send the API key as Authorization: Bearer <api_key>.
Path Parameters
External identifier within the API key’s source; takes precedence over a body source_id.
1Body
Requires person name and canonical contact name, phone and email. For age below 18, contact_person_relationship and is_guardian_verified:true are required. The API key supplies source. Unknown fields are rejected.
Trimmed and normalized person first name.
2Trimmed and normalized person last name.
22One valid phone number; accepted national or international input is stored as E.164.
1cedula, passport, birth_certificate, other Document identifier; blank text is normalized to null.
YYYY-MM-DD; surrounding whitespace is trimmed and blank text is normalized to null.
0 <= x <= 120female, male, other 11campo_de_golf_caribe, centro_acopio_caraballeda, polideportivo_la_guaira present, departed 111mother, father, sibling, grandparent, aunt_uncle, cousin, friend, legal_guardian Must be true when age is supplied and below 18.
Response
Existing public person updated.
Minimized default person response. Child records and public contact fields are protected by default; sensitive access requires a separately approved persons:sensitive:read permission. With that permission, person responses may include the full national ID, precise details, reporter contact fields, finder phone, hospital data, sources, and community-information sender phones.
Show child attributes
Show child attributes

