curl --request GET \
--url https://api.getoneprofile.ai/accounts/{account_key}/people/length/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/accounts/{account_key}/people/length/"
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.getoneprofile.ai/accounts/{account_key}/people/length/', 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.getoneprofile.ai/accounts/{account_key}/people/length/",
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.getoneprofile.ai/accounts/{account_key}/people/length/"
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.getoneprofile.ai/accounts/{account_key}/people/length/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/accounts/{account_key}/people/length/")
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{
"count": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Count an account's people
How many people at an account GET /accounts/{account_key}/people/ keeps for the same search and filters: the total its pages add up to.
curl --request GET \
--url https://api.getoneprofile.ai/accounts/{account_key}/people/length/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/accounts/{account_key}/people/length/"
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.getoneprofile.ai/accounts/{account_key}/people/length/', 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.getoneprofile.ai/accounts/{account_key}/people/length/",
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.getoneprofile.ai/accounts/{account_key}/people/length/"
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.getoneprofile.ai/accounts/{account_key}/people/length/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/accounts/{account_key}/people/length/")
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{
"count": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Path Parameters
The account's key: its domain (acme.com), or its LinkedIn page (li-co:acme).
1 - 320^(?:[^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+)$Query Parameters
Text found in the person's name, title or address.
255Only people whose title's seniority is one of these, or none for no title; repeat for several.
8How senior a person's title says they are (review AC-12). None: no title.
Read off the title's words by a fixed rule (org_chart.title_seniority):
a title with no rank word in it is OTHER, never guessed at.
executive, vp, head, director, manager, senior, other Only people whose title names one of these departments, or none for a title naming none; repeat for several.
14The part of a company a person's title names (review AC-12). None: it names none.
Read off the title's words by a fixed rule (org_chart.title_department).
sales, marketing, customer_success, product, design, engineering, data, it, security, finance, people, operations, legal Only people with one of these titles, whole and in any case (none for no title), as GET .../people/facets/ names them; repeat for several.
100255Only people a rep gave one of these roles on the org chart, or none for no role; repeat for several.
7The part a rep says a person plays in a deal. None: not known.
champion, budget_holder, decision_maker, influencer, user, blocker Only people whose address is one of these (a Verify email column's verdict, or bounced), or none for an address nothing checked; repeat for several.
8What is known of a person's address (review AC-12). None: nothing checked it.
The verdict of the Verify email column over the address on their row, the words that column writes; BOUNCED when an email to them bounced, whatever a check said.
valid, catch_all, risky, unknown, invalid, disposable, bounced Only people another person at the account goes by the same name as: likely_same when nothing tells them apart (likely one person found twice), same_name when each has a LinkedIn profile of their own or the name is short of a full one. A person with both kinds among their namesakes is kept by either; repeat for both.
2What another person at the account going by the same name is to someone (review AC-19).
Names match as their words, case, accents and punctuation gone. LIKELY_SAME: a full name (two words or more, none a lone letter) and nothing tells them apart (at most one of them has a LinkedIn profile), so they are likely one person found twice, as a merge leaves them. SAME_NAME: each has a LinkedIn profile of their own, so they are two people, or the name is short of a full one, which says too little. A placeholder ("LinkedIn Member") is no name, and names no namesakes.
likely_same, same_name Only people with a row on one of these tables, by id (a table card's View all); repeat for several.
100Response
Successful Response
How many people at an account the People tab's search and filters keep.
Was this page helpful?