curl --request GET \
--url https://api.baselayer.com/identities \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.baselayer.com/identities"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.baselayer.com/identities', 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.baselayer.com/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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.baselayer.com/identities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.baselayer.com/identities")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.baselayer.com/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"type": "Business",
"ref": "<string>",
"display_name": "<string>",
"added_at": "2023-11-07T05:31:56Z",
"last_verified_at": "2023-11-07T05:31:56Z",
"person": {
"principal_ref": "<string>",
"display_name": "<string>",
"verification_state": "CURRENT",
"linked_business_count": 123,
"credentials_minted_30d": 123,
"verified_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"verification_level": 123,
"active_keys": [
"<string>"
]
},
"business": {
"business_ref": "<string>",
"legal_name": "<string>",
"kyb_outcome": "VERIFIED",
"verified_people_count": 123,
"under_review_people_count": 123,
"rejected_people_count": 123,
"linked_people_count": 123,
"last_verified_at": "2023-11-07T05:31:56Z"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}List everyone and everything your organization verified
The combined directory: your organization’s people and businesses in one list, most recently added first. Each row carries the pairwise reference, a display name and the shared timestamps at the top level, and nests the same row the typed list would have returned under person or business according to type. Search accepts either reference prefix and matches names across both populations; use type to restrict, or the typed routes /identities/principals and /identities/businesses for the filters specific to each.
curl --request GET \
--url https://api.baselayer.com/identities \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.baselayer.com/identities"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.baselayer.com/identities', 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.baselayer.com/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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.baselayer.com/identities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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.baselayer.com/identities")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.baselayer.com/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"type": "Business",
"ref": "<string>",
"display_name": "<string>",
"added_at": "2023-11-07T05:31:56Z",
"last_verified_at": "2023-11-07T05:31:56Z",
"person": {
"principal_ref": "<string>",
"display_name": "<string>",
"verification_state": "CURRENT",
"linked_business_count": 123,
"credentials_minted_30d": 123,
"verified_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"verification_level": 123,
"active_keys": [
"<string>"
]
},
"business": {
"business_ref": "<string>",
"legal_name": "<string>",
"kyb_outcome": "VERIFIED",
"verified_people_count": 123,
"under_review_people_count": 123,
"rejected_people_count": 123,
"linked_people_count": 123,
"last_verified_at": "2023-11-07T05:31:56Z"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Query Parameters
Maximum number of records to return in a single page. Must be between 1 and 1000.
1 <= x <= 1000Number of records to skip from the beginning. Use 0 for the first page. Cannot be used with cursor.
x >= 0Opaque pagination cursor token that identifies the position in the result set. Use the cursor from the previous response to get the next page. Cannot be used with offset.
Only rows of this type; omit for both populations.
Business, Person A prn_ or bus_ reference, or free text matched against people's names, emails and phones and businesses' registered names; nine digits also match as an exact EIN.
200Response
Paginated directory entries, most recently added first, scoped to the calling organization.
Which population this row belongs to.
Business, Person This organization's pairwise reference — prn_ for a person, bus_ for a business.
The person's verified name, or the legal name.
When your organization first held this pairwise reference — the instant both populations share, and the order this listing is returned in.
The person's latest verification, or the business's latest covering evaluation by your organization.
The person's row, when type is Person.
Show child attributes
Show child attributes
The business's row, when type is Business.
Show child attributes
Show child attributes