curl --request GET \
--url https://data.leadinfo.com/v1/profiles/{kind}/suggestions \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.leadinfo.com/v1/profiles/{kind}/suggestions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.leadinfo.com/v1/profiles/{kind}/suggestions', 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://data.leadinfo.com/v1/profiles/{kind}/suggestions",
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://data.leadinfo.com/v1/profiles/{kind}/suggestions"
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://data.leadinfo.com/v1/profiles/{kind}/suggestions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.leadinfo.com/v1/profiles/{kind}/suggestions")
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{
"kind": "icp",
"basis": "customers",
"sample_size": 123,
"sample": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"evidence": [
{
"field": "<string>",
"value": "<string>",
"share": 123,
"name": "<string>",
"companies": 0,
"people": 123,
"customers": 123,
"lift": 123,
"views": 123,
"pages": 123,
"examples": [
"<string>"
]
}
],
"notes": [
"<string>"
],
"personas": [
{
"name": "<string>",
"job_title": {},
"people": 123,
"companies": 123,
"share": 123,
"country": {},
"customers": 123,
"as_rules": [
{
"field": "job_title",
"operator": "in_array",
"value": [
"<string>"
],
"label": "<string>"
}
]
}
]
}Draft an ICP Builder, Intent Builder or Persona Builder profile from the account's data
A first draft to review and save with POST /profiles/. kind=icp: sector (SIC major groups on branch_international), size and country rules from the companies tagged customer on the tracker (basis=customers), from the CRM-linked companies (basis=crm), or, for accounts without either, from what similar Leadinfo customers hold in their CRMs (basis=cohort: same SIC code prefix, every customer weighted equally, values under five customers hidden). basis=auto tries them in that order. kind=intent: url rules from the pages identified companies viewed in the last 180 days, grouped by page family (pricing, demo, contact, comparison, integrations, product, cases). kind=persona: one Persona Builder draft per role family (marketing, sales, customer success, IT, HR, finance, owners and executives) from the identified visitors with a job title at customer-tagged, CRM-linked or all companies (basis=customers|crm|visitors, 365 days), or from the personas of similar customers (basis=cohort). Persona drafts are returned in personas, each with as_rules ready for POST /profiles/persona. Evidence carries the shares and lifts behind every rule.
curl --request GET \
--url https://data.leadinfo.com/v1/profiles/{kind}/suggestions \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.leadinfo.com/v1/profiles/{kind}/suggestions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.leadinfo.com/v1/profiles/{kind}/suggestions', 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://data.leadinfo.com/v1/profiles/{kind}/suggestions",
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://data.leadinfo.com/v1/profiles/{kind}/suggestions"
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://data.leadinfo.com/v1/profiles/{kind}/suggestions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.leadinfo.com/v1/profiles/{kind}/suggestions")
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{
"kind": "icp",
"basis": "customers",
"sample_size": 123,
"sample": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"evidence": [
{
"field": "<string>",
"value": "<string>",
"share": 123,
"name": "<string>",
"companies": 0,
"people": 123,
"customers": 123,
"lift": 123,
"views": 123,
"pages": 123,
"examples": [
"<string>"
]
}
],
"notes": [
"<string>"
],
"personas": [
{
"name": "<string>",
"job_title": {},
"people": 123,
"companies": 123,
"share": 123,
"country": {},
"customers": 123,
"as_rules": [
{
"field": "job_title",
"operator": "in_array",
"value": [
"<string>"
],
"label": "<string>"
}
]
}
]
}Authorizations
Query Parameters
Response
Successful Response
