How the unified company score is computed for this account
curl --request GET \
--url https://data.leadinfo.com/v1/scoring-model \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.leadinfo.com/v1/scoring-model"
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/scoring-model', 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/scoring-model",
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/scoring-model"
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/scoring-model")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.leadinfo.com/v1/scoring-model")
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{
"weights": {},
"pillars": [
{
"pillar": "fit",
"source": "<string>",
"weight": 123,
"description": "<string>"
}
],
"engagement": {
"window_days": 123,
"half_life_days": 123,
"tiers": {}
},
"reading_guide": [
"<string>"
],
"icp_profile": {
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"intent_profile": {
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"icp_profiles": [
{
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"intent_profiles": [
{
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}profiles
How the unified company score is computed for this account
The pillars behind score on company rows (fit, intent, persona, activity), their effective weights, the active ICP Builder and Intent Builder profiles (each company gets its best match among them), the engagement model and a short reading guide. Meant for explaining the score to users; per-company reasons live on /trackers/{code}/companies/{id}/score.
GET
/
v1
/
scoring-model
How the unified company score is computed for this account
curl --request GET \
--url https://data.leadinfo.com/v1/scoring-model \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.leadinfo.com/v1/scoring-model"
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/scoring-model', 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/scoring-model",
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/scoring-model"
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/scoring-model")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.leadinfo.com/v1/scoring-model")
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{
"weights": {},
"pillars": [
{
"pillar": "fit",
"source": "<string>",
"weight": 123,
"description": "<string>"
}
],
"engagement": {
"window_days": 123,
"half_life_days": 123,
"tiers": {}
},
"reading_guide": [
"<string>"
],
"icp_profile": {
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"intent_profile": {
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"icp_profiles": [
{
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"intent_profiles": [
{
"id": 123,
"kind": "icp",
"customer_id": 123,
"name": "<string>",
"rules": [
{
"field": "name",
"operator": "equals",
"value": null,
"unit": "hours",
"weight": 10,
"label": "<string>"
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Authorizations
Response
Successful Response
