Skip to main content
Connections

Search warm connections

Use Test Request to send this request with your API key.

GET /api/v2/connections/search

Finds people your company can reach at a target company and/or specific people, ranked by relationship strength, each with its warmest path. Entity references (targetCompany, connectTo, connectFrom) accept names, domains, LinkedIn URLs, or Vieu ids and are resolved server-side; a reference that resolves to nothing is a 400 (the constraint is never silently dropped). List filters take ids from GET /persons/lists. The CRM filters (accountOwner, crmCustomer, dealStages, dealSizeMin, dealSizeMax) apply to the target's company as an account in your CRM.

Required scope: connection:read

Query parameters​

NameTypeRequiredDescription
targetCompanyarrayNoCompanies to reach into (name/domain/URL/COMP-id). Repeatable; OR'd.
connectToarrayNoSpecific target people (name/URL/PERS-id). Repeatable; OR'd.
connectFromarrayNoPeople who must be the introducer. Repeatable; OR'd.
introducerTypesarrayNoHow the introducer must relate to your company: Introducer Type ids from the introducerType field of GET /connections/search/metadata (the categories of your company's GTM Neural Center), either a canonical slug (investors, champions, board_of_directors, …) or a custom category's id. Repeatable; OR'd. An id your company does not have is a 404.
titlesarrayNoJob-function keywords (substring match). Repeatable; OR'd.
excludedTitlesarrayNo
senioritystringNo
targetLocationarrayNoWhere the target is based (free text, resolved server-side).
strengthstringNo
requireBuyerPersonabooleanNo
recommendedFiltersbooleanNoApply the tenant's configured default filters (default true), the same defaults the Vieu app's Connections page uses. Set false to bypass them and see every reachable connection.
pathLengthsarrayNo1 = insider, 2 = direct, 3 = indirect. Repeatable; OR'd.
targetListIdsarrayNoRestrict the target to these person-list ids (from GET /persons/lists).
excludeTargetListIdsarrayNo
introducerListIdsarrayNoRestrict the introducer to these person-list ids.
excludeIntroducerListIdsarrayNo
tagsarrayNo
excludeTagsarrayNo
accountOwnerarrayNoOnly targets at accounts one of these teammates owns in the CRM, each an email (or a name; a name matching several teammates filters on all of them, flagged in notes). Repeatable; OR'd. An owner that matches no teammate is a 400. Needs the CRM account sync; without it, notes says the filter can match nothing.
crmCustomerstringNoBy the CRM's Customer Rule: customers = accounts it flags as customers, prospects = every other account. Needs a Customer Rule in your CRM settings.
dealStagesarrayNoDeal stages (opportunity stages in Salesforce), exactly as your CRM names them. Repeat the parameter for several (OR'd); a comma stays part of the stage name.
dealSizeMinnumberNoSmallest deal (opportunity) size, in whole dollars.
dealSizeMaxnumberNoLargest deal (opportunity) size, in whole dollars.
limitintegerNo

Responses​

200​

Ranked reachable targets and their warmest paths.


{
"type": "object",
"properties": {
"connections": {
"type": "array",
"items": {
"type": "object",
"description": "One reachable target and its warmest path.",
"properties": {
"personId": {
"type": "string",
"description": "Vieu person id of the target.",
"example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
},
"name": {
"type": "string",
"example": "Jane Doe"
},
"title": {
"type": "string",
"example": "VP of Engineering"
},
"targetLinkedInUrl": {
"type": [
"string",
"null"
],
"description": "LinkedIn profile of the target; `null` when none is on file.",
"example": "https://www.linkedin.com/in/janedoe"
},
"companyName": {
"type": "string",
"description": "Name of the company the target works at.",
"example": "Acme Corp"
},
"companyId": {
"type": [
"string",
"null"
],
"description": "Vieu company id of the target's company.",
"example": "COMP-<UUID>"
},
"companyLinkedInUrl": {
"type": [
"string",
"null"
],
"description": "LinkedIn page of the target's company; `null` when none is on file.",
"example": "https://www.linkedin.com/company/acme-corp"
},
"company": {
"type": "string",
"deprecated": true,
"description": "**Deprecated — use `companyName`.**\n",
"example": "Acme Corp"
},
"location": {
"type": "string",
"description": "Where the target is based, as stored on the person record. Empty when unknown.",
"example": "San Francisco Bay Area"
},
"relationshipStrength": {
"type": "string"
},
"buyerFit": {
"type": "string"
},
"connectionId": {
"type": [
"string",
"null"
],
"description": "Id of the warmest path to this target. Pass to\n`GET /connections/explanation`.\n"
},
"pathSummary": {
"type": "string"
},
"pathCount": {
"type": "integer"
},
"guardian": {
"type": "object",
"description": "The Vieu user accountable for the introducer's relationship (the\nintroducer's \"guardian\"). Ask them before reaching out to the\nintroducer. The field is omitted when the introducer has no guardian.\n",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string",
"description": "Display name, falling back to email if no name is set.",
"example": "Jordan Lee"
},
"email": {
"type": "string",
"example": "jordan@yourco.com"
}
}
}
}
}
},
"totalFound": {
"type": "integer"
},
"companyScopeTruncated": {
"type": "boolean",
"description": "`true` when the company filters (e.g. location, industry, size)\nmatched more companies than the search can cover, so connections\nat some matching companies are missing and `totalFound` is a\nlower bound. Narrow the company filters for complete results.\n"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
}
}

400​

The request is malformed or failed validation.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

401​

Missing or invalid API key.


{
"type": "object",
"description": "Returned on 401 responses. `reason` is a stable machine-readable code\nthat clients can branch on without parsing `message`.\n",
"required": [
"message",
"reason"
],
"properties": {
"message": {
"type": "string",
"example": "Invalid Auth Token Provided"
},
"reason": {
"type": "string",
"description": "- `TOKEN_MISSING`: no `x-api-key` header on the request.\n- `TOKEN_EXPIRED`: the key was found but has expired or been revoked (also used when the key is unknown).\n- `ACCESS_DENIED`: the token is present but not accepted for the resource.\n- `AUTH_INVALID`: generic auth failure, usually an internal error resolving the key.\n",
"enum": [
"TOKEN_MISSING",
"TOKEN_EXPIRED",
"ACCESS_DENIED",
"AUTH_INVALID"
],
"example": "TOKEN_EXPIRED"
}
}
}

403​

API key lacks the scope required to call this endpoint.


{
"type": "object",
"description": "Returned on 403 responses. The key was valid but does not have the\nscope required by the endpoint.\n",
"required": [
"code",
"message",
"reason"
],
"properties": {
"code": {
"type": "string",
"enum": [
"ERR_FORBIDDEN"
]
},
"message": {
"type": "string",
"example": "Insufficient permissions for this operation"
},
"reason": {
"type": "string",
"description": "- `SCOPE_INSUFFICIENT`: the authenticated key's scopes do not include the one required by this endpoint.\n- `FORBIDDEN`: generic 403 (rarely used on v2 routes; reserved for non-scope access checks).\n",
"enum": [
"SCOPE_INSUFFICIENT",
"FORBIDDEN"
],
"example": "SCOPE_INSUFFICIENT"
}
}
}

404​

An introducerTypes id is not one of your company's Introducer Types.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

429​

API key rate limit exceeded.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

500​

Unexpected server error.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}