sdkProvider-backed

List sales navigator sources

pipeline.listSalesNavigatorSources

List the saved searches, saved lead lists, and saved account lists available to a connected Sales Navigator account. With API-key auth, accountId is optional and defaults to the workspace active LinkedIn account. Use saved search IDs with create-table-from-search, and saved lead-list IDs or URLs with pull-sales-navigator-lead-list. Saved account lists are discovery context only.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
accountId
string
Optional LinkedIn account UUID. Defaults to the active workspace account for API-key callers.

Example

TypeScripttypescript
await pipeline.listSalesNavigatorSources({})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"accountName": {
"type": "string"
},
"searches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"resultCount": {
"type": "number"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"leadLists": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"resultCount": {
"type": "number"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"accountLists": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"resultCount": {
"type": "number"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
}
},
"required": [
"accountId",
"searches",
"leadLists",
"accountLists"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline