Entity Management
Get Entity using ID
Fetches the full profile of a single entity (individual or business) by its unique entity ID.
GET
/
v2
/
api
/
entities
/
{entityId}
Get Entity using ID
curl --request GET \
--url https://api.youverify.co/v2/api/entities/{entityId} \
--header 'token: <api-key>'import requests
url = "https://api.youverify.co/v2/api/entities/{entityId}"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.youverify.co/v2/api/entities/{entityId}', 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.youverify.co/v2/api/entities/{entityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$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.youverify.co/v2/api/entities/{entityId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
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.youverify.co/v2/api/entities/{entityId}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.youverify.co/v2/api/entities/{entityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"status_code": 200,
"message": "Entity fetched successfully!",
"data": {
"_id": "685c73c8519d82bd21a42fae",
"businessId": "61d880f1e8e15aaf24558f1a",
"firstName": "Jack",
"lastName": "Frost",
"entityType": "individual",
"dateOfBirth": "1999-10-02",
"phone": "07030000001",
"taxId": null,
"gender": "male",
"status": "not_approved",
"profileStatus": "pending",
"createdBy": "61f162ec1fd251c3a63f31c2",
"isOnboarded": true,
"potentialEntityMatch": null,
"createdAt": "2025-06-25T22:10:16.862Z",
"lastModifiedAt": "2025-06-25T22:10:16.862Z",
"_createdAt": "2025-06-25T23:10:1616+01:00",
"_lastModifiedAt": "2025-06-25T23:10:1616+01:00",
"object": "entity",
"id": "ent_685c73c8519d82bd21a42fae"
},
"links": []
}{
"success": false,
"statusCode": 401,
"message": "Permission denied",
"name": "UnauthorizedError",
"data": {}
}{
"success": false,
"statusCode": 404,
"message": "Not found",
"name": "ResourceNotFoundError",
"data": {}
}{
"success": false,
"statusCode": 429,
"message": "Too many requests",
"name": "RateLimitError",
"data": {}
}{
"success": false,
"statusCode": 500,
"message": "Internal Server Error",
"name": "Error",
"data": {}
}⌘I
Get Entity using ID
curl --request GET \
--url https://api.youverify.co/v2/api/entities/{entityId} \
--header 'token: <api-key>'import requests
url = "https://api.youverify.co/v2/api/entities/{entityId}"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.youverify.co/v2/api/entities/{entityId}', 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.youverify.co/v2/api/entities/{entityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$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.youverify.co/v2/api/entities/{entityId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
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.youverify.co/v2/api/entities/{entityId}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.youverify.co/v2/api/entities/{entityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"status_code": 200,
"message": "Entity fetched successfully!",
"data": {
"_id": "685c73c8519d82bd21a42fae",
"businessId": "61d880f1e8e15aaf24558f1a",
"firstName": "Jack",
"lastName": "Frost",
"entityType": "individual",
"dateOfBirth": "1999-10-02",
"phone": "07030000001",
"taxId": null,
"gender": "male",
"status": "not_approved",
"profileStatus": "pending",
"createdBy": "61f162ec1fd251c3a63f31c2",
"isOnboarded": true,
"potentialEntityMatch": null,
"createdAt": "2025-06-25T22:10:16.862Z",
"lastModifiedAt": "2025-06-25T22:10:16.862Z",
"_createdAt": "2025-06-25T23:10:1616+01:00",
"_lastModifiedAt": "2025-06-25T23:10:1616+01:00",
"object": "entity",
"id": "ent_685c73c8519d82bd21a42fae"
},
"links": []
}{
"success": false,
"statusCode": 401,
"message": "Permission denied",
"name": "UnauthorizedError",
"data": {}
}{
"success": false,
"statusCode": 404,
"message": "Not found",
"name": "ResourceNotFoundError",
"data": {}
}{
"success": false,
"statusCode": 429,
"message": "Too many requests",
"name": "RateLimitError",
"data": {}
}{
"success": false,
"statusCode": 500,
"message": "Internal Server Error",
"name": "Error",
"data": {}
}