List enrichment results
curl --request GET \
--url https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results';
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results")
.header("Authorization", "<api-key>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results",
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: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"jobID": "<string>",
"limit": 123,
"offset": 123,
"results": [
{
"channel": "email",
"completedAt": "<string>",
"error": "<string>",
"externalID": "<string>",
"inputCompany": "<string>",
"inputFirstName": "<string>",
"inputLastName": "<string>",
"inputLinkedinURL": "<string>",
"jobID": "<string>",
"payload": {},
"person": {
"company": "<string>",
"firstName": "<string>",
"jobTitle": "<string>",
"lastName": "<string>",
"location": "<string>"
},
"personID": "<string>",
"status": "succeeded",
"webhookAttempt": {
"delivered": true,
"error": "<string>",
"statusCode": 123
}
}
],
"total": 123
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Enrichment
List enrichment results
Free. Synchronous. Pages through the per-person results of an enrichment job, each with status succeeded, failed or not_found and the echoed input. On succeeded the found value is in payload: payload.email (email jobs), payload.phoneNumber (phone jobs) or payload.linkedinURL (LinkedIn jobs); payload is absent on not_found and failed, and a failed result carries the reason in error. person holds the matched person’s name, job title, company and location when known; for a person we could not match it carries only the name and company you sent, or is absent. total counts the results recorded so far. Requires the job ID and limit (1-500).
GET
/
enrichment
/
jobs
/
{jobID}
/
results
List enrichment results
curl --request GET \
--url https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results';
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results")
.header("Authorization", "<api-key>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results",
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: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/enrichment/jobs/{jobID}/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"jobID": "<string>",
"limit": 123,
"offset": 123,
"results": [
{
"channel": "email",
"completedAt": "<string>",
"error": "<string>",
"externalID": "<string>",
"inputCompany": "<string>",
"inputFirstName": "<string>",
"inputLastName": "<string>",
"inputLinkedinURL": "<string>",
"jobID": "<string>",
"payload": {},
"person": {
"company": "<string>",
"firstName": "<string>",
"jobTitle": "<string>",
"lastName": "<string>",
"location": "<string>"
},
"personID": "<string>",
"status": "succeeded",
"webhookAttempt": {
"delivered": true,
"error": "<string>",
"statusCode": 123
}
}
],
"total": 123
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Authorizations
Query Parameters
Was this page helpful?
