List Enrichment Providers
curl --request GET \
--url https://api.lemlist.com/api/v2/enrichments/providers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/v2/enrichments/providers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/v2/enrichments/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/v2/enrichments/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/v2/enrichments/providers",
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: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"id": "prospeo",
"displayName": "Prospeo",
"types": [
"email",
"phone"
],
"source": "internal"
},
{
"id": "findymail",
"displayName": "Findymail",
"types": [
"email"
],
"source": "internal"
},
{
"id": "lusha",
"displayName": "Lusha",
"types": [
"email",
"phone"
],
"source": "external",
"connected": true
},
{
"id": "apollo",
"displayName": "Apollo",
"types": [
"email"
],
"source": "external",
"connected": false
}
]
}{
"error": "Parameter \"type\" must be \"email\" or \"phone\"",
"code": "ENRICHMENT_WATERFALL_INVALID_TYPE"
}{
"error": "Route unauthorized",
"code": "ROUTE_UNAUTHORIZED"
}{
"error": "Internal error",
"code": "INTERNAL_ERROR"
}Enrichment Providers
List Enrichment Providers
Lists the enrichment providers your team can place in a waterfall, for one enrichment type.
GET
/
v2
/
enrichments
/
providers
List Enrichment Providers
curl --request GET \
--url https://api.lemlist.com/api/v2/enrichments/providers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/v2/enrichments/providers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/v2/enrichments/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/v2/enrichments/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/v2/enrichments/providers",
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: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"id": "prospeo",
"displayName": "Prospeo",
"types": [
"email",
"phone"
],
"source": "internal"
},
{
"id": "findymail",
"displayName": "Findymail",
"types": [
"email"
],
"source": "internal"
},
{
"id": "lusha",
"displayName": "Lusha",
"types": [
"email",
"phone"
],
"source": "external",
"connected": true
},
{
"id": "apollo",
"displayName": "Apollo",
"types": [
"email"
],
"source": "external",
"connected": false
}
]
}{
"error": "Parameter \"type\" must be \"email\" or \"phone\"",
"code": "ENRICHMENT_WATERFALL_INVALID_TYPE"
}{
"error": "Route unauthorized",
"code": "ROUTE_UNAUTHORIZED"
}{
"error": "Internal error",
"code": "INTERNAL_ERROR"
}This is the catalog of legal
providers[].id values for the waterfall endpoints: read it before updating a waterfall.
An external provider shows connected: false until its API key is saved with Connect Provider; a waterfall cannot enable a provider that is not connected.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
Enrichment type of the providers to list. Kind of data the waterfall looks for.
Available options:
email, phone Response
Success
Providers available for the requested type, in the lemlist default order
Show child attributes
Show child attributes
Was this page helpful?