Discover warm connections
Find the relationships that can turn a target account into a conversation. Connection search ranks reachable people by relationship strength and includes their warmest path.
Required scope: connection:read. Reading saved person lists also needs person:read.
Start with a target company
- cURL
- JavaScript
- Python
curl 'https://api.vieu.com/api/v2/connections/search?targetCompany=vieu.com' \
--header "x-api-key: $VIEU_API_KEY"
const url = new URL('https://api.vieu.com/api/v2/connections/search');
url.searchParams.set('targetCompany', 'vieu.com');
const response = await fetch(url, {
headers: { 'x-api-key': process.env.VIEU_API_KEY },
});
const body = await response.json();
if (!response.ok) throw new Error(JSON.stringify(body));
console.log(body);
import os
import requests
response = requests.get(
"https://api.vieu.com/api/v2/connections/search",
params={"targetCompany": "vieu.com"},
headers={"x-api-key": os.environ["VIEU_API_KEY"]},
timeout=15,
)
response.raise_for_status()
print(response.json())
targetCompany, connectTo, and connectFrom accept familiar references such as names, domains, LinkedIn URLs, and Vieu IDs. References that cannot be resolved return 400; the constraint is not silently removed.
Narrow the search with a saved list
Fetch your tenant’s saved person lists:
- cURL
- JavaScript
- Python
curl 'https://api.vieu.com/api/v2/persons/lists' \
--header "x-api-key: $VIEU_API_KEY"
const response = await fetch('https://api.vieu.com/api/v2/persons/lists', {
headers: { 'x-api-key': process.env.VIEU_API_KEY },
});
const body = await response.json();
if (!response.ok) throw new Error(JSON.stringify(body));
console.log(body);
import os
import requests
response = requests.get(
"https://api.vieu.com/api/v2/persons/lists",
headers={"x-api-key": os.environ["VIEU_API_KEY"]},
timeout=15,
)
response.raise_for_status()
print(response.json())
Use a returned listId as a targetListIds or introducerListIds filter. Repeatable filters use repeated query parameters. Consult the search reference for available filters and combination rules.
Explain before you act
Use the returned connection ID with the connection explanation endpoint to understand the path. Show that context in your workflow before initiating outreach.
Pinning a connection uses POST /connections/track, requires introduction:read-write, and changes tenant state. Its endpoint page includes an inline client; send a live write only when you intend to update your tenant.
Handle empty or ambiguous results
Treat empty results as a normal outcome. When a reference matches multiple people, let the user choose a candidate before proceeding.