curl --request GET \
--url https://api.venezuelateayuda.com/v1/persons \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venezuelateayuda.com/v1/persons"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venezuelateayuda.com/v1/persons', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/persons"
req, _ := http.NewRequest("GET", 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.get("https://api.venezuelateayuda.com/v1/persons")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/persons")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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>"
}
],
"pagination": {
"next_cursor": "<string>",
"previous_cursor": "<string>",
"limit": 50
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"errors": {
"first_name": [
"First name is required."
]
}
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}List persons
Requires persons:read. Lists public persons across sources; individual person endpoints require source ownership. Sensitive response fields require persons:sensitive:read. A cursor request may include only cursor and limit.
curl --request GET \
--url https://api.venezuelateayuda.com/v1/persons \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venezuelateayuda.com/v1/persons"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venezuelateayuda.com/v1/persons', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/persons"
req, _ := http.NewRequest("GET", 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.get("https://api.venezuelateayuda.com/v1/persons")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venezuelateayuda.com/v1/persons")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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>"
}
],
"pagination": {
"next_cursor": "<string>",
"previous_cursor": "<string>",
"limit": 50
}
}{
"error": "Person not found."
}{
"error": "Person not found."
}{
"errors": {
"first_name": [
"First name is required."
]
}
}{
"error": "Person not found."
}{
"error": "Backend is temporarily unavailable. Try again shortly."
}Authorizations
Send the API key as Authorization: Bearer <api_key>.
Query Parameters
Page size. Defaults to 50 and is capped at 100.
1 <= x <= 100Opaque pagination cursor returned by the previous response.
Sort order for list endpoints.
created_at desc, created_at asc, updated_at desc, updated_at asc Filter by public person status; omit or use all for both statuses. not_missing is not an accepted list filter and returns 422.
all, missing, found Search text. Values shorter than 3 characters are ignored.
Comma-separated gender values. Allowed values are female, male, and other.
"female"
"female,male"
Comma-separated hospital handles.
"miguel_perez_carreno"
"miguel_perez_carreno,domingo_luciani"
Comma-separated hospital status values. Allowed values are admitted, discharged, and deceased.
"admitted"
"admitted,discharged"
Comma-separated shelter handles.
"campo_de_golf_caribe"
"campo_de_golf_caribe,centro_acopio_caraballeda"
Comma-separated source handles. Use shelter_list for people imported from refuge and collection-center lists.
"form"
"shelter_list"
"form,hospital_list,persons_list,shelter_list,venezuela_te_cuida,dra_florangel_vera,venezuela_reporta"
Minimum age, inclusive.
x >= 0Maximum age, inclusive.
x >= 0
