Suggest company followers filters (v2)
curl --request POST \
--url https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "heads of sales at UK fintechs with 50 to 500 staff"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
fetch('https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
fetch('https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft';
const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
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/v2/company-followers/filters/draft"
payload = { "description": "heads of sales at UK fintechs with 50 to 500 staff" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft"
payload := strings.NewReader("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'description' => 'heads of sales at UK fintechs with 50 to 500 staff'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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/v2/company-followers/filters/draft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}"
response = http.request(request)
puts response.read_body{
"assumptions": [
"<string>"
],
"icpFilters": [
{
"type": "<string>",
"values": [
{
"exclude": true,
"id": "<string>",
"text": "<string>"
}
]
}
],
"name": "Heads of Sales at UK Fintechs"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Company followers v2
Suggest company followers filters (v2)
Free. Synchronous. Turns a plain-English audience description into icpFilters for a v2 search. Nothing is saved or charged. assumptions lists how the description was mapped and what had no LinkedIn filter. Requires description.
POST
/
v2
/
company-followers
/
filters
/
draft
Suggest company followers filters (v2)
curl --request POST \
--url https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "heads of sales at UK fintechs with 50 to 500 staff"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
fetch('https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
fetch('https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft';
const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'heads of sales at UK fintechs with 50 to 500 staff'})
};
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/v2/company-followers/filters/draft"
payload = { "description": "heads of sales at UK fintechs with 50 to 500 staff" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft"
payload := strings.NewReader("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/v2/company-followers/filters/draft",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'description' => 'heads of sales at UK fintechs with 50 to 500 staff'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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/v2/company-followers/filters/draft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"heads of sales at UK fintechs with 50 to 500 staff\"\n}"
response = http.request(request)
puts response.read_body{
"assumptions": [
"<string>"
],
"icpFilters": [
{
"type": "<string>",
"values": [
{
"exclude": true,
"id": "<string>",
"text": "<string>"
}
]
}
],
"name": "Heads of Sales at UK Fintechs"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Authorizations
Body
application/json
Audience description
Was this page helpful?
